« Modèle:Infobox Personnage » : différence entre les versions

De Terminadelg Gazbild-Ladigle
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
 
(3 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
<div class="infobox-personnage">
<div class="infobox-personnage">
     <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
     <div class="infobox-title">{{{title|{{PAGENAME}}}}}</div>
     {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|150px]]</div>}}
     {{#if:{{{image|}}}|<div class="infobox-image">[[File:{{PAGENAME:{{{image}}}}}|{{#if:{{{taille_image|}}} |{{{taille_image}}}|150px}}|{{{img_arguments|}}}]]</div>}}
     <table class="infobox-table">
     <table class="infobox-table">
         {{#if:{{{nom|}}}|<tr>
         {{#if:{{{nom|}}}|<tr>
             <th>Nom</th>
             <th>Nom : </th>
             <td>{{{nom}}}</td>
             <td>{{{nom}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{age|}}}|<tr>
         {{#if:{{{age|}}}|<tr>
             <th>Âge</th>
             <th>Âge : </th>
             <td>{{{age}}}</td>
             <td>{{{age}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{poids|}}}|<tr>
         {{#if:{{{poids|}}}|<tr>
             <th>Poids</th>
             <th>Poids : </th>
             <td>{{{poids}}}</td>
             <td>{{{poids}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{taille|}}}|<tr>
         {{#if:{{{taille|}}}|<tr>
             <th>Taille</th>
             <th>Taille : </th>
             <td>{{{taille}}}</td>
             <td>{{{taille}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{origine|}}}|<tr>
         {{#if:{{{origine|}}}|<tr>
             <th>Origine</th>
             <th>Origine : </th>
             <td>{{{origine}}}</td>
             <td>{{{origine}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{lieu_residence|}}}|<tr>
         {{#if:{{{lieu_residence|}}}|<tr>
             <th>Lieu de résidence actuel</th>
             <th>Lieu de résidence actuel : </th>
             <td>{{{lieu_residence}}}</td>
             <td>{{{lieu_residence}}}</td>
         </tr>}}
         </tr>}}
         {{#if:{{{lieux_relatifs|}}}|<tr>
         {{#if:{{{lieux_relatifs|}}}|<tr>
             <th>Lieux relatifs</th>
             <th>Lieux relatifs : </th>
             {{#if:{{#invoke:String|count|{{{lieux_relatifs}}}|;}} > 1 |
             {{#if:{{#invoke:String|count|{{{lieux_relatifs}}}|;}} > 1 |
             <td>
             <td>
Ligne 40 : Ligne 40 :


         {{#if:{{{personnages_lies|}}}|<tr>
         {{#if:{{{personnages_lies|}}}|<tr>
             <th>Personnages liés</th>
             <th>Personnages liés : </th>
             {{#if:{{#invoke:String|count|{{{personnages_lies}}}|;}} > 1 |
             {{#if:{{#invoke:String|count|{{{personnages_lies}}}|;}} > 1 |
             <td>
             <td>
Ligne 52 : Ligne 52 :


         {{#if:{{{situation_legale|}}}|<tr>
         {{#if:{{{situation_legale|}}}|<tr>
             <th>Situation légale</th>
             <th>Situation légale : </th>
             <td>{{{situation_legale}}}</td>
             <td>{{{situation_legale}}}</td>
         </tr>}}
         </tr>}}


         {{#if:{{{confession|}}}|<tr>
         {{#if:{{{confession|}}}|<tr>
             <th>Confession</th>
             <th>Confession : </th>
             <td>{{{confession}}}</td>
             <td>{{{confession}}}</td>
         </tr>}}
         </tr>}}


         {{#if:{{{vitesse_de_pointe|}}}|<tr>
         {{#if:{{{vitesse_de_pointe|}}}|<tr>
             <th>Vitesse de pointe</th>
             <th>Vitesse de pointe : </th>
             <td>{{{vitesse_de_pointe}}}</td>
             <td>{{{vitesse_de_pointe}}}</td>
         </tr>}}
         </tr>}}


         {{#if:{{{vitesse_de_croisiere|}}}|<tr>
         {{#if:{{{vitesse_de_croisiere|}}}|<tr>
             <th>Vitesse de croisière</th>
             <th>Vitesse de croisière : </th>
             <td>{{{vitesse_de_croisiere}}}</td>
             <td>{{{vitesse_de_croisiere}}}</td>
         </tr>}}
         </tr>}}


         {{#if:{{{antecedents_medicaux|}}}|<tr>
         {{#if:{{{antecedents_medicaux|}}}|<tr>
             <th>Antécédents médicaux</th>
             <th>Antécédents médicaux : </th>
             {{#if:{{#invoke:String|count|{{{antecedents_medicaux}}}|;}} > 1 |
             {{#if:{{#invoke:String|count|{{{antecedents_medicaux}}}|;}} > 1 |
             <td>
             <td>
Ligne 84 : Ligne 84 :


         {{#if:{{{casier_judiciaire|}}}|<tr>
         {{#if:{{{casier_judiciaire|}}}|<tr>
             <th>Casier judiciaire</th>
             <th>Casier judiciaire : </th>
             {{#if:{{#invoke:String|count|{{{casier_judiciaire}}}|;}} > 1 |
             {{#if:{{#invoke:String|count|{{{casier_judiciaire}}}|;}} > 1 |
             <td>
             <td>

Dernière version du 21 avril 2025 à 18:43

Infobox Personnage