Modèle:FiltreModule : Différence entre versions
[version vérifiée] | [version vérifiée] |
(7 révisions intermédiaires par 2 utilisateurs non affichées) | |||
Ligne 5 : | Ligne 5 : | ||
|id={{{id}}} | |id={{{id}}} | ||
|type=text | |type=text | ||
+ | |placeholder={{{placeholder|}}} | ||
|Nom={{{Nom|}}} | |Nom={{{Nom|}}} | ||
}} | }} | ||
Ligne 13 : | Ligne 14 : | ||
|Nom={{{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}}}-min | |id={{{id}}}-min | ||
|Nom={{ucfirst:{{{Nom|}}}}} min. | |Nom={{ucfirst:{{{Nom|}}}}} min. | ||
+ | |min={{{min|}}} | ||
|max={{{max|}}} | |max={{{max|}}} | ||
}} | }} | ||
Ligne 25 : | Ligne 27 : | ||
|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; | + | <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 | ||
Ligne 35 : | Ligne 38 : | ||
|Nom={{{Nom|}}} | |Nom={{{Nom|}}} | ||
}} | }} | ||
− | <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; | + | <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 | ||
Ligne 89 : | Ligne 92 : | ||
|id={{{id}}}-{{lcfirst:{{{id9|{{{Checkbox9}}}}}}}} | |id={{{id}}}-{{lcfirst:{{{id9|{{{Checkbox9}}}}}}}} | ||
|Nom={{{Checkbox9}}} | |Nom={{{Checkbox9}}} | ||
+ | }} | ||
+ | }} {{#if:{{{Checkbox10|}}}| | ||
+ | {{FiltreÉlément | ||
+ | |Élément=checkbox | ||
+ | |id={{{id}}}-{{lcfirst:{{{id10|{{{Checkbox10}}}}}}}} | ||
+ | |Nom={{{Checkbox10}}} | ||
}} | }} | ||
}} | }} | ||
</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; | + | <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> |