|
|
(13 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=
| |
− | {{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|}}}}} | + | {{Input|id={{{id}}}-{{{value}}}|name={{{id}}}{{ucfirst:{{{value}}}}}|type=checkbox|size=20px|data=filter+{{{id}}}|data2=value+{{{value}}}|labelStyle=padding-left: 0; white-space: nowrap;|text={{{text|}}}|textAfter={{{textAfter|}}}}} |
− | |checkbox2=
| |
− | {{Input|id={{{id|}}}|type=checkbox|data=filter+{{#explode:{{{id|}}}|-|1|2}}|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;|textAfter={{{Nom|}}}}} | |
− | |input=
| |
− | {{Input|id={{{id|}}}|type={{{type|}}}|labelStyle=display: block;|text={{{Nom|}}}|placeholder={{{placeholder|}}}}}
| |
| }} | | }} |
| <noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> | | <noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> |