Modèle:FiltreModule : Différence entre versions

[version non vérifiée][version non vérifiée]
Ligne 25 : Ligne 25 :
 
{{FiltreÉlément
 
{{FiltreÉlément
 
|Élément=button
 
|Élément=button
|id={{{id|{{{Nom|}}}}}}-range
+
|id={{{id|{{{Nom|}}}}}}
 
|Nom=Filtrer par {{{Nom|}}}
 
|Nom=Filtrer par {{{Nom|}}}
 
}}
 
}}
 
<div id="{{{id|{{{Nom|}}}}}}" 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;">
 
<div id="{{{id|{{{Nom|}}}}}}" 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;">
 
{{#if:{{{Checkbox1|}}}|
 
{{#if:{{{Checkbox1|}}}|
<div data-element="label-input" data-id="{{{id1|{{{Checkbox1}}}}}}" 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;">{{ucfirst:{{{Checkbox1}}}}}</div>
+
{{FiltreÉlément
 +
|Élément=checkbox
 +
|id={{{id1|{{{Checkbox1}}}}}}
 +
|Nom={{ucfirst:{{{Checkbox1}}}}}
 +
}}
 
}}
 
}}
 
{{#if:{{{Checkbox2|}}}|
 
{{#if:{{{Checkbox2|}}}|
<div data-element="label-input" data-id="{{{id2|{{{Checkbox2}}}}}}" 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;">{{ucfirst:{{{Checkbox2}}}}}</div>
+
{{FiltreÉlément
 +
|Élément=checkbox
 +
|id={{{id2|{{{Checkbox2}}}}}}
 +
|Nom={{ucfirst:{{{Checkbox2}}}}}
 +
}}
 
}}
 
}}
 
{{#if:{{{Checkbox3|}}}|
 
{{#if:{{{Checkbox3|}}}|
<div data-element="label-input" data-id="{{{id3|{{{Checkbox3}}}}}}" 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;">{{ucfirst:{{{Checkbox3}}}}}</div>
+
{{FiltreÉlément
 +
|Élément=checkbox
 +
|id={{{id3|{{{Checkbox3}}}}}}
 +
|Nom={{ucfirst:{{{Checkbox3}}}}}
 +
}}
 
}}
 
}}
 
{{#if:{{{Checkbox4|}}}|
 
{{#if:{{{Checkbox4|}}}|
<div data-element="label-input" data-id="{{{id4|{{{Checkbox4}}}}}}" 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;">{{ucfirst:{{{Checkbox4}}}}}</div>
+
{{FiltreÉlément
 +
|Élément=checkbox
 +
|id={{{id4|{{{Checkbox4}}}}}}
 +
|Nom={{ucfirst:{{{Checkbox4}}}}}
 +
}}
 
}}
 
}}
 
{{#if:{{{Checkbox5|}}}|
 
{{#if:{{{Checkbox5|}}}|
<div data-element="label-input" data-id="{{{id5|{{{Checkbox5}}}}}}" 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;">{{ucfirst:{{{Checkbox5}}}}}</div>
+
{{FiltreÉlément
 +
|Élément=checkbox
 +
|id={{{id5|{{{Checkbox5}}}}}}
 +
|Nom={{ucfirst:{{{Checkbox5}}}}}
 +
}}
 
}}
 
}}
 
{{#if:{{{Checkbox6|}}}|
 
{{#if:{{{Checkbox6|}}}|
<div data-element="label-input" data-id="{{{id6|{{{Checkbox6}}}}}}" 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;">{{ucfirst:{{{Checkbox6}}}}}</div>
+
{{FiltreÉlément
 +
|Élément=checkbox
 +
|id={{{id6|{{{Checkbox6}}}}}}
 +
|Nom={{ucfirst:{{{Checkbox6}}}}}
 +
}}
 
}}
 
}}
 
}}
 
}}

Version du 8 mars 2023 à 20:48