Modèle:FiltreÉlément : Différence entre versions

[version vérifiée][version vérifiée]
Ligne 5 : Ligne 5 :
 
{{Input|id={{{id|}}}|type=number|min={{{min|0}}}|max={{{max|100}}}|value={{{value|{{{min|0}}}}}}|style=display: inline-block; vertical-align: middle; margin-right: 10px; width: 40px; height: 20px; border: 1px solid #ccc; border-radius: 3px; appearance: none;|labelStyle=display: block;|textAfter={{{Nom|}}}}}
 
{{Input|id={{{id|}}}|type=number|min={{{min|0}}}|max={{{max|100}}}|value={{{value|{{{min|0}}}}}}|style=display: inline-block; vertical-align: middle; margin-right: 10px; width: 40px; height: 20px; border: 1px solid #ccc; border-radius: 3px; appearance: none;|labelStyle=display: block;|textAfter={{{Nom|}}}}}
 
|checkbox=
 
|checkbox=
{{Input|id={{{id|}}}|type=checkbox|data=filter+{{#explode:{{{id|}}}|-|1|2}}|style=display: inline-block; vertical-align: middle; margin-right: 10px; width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 3px; margin-left: 0;|labelStyle=display: block;|textAfter={{{Nom|}}}}}
 
|checkbox2=
 
 
{{Input|id={{{id}}}-{{{value}}}|name={{{id}}}{{ucfirst:{{{value}}}}}|type=checkbox|data=filter+{{{id}}}|data2=value+{{{value}}}|style=display: inline-block; vertical-align: middle; flex-shrink: 0; margin: 0 5px 0 0; width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 3px;|labelStyle=flex-direction: row; align-items: center; padding-left: 0; white-space: nowrap; gap: 5px;|text={{{text|}}}|textAfter={{{textAfter|}}}}}
 
{{Input|id={{{id}}}-{{{value}}}|name={{{id}}}{{ucfirst:{{{value}}}}}|type=checkbox|data=filter+{{{id}}}|data2=value+{{{value}}}|style=display: inline-block; vertical-align: middle; flex-shrink: 0; margin: 0 5px 0 0; width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 3px;|labelStyle=flex-direction: row; align-items: center; padding-left: 0; white-space: nowrap; gap: 5px;|text={{{text|}}}|textAfter={{{textAfter|}}}}}
 
|input=
 
|input=

Version du 21 décembre 2024 à 00:04