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

De Nefald Wiki
Aller à la navigation Aller à la recherche
Casu835 (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
mAucun résumé des modifications
 
(2 versions intermédiaires par le même utilisateur non affichées)
Ligne 7 : Ligne 7 :
{| class="infobox_v2" cellspacing="7"
{| class="infobox_v2" cellspacing="7"
<!---------------------------------- Partie 2 ---------------------------------->
<!---------------------------------- Partie 2 ---------------------------------->
! colspan="2" class="entete personnage" style="background-color:#8ad1e4; color:#fff; font-size:1.4em; color:#fff; text-shadow:0.1em 0.1em 0.2em #000"| {{{nom|{{SUBPAGENAME}}}}}
! colspan="2" class="entete personnage" style="background-color:transparent; color:#fff; font-size:1.4em; color:#fff; text-shadow:0.1em 0.1em 0.2em #000"| {{{nom|{{SUBPAGENAME}}}}}
|-
|-
{{#if: {{{image|}}} |
{{#if: {{{image|}}} |
Ligne 20 : Ligne 20 :
! scope=row | Dates
! scope=row | Dates
| {{{date}}}  
| {{{date}}}  
|-
{{#if:{{{guilde|}}}|
! scope=row {{!}} Guilde
{{!}} [[{{{guilde|}}}]]
{{!-}}
}}
|-
|-
<!---------------------------------- Partie 3 ---------------------------------->
<!---------------------------------- Partie 3 ---------------------------------->
Ligne 39 : Ligne 33 :
! scope=row {{!}} Sexe
! scope=row {{!}} Sexe
{{!}} {{{sexe}}}
{{!}} {{{sexe}}}
{{!-}}
}}
|-
{{#if:{{{taille|}}}|
! scope=row {{!}} Taille
{{!}} {{{taille|}}}
{{!-}}
}}
|-
{{#if:{{{poids|}}}|
! scope=row {{!}} Poids
{{!}} {{{poids|}}}
{{!-}}
}}
|-
{{#if:{{{guilde|}}}|
! scope=row {{!}} Guilde
{{!}} [[{{{guilde|}}}]]
{{!-}}
}}
|-
{{#if:{{{croyances|}}}|
! scope=row {{!}} Croyances
{{!}} {{{croyances|}}}
{{!-}}
}}
|-
{{#if:{{{occupation|}}}|
! scope=row {{!}} Occupation
{{!}} {{{occupation|}}}
{{!-}}
{{!-}}
}}
}}

Dernière version du 2 juin 2014 à 11:28

Purger le cache?


Utilisation


La syntaxe est de la forme : {{Infobox Personnage| image = | rôle = Roi de Vargen| age = | sexe = | taille = | poids = | date = | guilde = | croyances = | occupation = }}


Exemple

{{Infobox Personnage| image = hyvän_skin.png| rôle = Roi de Värgen| age = 82ans | sexe = un type bien o/ | taille = 1,78m | poids = 82kg | date = 44avGC - 12apGC| guilde = Les Rôdeurs| croyances = athée | occupation = Érudition, diplomatie, 421}}

  • donne :


Infobox Personnage
Infobox Personnage
Status
Rôle Roi de Värgen
Dates 44avGC - 12apGC
Personnage
Age 82ans
Sexe un type bien o/
Taille 1,78m
Poids 82kg
Guilde Les Rôdeurs
Croyances athée
Occupation Érudition, diplomatie, 421