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

aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
 
(9 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
Ne pas utiliser, incomplet
{{Infobox
{{Infobox
|abovestyle = background:#deca8e;
|abovestyle = background:#deca8e;
Ligne 19 : Ligne 20 :
|label8  = [[Fichier:IconStatus.png|alt=|16px]] Statut
|label8  = [[Fichier:IconStatus.png|alt=|16px]] Statut
|data8    = {{#ifeq: {{{status|}}} | En vie | En vie <includeonly>[[Catégorie:Personnages en vie]]</includeonly> | {{#ifeq: {{{status|}}} | Décédé | Décédé <includeonly>[[Catégorie:Personnages décédés]]</includeonly> | {{#ifeq: {{{status|}}} | Disparu | Disparu <includeonly>[[Catégorie:Personnages disparus]]</includeonly> | Inconnu <includeonly>[[Catégorie:Personnages sans statut]]</includeonly>}} }} }}
|data8    = {{#ifeq: {{{status|}}} | En vie | En vie <includeonly>[[Catégorie:Personnages en vie]]</includeonly> | {{#ifeq: {{{status|}}} | Décédé | Décédé <includeonly>[[Catégorie:Personnages décédés]]</includeonly> | {{#ifeq: {{{status|}}} | Disparu | Disparu <includeonly>[[Catégorie:Personnages disparus]]</includeonly> | Inconnu <includeonly>[[Catégorie:Personnages sans statut]]</includeonly>}} }} }}
|header9 = Métadonnées
|label9  = [[Fichier:IconRace.png|alt=|16px]] Espèce
|label10   = [[Fichier:IconPlayerHead.png|alt=|16px]] Skin
|data9    = {{#if: {{{species|}}} | {{{species}}} [[Catégorie:{{{species}}}]] | Humain <includeonly>[[Catégorie:Humain]]</includeonly>}}
|data10   = [[Fichier:Skin{{#if: {{{concatName|}}} | {{{concatName}}} | Placeholder }}.png|alt=|32px]]
|header10 = Métadonnées
|label11   = [[Fichier:IconHealth.png|alt=|16px]] Points de vie
|label11   = [[Fichier:IconPlayerHead.png|alt=|16px]] Skin
|data11   = {{{pv|}}}
|data11   = {{#ifexist: [[Fichier:Skin{{#if: {{{concatName|}}} | {{{concatName}}} | Placeholder }}.png|alt=|32px]] | [[Fichier:Skin{{#if: {{{concatName|}}} | {{{concatName}}} | Placeholder }}.png|alt=|32px]]| [[Fichier:SkinPlaceholder.png|alt=|32px]] }}
|label12   = [[Fichier:IconCreatorNPC.png|alt=|16px]] Créateur
|label12   = [[Fichier:IconHealth.png|alt=|16px]] Points de vie
|data12   = {{#if: {{{creator|}}} | [[Utilisateur:{{{creator}}} | {{{creator}}}]] | Aucun }}
|data12   = {{{pv|}}}
|label13   = [[Fichier:IconClock.png|alt=|16px]] Date de création
|label13   = [[Fichier:IconCreatorNPC.png|alt=|16px]] Créateur
|data13   = {{{datecreate|}}}
|data13   = {{#if: {{{creator|}}} | [[Utilisateur:{{{creator}}} | {{{creator}}}]] | Aucun }}
|label14   = [[Fichier:IconClock.png|alt=|16px]] Date de création
|data14   = {{{datecreate|}}}
}}
}}
<includeonly>[[Catégorie:Personnages]]</includeonly>
<includeonly>[[Catégorie:Personnages]]</includeonly>
Ligne 106 : Ligne 109 :
"example": "2017, Janvier 2020, 15 Novembre 2018",
"example": "2017, Janvier 2020, 15 Novembre 2018",
"type": "date"
"type": "date"
},
"species": {
"label": "Espèce",
"description": "L'espèce du personnage",
"example": "\"Humain\" \"Zombie\" \"Loup-Garou\"",
"default": "Humain"
}
}
},
},
"description": "Infobox utilisée pour les personnages."
"description": "Infobox utilisée pour les personnages.",
"paramOrder": [
"title",
"concatName",
"area",
"faction",
"species",
"titleNpc",
"fonction",
"familly",
"surnames",
"status",
"pv",
"creator",
"datecreate"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>