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}}}-{{{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= |