Vous pouvez contribuer simplement à Wikibéral. Pour cela, demandez un compte à adminwiki@liberaux.org. N'hésitez pas !
Différences entre les versions de « Modèle:Méta palette de navigation »
Aller à la navigation
Aller à la recherche
(Page créée avec « <!-- Chers contributeurs, ce méta-modèle est la source de plusieurs autres modèles qui l'incluent. À moins d'être bien sûr de ce que vous faites, vous ne devriez pa… ») |
|||
Ligne 1 : | Ligne 1 : | ||
<!-- | <!-- | ||
Chers contributeurs, ce | Chers contributeurs, ce Méta-Modèle est la source de plusieurs autres modèles qui l'inclut. À moins d'être bien sûr de ce que vous faites, vous ne devriez pas avoir à modifier ce Méta. En cas de doute, veuillez demander à l'administration de vous aiguiller. | ||
--><includeonly> | --><includeonly>{{#switch:{{{bordure|{{{1|}}}}}}|sous-groupe|fille=</div>|none=|#default=}}<!-- | ||
--><table class="navbox collapsible noprint {{#if:{{{étatboîte|}}}|{{{étatboîte}}}|autocollapse}}" style="margin:auto; {{#if:{{{style|}}}|{{{style|}}};}} {{{stylecorps|}}}"> | |||
--><table class="navbox collapsible noprint {{#if:{{{étatboîte|}}}|{{{étatboîte}}}|autocollapse}} | |||
<tr><!-- | <tr><!-- | ||
---------------------------------------- Barre Titre ----------------------------------------- | ---------------------------------------- Barre Titre ----------------------------------------- | ||
--><th | --><th colspan="{{#if:{{{image|}}}|3|2}}" style="text-align:center;{{#if:{{{styletitre|}}}|{{{styletitre|}}};}}"><div style="float:left; width:6em; text-align:left">{{Tnavbar|{{{modèle<noinclude>|Méta palette de navigation</noinclude>}}}|mini=1}}</div><span style="font-size:110%">{{{titre}}}</span>{{#if:{{{sous-titre|}}}|{{Clr}}<small>{{{sous-titre}}}</small>}}</th> | ||
</tr> <!-- | </tr> <!-- | ||
----------------------- Dessus (groupes optionnels du dessus) ----------------------- | ----------------------- Dessus (groupes optionnels du dessus) ----------------------- | ||
-->{{#if:{{{dessus|}}} |<tr> | -->{{#if:{{{dessus|}}} |<tr> | ||
<td | <td style="{{{styledessus|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{dessus|}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
----------------------------------------- Groupes ---------------------------------------- | ----------------------------------------- Groupes ---------------------------------------- | ||
-->{{#if:{{{liste1|}}} |<tr> | -->{{#if:{{{liste1|}}} |<tr> | ||
{{#if:{{{groupe1|}}} |< | {{#if:{{{groupe1|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe1}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe1|}}}|1|2}}">{{{liste1}}}</td> | ||
{{#if:{{{image|}}}|<td | {{#if:{{{image|}}}|<td rowspan="{{#expr: {{#if:{{{liste1|}}}|1|0}} +{{#if:{{{liste2|}}}|1|0}} +{{#if:{{{liste3|}}}|1|0}} +{{#if:{{{liste4|}}}|1|0}} +{{#if:{{{liste5|}}}|1|0}} +{{#if:{{{liste6|}}}|1|0}} +{{#if:{{{liste7|}}}|1|0}} +{{#if:{{{liste8|}}}|1|0}} +{{#if:{{{liste9|}}}|1|0}} +{{#if:{{{liste10|}}}|1|0}} +{{#if:{{{liste11|}}}|1|0}} +{{#if:{{{liste12|}}}|1|0}} +{{#if:{{{liste13|}}}|1|0}} +{{#if:{{{liste14|}}}|1|0}} +{{#if:{{{liste15|}}}|1|0}} +{{#if:{{{liste16|}}}|1|0}} +{{#if:{{{liste17|}}}|1|0}} +{{#if:{{{liste18|}}}|1|0}} +{{#if:{{{liste19|}}}|1|0}} +{{#if:{{{liste20|}}}|1|0}}}}" style="{{#if:{{{styleimage|}}} |{{{styleimage|}}} |vertical-align:middle;padding-left:7px}}">{{{image}}}</td>}} | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste2|}}} |<tr> | -->{{#if:{{{liste2|}}} |<tr> | ||
{{#if:{{{groupe2|}}} |< | {{#if:{{{groupe2|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe2}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe2|}}}|1|2}}">{{{liste2}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste3|}}} |<tr> | -->{{#if:{{{liste3|}}} |<tr> | ||
{{#if:{{{groupe3|}}} |< | {{#if:{{{groupe3|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe3}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe3|}}}|1|2}}">{{{liste3}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste4|}}} |<tr> | -->{{#if:{{{liste4|}}} |<tr> | ||
{{#if:{{{groupe4|}}} |< | {{#if:{{{groupe4|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe4}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe4|}}}|1|2}}">{{{liste4}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste5|}}} |<tr> | -->{{#if:{{{liste5|}}} |<tr> | ||
{{#if:{{{groupe5|}}} |< | {{#if:{{{groupe5|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe5}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe5|}}}|1|2}}">{{{liste5}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste6|}}} |<tr> | -->{{#if:{{{liste6|}}} |<tr> | ||
{{#if:{{{groupe6|}}} |< | {{#if:{{{groupe6|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe6}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe6|}}}|1|2}}">{{{liste6}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste7|}}} |<tr> | -->{{#if:{{{liste7|}}} |<tr> | ||
{{#if:{{{groupe7|}}} |< | {{#if:{{{groupe7|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe7}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe7|}}}|1|2}}">{{{liste7}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste8|}}} |<tr> | -->{{#if:{{{liste8|}}} |<tr> | ||
{{#if:{{{groupe8|}}} |< | {{#if:{{{groupe8|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe8}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe8|}}}|1|2}}">{{{liste8}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste9|}}} |<tr> | -->{{#if:{{{liste9|}}} |<tr> | ||
{{#if:{{{groupe9|}}} |< | {{#if:{{{groupe9|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe9}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe9|}}}|1|2}}">{{{liste9}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste10|}}} |<tr> | -->{{#if:{{{liste10|}}} |<tr> | ||
{{#if:{{{groupe10|}}} |< | {{#if:{{{groupe10|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe10}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe10|}}}|1|2}}">{{{liste10}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste11|}}} |<tr> | -->{{#if:{{{liste11|}}} |<tr> | ||
{{#if:{{{groupe11|}}} |< | {{#if:{{{groupe11|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe11}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe11|}}}|1|2}}">{{{liste11}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste12|}}} |<tr> | -->{{#if:{{{liste12|}}} |<tr> | ||
{{#if:{{{groupe12|}}} |< | {{#if:{{{groupe12|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe12}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe12|}}}|1|2}}">{{{liste12}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste13|}}} |<tr> | -->{{#if:{{{liste13|}}} |<tr> | ||
{{#if:{{{groupe13|}}} |< | {{#if:{{{groupe13|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe13}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe13|}}}|1|2}}">{{{liste13}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste14|}}} |<tr> | -->{{#if:{{{liste14|}}} |<tr> | ||
{{#if:{{{groupe14|}}} |< | {{#if:{{{groupe14|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe14}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe14|}}}|1|2}}">{{{liste14}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste15|}}} |<tr> | -->{{#if:{{{liste15|}}} |<tr> | ||
{{#if:{{{groupe15|}}} |< | {{#if:{{{groupe15|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe15}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe15|}}}|1|2}}">{{{liste15}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste16|}}} |<tr> | -->{{#if:{{{liste16|}}} |<tr> | ||
{{#if:{{{groupe16|}}} |< | {{#if:{{{groupe16|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe16}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe16|}}}|1|2}}">{{{liste16}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste17|}}} |<tr> | -->{{#if:{{{liste17|}}} |<tr> | ||
{{#if:{{{groupe17|}}} |< | {{#if:{{{groupe17|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe17}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe17|}}}|1|2}}">{{{liste17}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste18|}}} |<tr> | -->{{#if:{{{liste18|}}} |<tr> | ||
{{#if:{{{groupe18|}}} |< | {{#if:{{{groupe18|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe18}}}</td>}} | ||
<td class=" | <td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe18|}}}|1|2}}">{{{liste18}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste19|}}} |<tr> | -->{{#if:{{{liste19|}}} |<tr> | ||
{{#if:{{{groupe19|}}} |< | {{#if:{{{groupe19|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe19}}}</td>}} | ||
<td class=" | <td class="list" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{styleimpair|}}}" colspan="{{#if:{{{groupe19|}}}|1|2}}">{{{liste19}}}</td> | ||
</tr>}} <!-- | </tr>}} <!-- | ||
-->{{#if:{{{liste20|}}} |<tr> | -->{{#if:{{{liste20|}}} |<tr> | ||
{{#if:{{{groupe20|}}} |< | {{#if:{{{groupe20|}}} |<td class="group" style="{{{stylegroupe|}}}">{{{groupe20}}}</td>}} | ||
<td class="list even" style="{{#if:{{{styleliste|}}}|{{{styleliste|}}};}} {{{stylepair|}}}" colspan="{{#if:{{{groupe20|}}}|1|2}}">{{{liste20}}}</td> | |||
<td class=" | |||
</tr>}} <!-- | </tr>}} <!-- | ||
----------------------- Dessous (groupes optionnels du dessous)----------------------- | ----------------------- Dessous (groupes optionnels du dessous)----------------------- | ||
-->{{#if:{{{dessous|}}} |<tr> | -->{{#if:{{{dessous|}}} |<tr> | ||
<td class=" | <td class="below" style="{{{styledessous|}}}" colspan="{{#if:{{{image|}}}|3|2}}">{{{dessous|}}}</td></tr>}}</table>{{#switch:{{{bordure|{{{1|}}}}}}|sous-groupe|fille=<div>|none=|#default=}}{{#ifeq:{{{nocat|}}}|oui||{{#ifeq:{{NAMESPACE}}|{{ns:10}}|{{#ifeq:{{{modèle|}}}|{{PAGENAME}}||[[Catégorie:Palette avec paramètre modèle mal renseigné]]}}}}}}</includeonly><noinclude>{{doc modèle}} | ||
<!-- SVP ajoutez les catégories et les interwikis dans la sous-page /documentation, pas ici --> | |||
</noinclude> | |||
Version actuelle datée du 7 novembre 2023 à 13:09
Documentation du modèle