« Modèle:Infobox Carte de Baston » : différence entre les versions
test ---- |
m suppr commentaire |
||
(43 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">{{{ | <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"> | ||
<tr> | |||
<th>Nom | <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>}} | </tr>}} | ||
{{#if:{{{ | {{#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:{{{ | <tr><!--{{#expr: {{{num2|}}} or {{{num3|}}} or {{{num4|}}} or {{{num5|}}} or {{{num6|}}} or {{{num7|}}} or {{{num8|}}} or {{{num9|}}} or {{{num10|}}}}}--> | ||
<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>{{{ | </tr> | ||
</tr>}} | <tr><!--{{#expr: {{{symbole2|}}} or {{{symbole3|}}} or {{{symbole4|}}} or {{{symbole5|}}} or {{{symbole6|}}} or {{{symbole7|}}} or {{{symbole8|}}} or {{{symbole9|}}} or {{{symbole10|}}}}}--> | ||
{{#if:{{{ | {{#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> | </tr> | ||
<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>}} | ||
{{#if:{{{attributs|}}}|<tr> | |||
<th>Autres attributs</th> | |||
<td>{{{attributs}}}</td> | |||
{{#if:{{{ | |||
<th> | |||
<td>{{{ | |||
</tr>}} | </tr>}} | ||
{{#if:{{{ | {{#if:{{{genre|}}}|<tr> | ||
<th> | <th>Genre</th> | ||
<td>{{{ | <td>{{{genre}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{ | {{#if:{{{archetype|}}}|<tr> | ||
<th> | <th>Archétype</th> | ||
<td>{{{ | <td>{{{archetype}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{ | {{#if:{{{epoque|}}}|<tr> | ||
<th> | <th>Époque</th> | ||
<td>{{{ | <td>{{{epoque}}}</td> | ||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
<div class="infobox-subtitle">{{{ | <div class="infobox-subtitle">{{{section5|'''Divers'''}}}</div> | ||
<table class="infobox-table"> | <table class="infobox-table"> | ||
{{#if:{{{ | {{#if:{{{extra_deck|}}}|<tr> | ||
<th> | <th>Extra deck</th> | ||
<td>{{{ | <td>{{{extra_deck}}}</td> | ||
</tr>}} | </tr>}} | ||
{{#if:{{{ | {{#if:{{{univers|}}}|<tr> | ||
<th> | <th>Univers</th> | ||
<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:{{{ | {{#if:{{{divers|}}}|<tr> | ||
<th> | <th>Divers</th> | ||
<td>{{{ | <td>{{{divers}}}</td> | ||
</tr>}} | </tr>}} | ||
</table> | </table> | ||
</div> | </div><!--Ici on ajoute les catégories automatiquement--> | ||
[[ | [[Catégorie:Carte_de_Baston]] | ||
<noinclude><pre>{{Infobox 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 = | | artiste = | ||
| | | num1 = | ||
| | | ... | ||
| symbole1 = | |||
| ... | |||
| ws = | | ws = | ||
| st = | | st = | ||
Ligne 113 : | Ligne 156 : | ||
| lu = | | lu = | ||
| ch = | | ch = | ||
| taxon = | |||
| alignement = | | alignement = | ||
| | | attributs = | ||
| genre = | | genre = | ||
| archetype = | |||
| epoque = | |||
| extra_deck = | |||
| univers = | |||
| age = | | age = | ||
| taille = | | taille = | ||
| | | divers = | ||
}}</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 = }}