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

De Wiki de l'ENS de Lyon
test
m suppr commentaire
 
(40 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<includeonly>
<includeonly>
<div class="infobox">
<div class="infobox">
<div class="infobox-title">{{{titre|{{PAGENAME}}}}}</div>
<div class="infobox-title">{{{titre_infobox|{{PAGENAME}}}}}</div>
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|250px]]</div>}}
{{#if:{{{image|}}}|<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|250px]]</div>}}
<div class="infobox-subtitle">{{{section1|'''Informations générales'''}}}</div>
<div class="infobox-subtitle">{{{section1|'''Informations générales'''}}}</div>
<table class="infobox-table">
<table class="infobox-table">
{{#if:{{{nom_fr|}}}|<tr>
<tr>
     <th>Nom français</th>
     <th>Nom</th>
     <td>{{{nom_fr}}}</td>
     <td>{{#if:{{{nom_fr|}}}|{{{nom_fr}}}|{{{PAGENAME}}}}}</td>
</tr>}}
</tr>
{{#if:{{{nom_ang|}}}|<tr>
{{#if:{{{nom_ang|}}}|<tr>
     <th>Nom anglais</th>
     <th>Nom anglais</th>
     <td>''{{{nom_ang}}}''</td>
     <td>''{{{nom_ang}}}''</td>
</tr><hr>}}
</tr>}}
{{#if:{{{artiste|}}}|<tr>
{{#if:{{{titre|}}}|<tr>
    <th>Titre</th>
    <td>''{{{titre}}}''</td>
</tr>}}
<tr>
     <th>Artiste</th>
     <th>Artiste</th>
     <td>{{{artiste}}}</td>
     <td>{{#if:{{{artiste|}}}|{{{artiste}}}|X}}</td>
</tr>}}
</tr>
</table>
</table>
<div class="infobox-subtitle">{{{section2|'''Propriétés'''}}}</div>
<div class="infobox-subtitle">{{{section2|'''Propriétés'''}}}</div>
<table class="infobox-table">
<table class="infobox-table">
{{#if:{{{petits_num|}}}|<tr>
<tr><!--{{#expr: {{{num2|}}} or {{{num3|}}} or {{{num4|}}} or {{{num5|}}} or {{{num6|}}} or {{{num7|}}} or {{{num8|}}} or {{{num9|}}} or {{{num10|}}}}}-->
     <th>Petits numéros</th>
    {{#if:{{{num2|}}}|<th>Petits numéros</th><td>{{pn|{{{num1|}}}|{{{num2|}}}|{{{num3|}}}|{{{num4|}}}|{{{num5|}}}|{{{num6|}}}|{{{num7|}}}|{{{num8|}}}|{{{num9|}}}|{{{num10|}}}}}</td>|{{#if:{{{num1|}}}|<th>Petit numéro</th><td>{{pn|{{{num1|}}}}}</td>|<th>Petit numéro</th><td>Aucun</td>}}}}
     <td>{{{petits_num}}}</td>
</tr>
</tr><hr>}}
<tr><!--{{#expr: {{{symbole2|}}} or {{{symbole3|}}} or {{{symbole4|}}} or {{{symbole5|}}} or {{{symbole6|}}} or {{{symbole7|}}} or {{{symbole8|}}} or {{{symbole9|}}} or {{{symbole10|}}}}}-->
{{#if:{{{symboles|}}}|<tr>
    {{#if:{{{symbole2|}}}|<th>Symboles</th><td>{{symbole|{{{symbole1|}}}|{{{symbole2|}}}|{{{symbole3|}}}|{{{symbole4|}}}|{{{symbole5|}}}|{{{symbole6|}}}|{{{symbole7|}}}|{{{symbole8|}}}|{{{symbole9|}}}|{{{symbole10|}}}}}</td>|{{#if:{{{symbole1|}}}|<th>Symbole</th><td>{{symbole|{{{symbole1|}}}}}</td>|<th>Symbole</th><td>Aucun</td>}}}}
     <th>Symboles</th>
</tr>
     <td>{{{symboles}}}</td>
</table>
<div class="infobox-subtitle">{{{section3|'''Caractéristiques'''}}}</div>
<table class="infobox-table">
<tr>
    <th>Weapon Skill</th>
    <td>{{#if:{{{ws|}}}|{{{ws}}}|s/o}}</td>
</tr>
<tr>
    <th>Strength</th>
    <td>{{#if:{{{st|}}}|{{{st}}}|s/o}}</td>
</tr>
<tr>
    <th>Speed</th>
    <td>{{#if:{{{sp|}}}|{{{sp}}}|s/o}}</td>
</tr>
<tr>
    <th>Bravery</th>
    <td>{{#if:{{{br|}}}|{{{br}}}|s/o}}</td>
</tr>
<tr>
     <th>Intelligence</th>
    <td>{{#if:{{{in|}}}|{{{in}}}|s/o}}</td>
</tr>
<tr>
    <th>Toughness</th>
    <td>{{#if:{{{to|}}}|{{{to}}}|s/o}}</td>
</tr>
<tr>
    <th>Luck</th>
    <td>{{#if:{{{lu|}}}|{{{lu}}}|s/o}}</td>
</tr>
<tr>
    <th>Charisma</th>
     <td>{{#if:{{{ch|}}}|{{{ch}}}|s/o}}</td>
</tr>
</table>
<div class="infobox-subtitle">{{{section4|'''Attributs'''}}}</div>
<table class="infobox-table">
{{#if:{{{taxon|}}}|<tr>
     <th>Taxon</th>
     <td>{{{taxon}}}</td>
</tr>}}
</tr>}}
{{#if:{{{alignement|}}}|<tr>
{{#if:{{{alignement|}}}|<tr>
Ligne 32 : Ligne 76 :
     <td>{{{alignement}}}</td>
     <td>{{{alignement}}}</td>
</tr>}}
</tr>}}
</table>
{{#if:{{{attributs|}}}|<tr>
<div class="infobox-subtitle">{{{section3|'''Caractéristiques'''}}}</div>
     <th>Autres attributs</th>
<table class="infobox-table">
     <td>{{{attributs}}}</td>
{{#if:{{{ws|}}}|<tr>
     <th>Maîtrise des armes</th>
     <td>{{{ws}}}</td>
</tr>}}
</tr>}}
{{#if:{{{st|}}}|<tr>
{{#if:{{{genre|}}}|<tr>
     <th>Puissance</th>
     <th>Genre</th>
     <td>{{{st}}}</td>
     <td>{{{genre}}}</td>
</tr>}}
</tr>}}
{{#if:{{{sp|}}}|<tr>
{{#if:{{{archetype|}}}|<tr>
     <th>Vitesse</th>
     <th>Archétype</th>
     <td>{{{sp}}}</td>
     <td>{{{archetype}}}</td>
</tr>}}
</tr>}}
{{#if:{{{br|}}}|<tr>
{{#if:{{{epoque|}}}|<tr>
     <th>Bravoure</th>
     <th>Époque</th>
     <td>{{{br}}}</td>
     <td>{{{epoque}}}</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>}}
</tr>}}
</table>
</table>
<div class="infobox-subtitle">{{{section4|'''Attributs'''}}}</div>
<div class="infobox-subtitle">{{{section5|'''Divers'''}}}</div>
<table class="infobox-table">
<table class="infobox-table">
{{#if:{{{race|}}}|<tr>
{{#if:{{{extra_deck|}}}|<tr>
     <th>Race</th>
     <th>Extra deck</th>
     <td>{{{race}}}</td>
     <td>{{{extra_deck}}}</td>
</tr>}}
</tr>}}
{{#if:{{{genre|}}}|<tr>
{{#if:{{{univers|}}}|<tr>
     <th>Genre</th>
     <th>Univers</th>
     <td>{{{genre}}}</td>
     <td>{{{univers}}}</td>
</tr>}}
</tr>}}
{{#if:{{{age|}}}|<tr>
{{#if:{{{age|}}}|<tr>
Ligne 86 : Ligne 111 :
     <td>{{{taille}}}</td>
     <td>{{{taille}}}</td>
</tr>}}
</tr>}}
{{#if:{{{univers|}}}|<tr>
{{#if:{{{divers|}}}|<tr>
     <th>Univers</th>
     <th>Divers</th>
     <td>{{{univers}}}</td>
     <td>{{{divers}}}</td>
</tr>}}
{{#if:{{{attributs|}}}|<tr>
    <th>Attributs supplémentaires</th>
    <td>{{{attributs}}}</td>
</tr>}}
</tr>}}
</table>
</table>
</div>
</div><!--Ici on ajoute les catégories automatiquement-->
[[Category:Carte_de_Baston]]</includeonly>
[[Catégorie:Carte_de_Baston]]
<noinclude><pre>{{Infobox Carte de Baston
{{#if:{{{artiste|}}}|[[Catégorie:Carte de {{{artiste}}}]]|[[Catégorie:Carte de X]]}}
| titre =  
{{#if:{{{symbole1|}}}|[[Catégorie:Carte de Symbole {{{symbole1}}}]]|[[Catégorie:Carte sans Symbole]]}}
{{#if:{{{symbole2|}}}|[[Catégorie:Carte de Symbole {{{symbole2}}}]]}}
{{#if:{{{symbole3|}}}|[[Catégorie:Carte de Symbole {{{symbole3}}}]]}}
{{#if:{{{symbole4|}}}|[[Catégorie:Carte de Symbole {{{symbole4}}}]]}}
{{#if:{{{symbole5|}}}|[[Catégorie:Carte de Symbole {{{symbole5}}}]]}}
{{#if:{{{symbole6|}}}|[[Catégorie:Carte de Symbole {{{symbole6}}}]]}}
{{#if:{{{symbole7|}}}|[[Catégorie:Carte de Symbole {{{symbole7}}}]]}}
{{#if:{{{symbole8|}}}|[[Catégorie:Carte de Symbole {{{symbole8}}}]]}}
{{#if:{{{symbole9|}}}|[[Catégorie:Carte de Symbole {{{symbole9}}}]]}}
{{#if:{{{symbole10|}}}|[[Catégorie:Carte de Symbole {{{symbole10}}}]]}}
<!--{{#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}}}]]}}
{{#switch:{{{extra_deck|}}}|Oui=[[Catégorie:Carte de l'extra deck]]|Oui (Ville)=[[Catégorie:Carte Ville]]|Oui (Machine)=[[Catégorie:Carte Machine]]|}}
{{#if:{{{univers|}}}|[[Catégorie:Carte de {{{univers}}}]]}}
{{#if:{{{num1|}}}||[[Catégorie:Carte sans Petit numéro]]}}</includeonly><noinclude><pre>{{Infobox Carte de Baston
| titre_infobox =  
| image =  
| image =  
| nom_fr =  
| nom_fr =  
| nom_ang =  
| titre =  
| artiste =  
| artiste =  
| petits_num =  
| num1 =  
| symboles =  
| ...
| symbole1 =
| ...
| ws =  
| ws =  
| st =  
| st =  
Ligne 113 : Ligne 156 :
| lu =  
| lu =  
| ch =  
| ch =  
| taxon =
| alignement =  
| alignement =  
| race =  
| attributs =  
| genre =  
| genre =  
| archetype =
| epoque =
| extra_deck =
| univers =
| age =  
| age =  
| taille =  
| taille =  
| univers =
| divers =  
| attributs =  
}}</pre>
}}</pre>
[[Catégorie:Modèle]]</noinclude>
[[Catégorie:Modèle]]</noinclude>

Dernière version du 5 mars 2025 à 18:17

{{Infobox Carte de Baston
| titre_infobox = 
| image = 
| nom_fr = 
| titre = 
| artiste = 
| num1 = 
| ...
| symbole1 =
| ...
| ws = 
| st = 
| sp = 
| br = 
| in = 
| to = 
| lu = 
| ch = 
| taxon = 
| alignement = 
| attributs = 
| genre = 
| archetype = 
| epoque = 
| extra_deck = 
| univers = 
| age = 
| taille = 
| divers = 
}}