« Modèle:Infobox Carte de Baston » : différence entre les versions

modif titre -> titre_infobox
tentative ajout auto catégories
Ligne 6 : Ligne 6 :
<table class="infobox-table">
<table class="infobox-table">
{{#if:{{{nom_fr|}}}|<tr>
{{#if:{{{nom_fr|}}}|<tr>
     <th>Nom français</th>
     <th>Nom</th>
     <td>{{{nom_fr}}}</td>
     <td>{{{nom_fr}}}</td>
</tr>}}
</tr>}}
Ligne 115 : Ligne 115 :
</table>
</table>
</div>
</div>
[[Category:Carte_de_Baston]]</includeonly>
[[Category:Carte_de_Baston]]
{{#if:{{{artiste|}}}|
[[Catégorie:Carte de {{{artiste}}}]]
}}
{{#if:{{{taxon|}}}|
[[Catégorie:Carte de taxon {{{taxon}}}]]
}}
{{#if:{{{alignement|}}}|
[[Catégorie:Carte d'alignement {{{alignement}}}]]
}}
{{#if:{{{genre|}}}|
[[Catégorie:Carte de genre {{{genre}}}]]
}}
{{#if:{{{archetype|}}}|
[[Catégorie:Carte d'archétype {{{archetype}}}]]
}}
{{#if:{{{epoque|}}}|
[[Catégorie:Carte du {{{epoque}}}]]
}}
{{#if:{{{univers|}}}|
[[Catégorie:Carte de {{{univers}}}]]
}}</includeonly>
<noinclude><pre>{{Infobox Carte de Baston
<noinclude><pre>{{Infobox Carte de Baston
| titre_infobox =  
| titre_infobox =