« Modèle:Infobox Carte de Baston » : différence entre les versions
m includeonly |
m suppr commentaire |
||
(65 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 1 : | Ligne 1 : | ||
<includeonly><div class="infobox"> | <includeonly> | ||
<div class="infobox-title">{{{ | <div class="infobox"> | ||
<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}| | <div class="infobox-title">{{{titre_infobox|{{PAGENAME}}}}}</div> | ||
< | {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|250px]]</div>}} | ||
<th>Nom | <div class="infobox-subtitle">{{{section1|'''Informations générales'''}}}</div> | ||
<td>{{{nom_fr}}}</td> | <table class="infobox-table"> | ||
</tr> | <tr> | ||
<th>Nom</th> | |||
<td>{{#if:{{{nom_fr|}}}|{{{nom_fr}}}|{{{PAGENAME}}}}}</td> | |||
</tr> | |||
{{#if:{{{nom_ang|}}}|<tr> | |||
<th>Nom anglais</th> | <th>Nom anglais</th> | ||
<td>{{{nom_ang}}}</td> | <td>''{{{nom_ang}}}''</td> | ||
</tr>}}{{#if:{{{ | </tr>}} | ||
<th> | {{#if:{{{titre|}}}|<tr> | ||
<td>{{{ | <th>Titre</th> | ||
</tr>}}{{#if:{{{ | <td>''{{{titre}}}''</td> | ||
<th>Petits numéros</th> | </tr>}} | ||
<td>{{{ | <tr> | ||
</tr>}}{{#if:{{{ | <th>Artiste</th> | ||
<th> | <td>{{#if:{{{artiste|}}}|{{{artiste}}}|X}}</td> | ||
<td>{{{ | </tr> | ||
</tr>}}{{#if:{{{alignement|}}}|<tr> | </table> | ||
<div class="infobox-subtitle">{{{section2|'''Propriétés'''}}}</div> | |||
<table class="infobox-table"> | |||
<tr><!--{{#expr: {{{num2|}}} or {{{num3|}}} or {{{num4|}}} or {{{num5|}}} or {{{num6|}}} or {{{num7|}}} or {{{num8|}}} or {{{num9|}}} or {{{num10|}}}}}--> | |||
{{#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>}}}} | |||
</tr> | |||
<tr><!--{{#expr: {{{symbole2|}}} or {{{symbole3|}}} or {{{symbole4|}}} or {{{symbole5|}}} or {{{symbole6|}}} or {{{symbole7|}}} or {{{symbole8|}}} or {{{symbole9|}}} or {{{symbole10|}}}}}--> | |||
{{#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>}}}} | |||
</tr> | |||
</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>}} | |||
{{#if:{{{alignement|}}}|<tr> | |||
<th>Alignement</th> | <th>Alignement</th> | ||
<td>{{{alignement}}}</td> | <td>{{{alignement}}}</td> | ||
</tr>}}{{#if:{{{univers|}}}|<tr> | </tr>}} | ||
{{#if:{{{attributs|}}}|<tr> | |||
<th>Autres attributs</th> | |||
<td>{{{attributs}}}</td> | |||
</tr>}} | |||
{{#if:{{{genre|}}}|<tr> | |||
<th>Genre</th> | |||
<td>{{{genre}}}</td> | |||
</tr>}} | |||
{{#if:{{{archetype|}}}|<tr> | |||
<th>Archétype</th> | |||
<td>{{{archetype}}}</td> | |||
</tr>}} | |||
{{#if:{{{epoque|}}}|<tr> | |||
<th>Époque</th> | |||
<td>{{{epoque}}}</td> | |||
</tr>}} | |||
</table> | |||
<div class="infobox-subtitle">{{{section5|'''Divers'''}}}</div> | |||
<table class="infobox-table"> | |||
{{#if:{{{extra_deck|}}}|<tr> | |||
<th>Extra deck</th> | |||
<td>{{{extra_deck}}}</td> | |||
</tr>}} | |||
{{#if:{{{univers|}}}|<tr> | |||
<th>Univers</th> | <th>Univers</th> | ||
<td>{{{univers}}}</td> | <td>{{{univers}}}</td> | ||
</tr>}}</table> | </tr>}} | ||
</div>< | {{#if:{{{age|}}}|<tr> | ||
[[ | <th>Âge</th> | ||
<noinclude><pre>{{Infobox Carte de Baston | <td>{{{age}}}</td> | ||
| | </tr>}} | ||
{{#if:{{{taille|}}}|<tr> | |||
<th>Taille</th> | |||
<td>{{{taille}}}</td> | |||
</tr>}} | |||
{{#if:{{{divers|}}}|<tr> | |||
<th>Divers</th> | |||
<td>{{{divers}}}</td> | |||
</tr>}} | |||
</table> | |||
</div><!--Ici on ajoute les catégories automatiquement--> | |||
[[Catégorie:Carte_de_Baston]] | |||
{{#if:{{{artiste|}}}|[[Catégorie:Carte de {{{artiste}}}]]|[[Catégorie:Carte de X]]}} | |||
{{#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 = | ||
| | | titre = | ||
| | | artiste = | ||
| | | num1 = | ||
| | | ... | ||
| alignement = | | symbole1 = | ||
| univers = | | ... | ||
}}</pre></noinclude> | | ws = | ||
| st = | |||
| sp = | |||
| br = | |||
| in = | |||
| to = | |||
| lu = | |||
| ch = | |||
| taxon = | |||
| alignement = | |||
| attributs = | |||
| genre = | |||
| archetype = | |||
| epoque = | |||
| extra_deck = | |||
| univers = | |||
| age = | |||
| taille = | |||
| divers = | |||
}}</pre> | |||
[[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 = }}