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

De Wiki Ali(ENS de Lyon)
m (modif pre)
m (fin test - échec ajout ligne)
 
(28 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<div class="infobox">
<div class="infobox">
<div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>{{#if:{{{image|}}}|
<div class="infobox-title">{{{titre|{{PAGENAME}}}}}</div>
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|300px]]</div>}}
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|250px]]</div>}}
<table class="infobox-table">{{#if:{{{nom_fr|}}}|<tr>
<div class="infobox-subtitle">{{{section1|'''Informations générales'''}}}</div>
<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>
</tr>}}{{#if:{{{nom_ang|}}}|<tr>
</tr>}}
{{#if:{{{nom_ang|}}}|<tr>
     <th>Nom anglais</th>
     <th>Nom anglais</th>
     <td>{{{nom_ang}}}</td>
     <td>''{{{nom_ang}}}''</td>
</tr>}}{{#if:{{{auteurice|}}}|<tr>
</tr>}}
     <th>Auteurice</th>
{{#if:{{{artiste|}}}|<tr>
     <td>{{{auteurice}}}</td>
     <th>Artiste</th>
</tr>}}{{#if:{{{petits_num|}}}|<tr>
     <td>{{{artiste}}}</td>
</tr>}}
</table>
<div class="infobox-subtitle">{{{section2|'''Propriétés'''}}}</div>
<table class="infobox-table">
{{#if:{{{petits_num|}}}|<tr>
     <th>Petits numéros</th>
     <th>Petits numéros</th>
     <td>{{{petits_num}}}</td>
     <td>{{{petits_num}}}</td>
</tr>}}{{#if:{{{symboles|}}}|<tr>
</tr>}}
{{#if:{{{symboles|}}}|<tr>
     <th>Symboles</th>
     <th>Symboles</th>
     <td>{{{symboles}}}</td>
     <td>{{{symboles}}}</td>
</tr>}}{{#if:{{{alignement|}}}|<tr>
</tr>}}
{{#if:{{{alignement|}}}|<tr>
     <th>Alignement</th>
     <th>Alignement</th>
     <td>{{{alignement}}}</td>
     <td>{{{alignement}}}</td>
</tr>}}{{#if:{{{univers|}}}|<tr>
</tr>}}
</table>
<div class="infobox-subtitle">{{{section3|'''Caractéristiques'''}}}</div>
<table class="infobox-table">
{{#if:{{{ws|}}}|<tr>
    <th>Maîtrise des armes</th>
    <td>{{{ws}}}</td>
</tr>}}
{{#if:{{{st|}}}|<tr>
    <th>Puissance</th>
    <td>{{{st}}}</td>
</tr>}}
{{#if:{{{sp|}}}|<tr>
    <th>Vitesse</th>
    <td>{{{sp}}}</td>
</tr>}}
{{#if:{{{br|}}}|<tr>
    <th>Bravoure</th>
    <td>{{{br}}}</td>
</tr>}}
{{#if:{{{in|}}}|<tr>
    <th>Intelligence</th>
    <td>{{{in}}}</td>
</tr>}}
{{#if:{{{to|}}}|<tr>
    <th>Résistance</th>
    <td>{{{to}}}</td>
</tr>}}
{{#if:{{{lu|}}}|<tr>
    <th>Chance</th>
    <td>{{{lu}}}</td>
</tr>}}
{{#if:{{{ch|}}}|<tr>
    <th>Charisme</th>
    <td>{{{ch}}}</td>
</tr>}}
</table>
<div class="infobox-subtitle">{{{section4|'''Attributs'''}}}</div>
<table class="infobox-table">
{{#if:{{{race|}}}|<tr>
    <th>Race</th>
    <td>{{{race}}}</td>
</tr>}}
{{#if:{{{genre|}}}|<tr>
    <th>Genre</th>
    <td>{{{genre}}}</td>
</tr>}}
{{#if:{{{age|}}}|<tr>
    <th>Âge</th>
    <td>{{{age}}}</td>
</tr>}}
{{#if:{{{taille|}}}|<tr>
    <th>Taille</th>
    <td>{{{taille}}}</td>
</tr>}}
{{#if:{{{univers|}}}|<tr>
     <th>Univers</th>
     <th>Univers</th>
     <td>{{{univers}}}</td>
     <td>{{{univers}}}</td>
</tr>}}</table>
</tr>}}
{{#if:{{{attributs|}}}|<tr>
    <th>Attributs supplémentaires</th>
    <td>{{{attributs}}}</td>
</tr>}}
</table>
</div>
</div>
[[Category:Carte_de_Baston]]
[[Category:Carte_de_Baston]]</includeonly>
<noinclude><pre>{{Infobox Carte de Baston
<noinclude><pre>{{Infobox Carte de Baston
| title =  
| titre =  
| image =  
| image =  
| nom_fr =
| nom_fr =  
| nom_ang =
| nom_ang =  
| auteurice =
| artiste =  
| petits_num =
| petits_num =  
| symboles =
| symboles =
| alignement =
| ws =
| univers =
| st =
}}</pre></noinclude>
| sp =
| br =
| in =
| to =
| lu =
| ch =  
| alignement =
| race =
| genre =
| age =
| taille =  
| univers =
| attributs =  
}}</pre>
[[Catégorie:Modèle]]</noinclude>

Dernière version du 22 novembre 2023 à 21:11

{{Infobox Carte de Baston
| titre = 
| image = 
| nom_fr = 
| nom_ang = 
| artiste = 
| petits_num = 
| symboles = 
| ws = 
| st = 
| sp = 
| br = 
| in = 
| to = 
| lu = 
| ch = 
| alignement = 
| race = 
| genre = 
| age = 
| taille = 
| univers = 
| attributs = 
}}