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

modif modèle
test
Ligne 2 : Ligne 2 :
<div class="infobox-title">{{{titre|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{titre|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|250px]]</div>}}
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|250px]]</div>}}
<table class="infobox-table">{{#if:{{{nom_fr|}}}|<tr>
'''Informations générales'''
<table class="infobox-table">
{{#if:{{{nom_fr|}}}|<tr>
     <th>Nom français</th>
     <th>Nom français</th>
     <td>{{{nom_fr}}}</td>
     <td>{{{nom_fr}}}</td>
Ligne 11 : Ligne 13 :
     <th>Artiste</th>
     <th>Artiste</th>
     <td>{{{artiste}}}</td>
     <td>{{{artiste}}}</td>
'''Propriétés'''
</tr>}}{{#if:{{{petits_num|}}}|<tr>
</tr>}}{{#if:{{{petits_num|}}}|<tr>
     <th>Petits numéros</th>
     <th>Petits numéros</th>
Ligne 20 : Ligne 23 :
     <th>Alignement</th>
     <th>Alignement</th>
     <td>{{{alignement}}}</td>
     <td>{{{alignement}}}</td>
'''Attributs'''
</tr>}}{{#if:{{{race|}}}|<tr>
</tr>}}{{#if:{{{race|}}}|<tr>
     <th>Race</th>
     <th>Race</th>