Modèle:FiltreModule : Différence entre versions
[version non vérifiée] | [version vérifiée] |
(24 révisions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
{{#switch:{{{Type|}}} | {{#switch:{{{Type|}}} | ||
+ | |Text= | ||
+ | {{FiltreÉlément | ||
+ | |Élément=input | ||
+ | |id={{{id}}} | ||
+ | |type=text | ||
+ | |placeholder={{{placeholder|}}} | ||
+ | |Nom={{{Nom|}}} | ||
+ | }} | ||
|Range= | |Range= | ||
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=button | |Élément=button | ||
− | |id={{{id | + | |id={{{id}}}-range |
− | |Nom= | + | |Nom={{{Nom|}}} |
}} | }} | ||
− | <div id="{{{id|{{{Nom|}}}}}}-range" class="container tabber-noactive dropdown-menu" style="position: absolute; z-index: 10; top: 100%; left: 0; min-width: max-content; width: 170px; padding: 5px 0; margin: 0; list-style: none; background-color: #fff; border: 1px solid #ccc; border-radius: 5px; flex-direction: column; gap: 5px; max-height: 180px; overflow-y: auto;"> | + | <div id="{{{id|{{{Nom|}}}}}}-range" class="container tabber-noactive dropdown-menu" style="position: absolute; z-index: 10; top: 100%; left: 0; min-width: max-content; width: 170px; padding: 5px 0; margin: 0; list-style: none; background-color: #fff; border: 1px solid #ccc; border-radius: 5px; flex-direction: column; gap: 5px; max-height: 180px; overflow-y: auto;" {{#if:{{{param|}}}|data-param="{{{param}}}"}}> |
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=number | |Élément=number | ||
− | |id={{{id | + | |id={{{id}}}-min |
|Nom={{ucfirst:{{{Nom|}}}}} min. | |Nom={{ucfirst:{{{Nom|}}}}} min. | ||
+ | |min={{{min|}}} | ||
|max={{{max|}}} | |max={{{max|}}} | ||
}} | }} | ||
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=number | |Élément=number | ||
− | |id={{{id | + | |id={{{id}}}-max |
|Nom={{ucfirst:{{{Nom|}}}}} max. | |Nom={{ucfirst:{{{Nom|}}}}} max. | ||
|value={{{max|}}} | |value={{{max|}}} | ||
+ | |min={{{min|}}} | ||
|max={{{max|}}} | |max={{{max|}}} | ||
}} | }} | ||
</div> | </div> | ||
+ | <div class="tabber-noactive" style="position: absolute; top: -10px; right: 0; border: 2px green solid; border-radius: 100%; padding: 0 6px; justify-content: center; font-weight: bold; color: green; background: lightgreen;">0</div> | ||
|Checkbox= | |Checkbox= | ||
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=button | |Élément=button | ||
− | |id={{{id | + | |id={{{id}}} |
− | |Nom= | + | |Nom={{{Nom|}}} |
}} | }} | ||
− | <div id="{{{id | + | <div id="{{{id}}}" class="container tabber-noactive dropdown-menu" style="position: absolute; z-index: 10; top: 100%; left: 0; min-width: max-content; width: 170px; padding: 5px 0; margin: 0; list-style: none; background-color: #fff; border: 1px solid #ccc; border-radius: 5px; flex-direction: column; gap: 5px; max-height: 180px; overflow-y: auto;" {{#if:{{{param|}}}|data-param="{{{param}}}"}}> |
{{#if:{{{Checkbox1|}}}| | {{#if:{{{Checkbox1|}}}| | ||
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=checkbox | |Élément=checkbox | ||
− | | | + | |id={{{id}}}-{{lcfirst:{{{id1|{{{Checkbox1}}}}}}}} |
− | + | |Nom={{{Checkbox1}}} | |
− | |Nom= | ||
}} | }} | ||
+ | }} {{#if:{{{Checkbox2|}}}| | ||
+ | {{FiltreÉlément | ||
+ | |Élément=checkbox | ||
+ | |id={{{id}}}-{{lcfirst:{{{id2|{{{Checkbox2}}}}}}}} | ||
+ | |Nom={{{Checkbox2}}} | ||
}} | }} | ||
− | {{#if:{{{ | + | }} {{#if:{{{Checkbox3|}}}| |
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=checkbox | |Élément=checkbox | ||
− | | | + | |id={{{id}}}-{{lcfirst:{{{id3|{{{Checkbox3}}}}}}}} |
− | + | |Nom={{{Checkbox3}}} | |
− | |Nom= | ||
}} | }} | ||
+ | }} {{#if:{{{Checkbox4|}}}| | ||
+ | {{FiltreÉlément | ||
+ | |Élément=checkbox | ||
+ | |id={{{id}}}-{{lcfirst:{{{id4|{{{Checkbox4}}}}}}}} | ||
+ | |Nom={{{Checkbox4}}} | ||
}} | }} | ||
− | {{#if:{{{ | + | }} {{#if:{{{Checkbox5|}}}| |
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=checkbox | |Élément=checkbox | ||
− | | | + | |id={{{id}}}-{{lcfirst:{{{id5|{{{Checkbox5}}}}}}}} |
− | + | |Nom={{{Checkbox5}}} | |
− | |Nom= | ||
}} | }} | ||
+ | }} {{#if:{{{Checkbox6|}}}| | ||
+ | {{FiltreÉlément | ||
+ | |Élément=checkbox | ||
+ | |id={{{id}}}-{{lcfirst:{{{id6|{{{Checkbox6}}}}}}}} | ||
+ | |Nom={{{Checkbox6}}} | ||
}} | }} | ||
− | {{#if:{{{ | + | }} {{#if:{{{Checkbox7|}}}| |
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=checkbox | |Élément=checkbox | ||
− | | | + | |id={{{id}}}-{{lcfirst:{{{id7|{{{Checkbox7}}}}}}}} |
− | + | |Nom={{{Checkbox7}}} | |
− | |Nom= | ||
}} | }} | ||
+ | }} {{#if:{{{Checkbox8|}}}| | ||
+ | {{FiltreÉlément | ||
+ | |Élément=checkbox | ||
+ | |id={{{id}}}-{{lcfirst:{{{id8|{{{Checkbox8}}}}}}}} | ||
+ | |Nom={{{Checkbox8}}} | ||
}} | }} | ||
− | {{#if:{{{ | + | }} {{#if:{{{Checkbox9|}}}| |
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=checkbox | |Élément=checkbox | ||
− | | | + | |id={{{id}}}-{{lcfirst:{{{id9|{{{Checkbox9}}}}}}}} |
− | + | |Nom={{{Checkbox9}}} | |
− | |Nom= | ||
}} | }} | ||
− | }} | + | }} {{#if:{{{Checkbox10|}}}| |
− | {{#if:{{{ | ||
{{FiltreÉlément | {{FiltreÉlément | ||
|Élément=checkbox | |Élément=checkbox | ||
− | | | + | |id={{{id}}}-{{lcfirst:{{{id10|{{{Checkbox10}}}}}}}} |
− | + | |Nom={{{Checkbox10}}} | |
− | |Nom= | ||
}} | }} | ||
}} | }} | ||
+ | </div> | ||
+ | <div class="tabber-noactive" style="position: absolute; top: -10px; right: 0; border: 2px green solid; border-radius: 100%; padding: 0 6px; justify-content: center; font-weight: bold; color: green; background: lightgreen;">0</div> | ||
}} | }} | ||
<noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> | <noinclude>[[Catégorie:Nouveaux modèles]]</noinclude> |