« Modèle:Personnage » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (7 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 3 : | Ligne 3 : | ||
! colspan="2" class="infobox-title" | {{{nom|{{SUBPAGENAME}} }}} | ! colspan="2" class="infobox-title" | {{{nom|{{SUBPAGENAME}} }}} | ||
{{#if: {{{image}}} | | {{#if:{{{image|}}}|{{!}}- | ||
{{!}} colspan="2" style="text-align:center;" {{!}} [[Fichier:{{{image}}}|250px]] | |||
}} | |||
|- | |- | ||
! Naissance | |||
}} | | {{{naissance|Inconnue}}} | ||
|- | |||
! Mort | |||
| {{{Mort|Inconnue}}} | |||
|- | |- | ||
! | ! Sexe | ||
| {{{ | | {{{Sexe|Inconnu}}} | ||
|- | |- | ||
! | ! Espèce | ||
| {{{ | | {{{Espèce|Inconnue}}} | ||
|- | |- | ||
! | ! Fonction | ||
| {{{ | | {{{Fonction|Inconnue}}} | ||
|- | |- | ||
! | ! Allégence | ||
| {{{ | | {{{allegence|Inconnue}}} | ||
|} | |} | ||
</div> | </div> | ||
| Ligne 38 : | Ligne 45 : | ||
"label": "Nom", | "label": "Nom", | ||
"description": "Nom principal affiché en haut de l’infobox.", | "description": "Nom principal affiché en haut de l’infobox.", | ||
"type": " | "type": "line" | ||
}, | }, | ||
"image": { | "image": { | ||
| Ligne 45 : | Ligne 51 : | ||
"description": "Image affichée dans l’infobox (ex : exemple.jpg).", | "description": "Image affichée dans l’infobox (ex : exemple.jpg).", | ||
"type": "content", | "type": "content", | ||
"required": false | "required": false | ||
}, | }, | ||
| Ligne 59 : | Ligne 59 : | ||
"required": false | "required": false | ||
}, | }, | ||
" | "Mort": { | ||
"label": " | "label": "Année de mort", | ||
"description": " | "description": "Date ou année de mort.", | ||
"type": " | "type": "line" | ||
" | }, | ||
"Sexe": { | |||
"type": "line" | |||
}, | |||
"Espèce": { | |||
"type": "line" | |||
}, | |||
"Fonction": { | |||
"type": "string" | |||
}, | }, | ||
" | "allegence": { | ||
"type": "string" | |||
"type": " | |||
} | } | ||
}, | }, | ||
| Ligne 74 : | Ligne 80 : | ||
"nom", | "nom", | ||
"image", | "image", | ||
"naissance", | "naissance", | ||
" | "Mort", | ||
" | "Sexe", | ||
"Espèce", | |||
"Fonction", | |||
"allegence" | |||
] | ] | ||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Dernière version du 15 avril 2026 à 09:05
| Personnage
| |
|---|---|
| Naissance | Inconnue |
| Mort | Inconnue |
| Sexe | Inconnu |
| Espèce | Inconnue |
| Fonction | Inconnue |
| Allégence | Inconnue |
Modèle : Personnage
[modifier le wikicode]Ce modèle affiche une fiche descriptive d’un personnage.
Infobox pour décrire un personnage.
| Paramètre | Description | Type | État | |
|---|---|---|---|---|
| Nom | nom | Nom principal affiché en haut de l’infobox. | Ligne de texte | facultatif |
| Image | image | Image affichée dans l’infobox (ex : exemple.jpg). | Contenu | facultatif |
| Naissance | naissance | Date ou année de naissance. | Chaîne | facultatif |
| Année de mort | Mort | Date ou année de mort. | Ligne de texte | facultatif |
| Sexe | Sexe | aucune description | Ligne de texte | facultatif |
| Espèce | Espèce | aucune description | Ligne de texte | facultatif |
| Fonction | Fonction | aucune description | Chaîne | facultatif |
| allegence | allegence | aucune description | Chaîne | facultatif |