Différences entre les pages « Modèle:Documentation palette » et « Modèle:Méta palette de navigation sous-groupe »

De Les Mots de l'agronomie
(Différence entre les pages)
imported>Jacques Ducloy
m (1 révision importée)
 
imported>Jacques Ducloy
m (1 révision importée)
 
Ligne 1 : Ligne 1 :
<includeonly>{{Documentation
+
<noinclude>{{Documentation}}
| titre = Documentation de palette
 
| notice = La [[Aide:Documentation de modèle|documentation]] de ce [[Aide:Modèle|modèle]] est générée par le [[Modèle:Documentation palette]].<br />{{Purger le cache}}. Voir la [[Special:Index/Modèle:Palette|liste des modèles de liens vers palette]].
 
| contenu = Ceci est la documentation du [[Aide:Modèle|modèle]] <nowiki>{{</nowiki>'''{{PAGENAME}}'''<nowiki>}}</nowiki>.
 
{{#if:{{{sujet|}}}|== Utilisation ==
 
Ce modèle affiche une palette de navigation concernant {{{sujet}}}.
 
  
== Rendu ==
+
<!-- SVP ajoutez les catégories et les interwikis dans la sous-page /documentation, pas ici -->
{{ {{PAGENAME}} }}
 
}}
 
== Syntaxe ==
 
L’utilisation de ce modèle se fait par l’ajout du code <code><nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki></code> en fin de page, avant les portails.
 
  
Il est conseillé d’utiliser plutôt la forme <code><nowiki>{{Palette|</nowiki>{{remplace|{{PAGENAME}}|Palette ||count=1}}<nowiki>}}</nowiki></code>, afin que le modèle {{m|Palette}} sépare correctement la ou les palettes du texte qui précède par de l’espace vide.{{#if:{{{nocat|}}}|<nowiki />
+
</noinclude><table class="navbox-subgroup" style="{{{stylecorps|}}}">
  
== Catégorisation ==
+
{{#if:{{{liste1|}}}  |<tr>
Ce modèle propose une catégorisation automatique, si toutefois la ou les catégories ne sont pas pertinentes, il est possible de les supprimer avec le paramètre <code>nocat</code>.<br/>Il faut alors utiliser exclusivement la syntaxe suivante : <code><nowiki>{{</nowiki>{{PAGENAME}}{{!}}nocat=1<nowiki>}}</nowiki></code>.}}{{#if:{{{contenu|}}}|<nowiki />
+
{{#if:{{{groupe1|}}} |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe1}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe1|}}}||colspan="2"}}>{{{liste1}}}</td>
 +
</tr>}} <!--
  
{{{contenu}}}}}
+
-->{{#if:{{{liste2|}}} |<tr>
}}</includeonly><noinclude>{{Documentation}}</noinclude>
+
{{#if:{{{groupe2|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe2}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe2|}}}||colspan="2"}}>{{{liste2}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste3|}}} |<tr>
 +
{{#if:{{{groupe3|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe3}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe3|}}}||colspan="2"}}>{{{liste3}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste4|}}} |<tr>
 +
{{#if:{{{groupe4|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe4}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe4|}}}||colspan="2"}}>{{{liste4}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste5|}}} |<tr>
 +
{{#if:{{{groupe5|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe5}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe5|}}}||colspan="2"}}>{{{liste5}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste6|}}} |<tr>
 +
{{#if:{{{groupe6|}}}   |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe6}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe6|}}}||colspan="2"}}>{{{liste6}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste7|}}} |<tr>
 +
{{#if:{{{groupe7|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe7}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe7|}}}||colspan="2"}}>{{{liste7}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste8|}}} |<tr>
 +
{{#if:{{{groupe8|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe8}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe8|}}}||colspan="2"}}>{{{liste8}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste9|}}} |<tr>
 +
{{#if:{{{groupe9|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe9}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe9|}}}||colspan="2"}}>{{{liste9}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste10|}}}|<tr>
 +
{{#if:{{{groupe10|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe10}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe10|}}}||colspan="2"}}>{{{liste10}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste11|}}}|<tr>
 +
{{#if:{{{groupe11|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe11}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe11|}}}||colspan="2"}}>{{{liste11}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste12|}}}|<tr>
 +
{{#if:{{{groupe12|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe12}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe12|}}}||colspan="2"}}>{{{liste12}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste13|}}}|<tr>
 +
{{#if:{{{groupe13|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe13}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe13|}}}||colspan="2"}}>{{{liste13}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste14|}}}|<tr>
 +
{{#if:{{{groupe14|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe14}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe14|}}}||colspan="2"}}>{{{liste14}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste15|}}}|<tr>
 +
{{#if:{{{groupe15|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe15}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe15|}}}||colspan="2"}}>{{{liste15}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste16|}}}|<tr>
 +
{{#if:{{{groupe16|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe16}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe16|}}}||colspan="2"}}>{{{liste16}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste17|}}}|<tr>
 +
{{#if:{{{groupe17|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe17}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe17|}}}||colspan="2"}}>{{{liste17}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste18|}}}|<tr>
 +
{{#if:{{{groupe18|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe18}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe18|}}}||colspan="2"}}">{{{liste18}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste19|}}}|<tr>
 +
{{#if:{{{groupe19|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe19}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe19|}}}||colspan="2"}}>{{{liste19}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste20|}}}|<tr>
 +
{{#if:{{{groupe20|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe20}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe20|}}}||colspan="2"}}>{{{liste20}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste21|}}}|<tr>
 +
{{#if:{{{groupe21|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe21}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe21|}}}||colspan="2"}}>{{{liste21}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste22|}}}|<tr>
 +
{{#if:{{{groupe22|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe22}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe22|}}}||colspan="2"}}>{{{liste22}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste23|}}}|<tr>
 +
{{#if:{{{groupe23|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe23}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe23|}}}||colspan="2"}}>{{{liste23}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste24|}}}|<tr>
 +
{{#if:{{{groupe24|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe24}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe24|}}}||colspan="2"}}>{{{liste24}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste25|}}}|<tr>
 +
{{#if:{{{groupe25|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe25}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe25|}}}||colspan="2"}}>{{{liste25}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste26|}}}|<tr>
 +
{{#if:{{{groupe26|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe26}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe26|}}}||colspan="2"}}>{{{liste26}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste27|}}}|<tr>
 +
{{#if:{{{groupe27|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe27}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe27|}}}||colspan="2"}}>{{{liste27}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste28|}}}|<tr>
 +
{{#if:{{{groupe28|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe28}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe28|}}}||colspan="2"}}">{{{liste28}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste29|}}}|<tr>
 +
{{#if:{{{groupe29|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe29}}}</th>}}
 +
<td class="navbox-list" style="{{{styleliste|}}};{{{styleimpair|}}}" {{#if:{{{groupe29|}}}||colspan="2"}}>{{{liste29}}}</td>
 +
</tr>}} <!--
 +
 
 +
-->{{#if:{{{liste30|}}}|<tr>
 +
{{#if:{{{groupe30|}}}  |<th class="navbox-group" style="{{{stylegroupe|}}}">{{{groupe30}}}</th>}}
 +
<td class="navbox-list navbox-even" style="{{{styleliste|}}};{{{stylepair|}}}" {{#if:{{{groupe30|}}}||colspan="2"}}>{{{liste30}}}</td>
 +
</tr>}}
 +
 
 +
</table>

Version actuelle datée du 7 décembre 2020 à 16:43

 Documentation[créer] [purger]