|
|
(45 révisions intermédiaires par 2 utilisateurs non affichées) |
Ligne 1 : |
Ligne 1 : |
| {{#switch: {{{Élément|}}} | | {{#switch: {{{Élément|}}} |
− | |button=
| |
− | {{Button|text={{{Nom|}}}|type=button|aria-controls={{{id|}}}|aria-haspopup=true|aria-expanded=false|style=padding: 10px 20px; background-color: #fff; border: 1px solid #ccc; border-radius: 5px; font-size: 16px; cursor: pointer; user-select: none; display: inline-block;}}
| |
− | |number=
| |
− | <div data-element="label-input" data-id="{{{id|}}}" data-type="number" data-min="{{{min|0}}}" data-max="{{{max|100}}}" data-value="{{{value|0}}}" data-style="display: inline-block; vertical-align: middle; margin-right: 10px; width: 40px; height: 20px; border: 1px solid #ccc; border-radius: 3px; appearance: none;">{{{Nom|}}}</div>
| |
| |checkbox= | | |checkbox= |
− | <div data-element="label-input" data-id="{{{id|}}}" data-data-filter="{{{filter|}}}" data-type="checkbox" data-style="display: inline-block; vertical-align: middle; margin-right: 10px; width: 20px; height: 20px; border: 1px solid #ccc; border-radius: 3px; margin-left: 0;">{{{Nom|}}}</div>
| + | {{Input|id={{{id}}}-{{{value}}}|name={{{id}}}{{ucfirst:{{{value}}}}}|type=checkbox|size=20px|data=filter+{{{id}}}|data2=value+{{{value}}}|labelStyle=padding: 5px; white-space: nowrap; cursor: pointer;|text={{{text|}}}|textAfter={{{textAfter|}}}}} |
| }} | | }} |
| <noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> | | <noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> |