« Modèle:Personnage » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (11 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
<div class="infobox"> | <div class="infobox"> | ||
{| class="infobox-table" | {| class="infobox-table" | ||
! colspan="2" class="infobox-title" | {{{nom}}} | ! colspan="2" class="infobox-title" | {{{nom|{{SUBPAGENAME}} }}} | ||
{{#if: {{{image}}} | | |||
|- | |- | ||
| colspan="2" style="text-align:center;" | | | colspan="2" style="text-align:center;" | {{{image}}} | ||
}} | |||
|- | |- | ||
! Naissance | ! Naissance | ||
| {{{naissance|Inconnue}}} | | {{{naissance|Inconnue}}} | ||
|- | |- | ||
! | ! Mort | ||
| {{{ | | {{{Mort|Inconnue}}} | ||
|- | |||
! Sexe | |||
| {{{Sexe|Inconnu}}} | |||
|- | |||
! Espèce | |||
| {{{Espèce|Inconnue}}} | |||
|- | |||
! Fonction | |||
| {{{Fonction|Inconnue}}} | |||
|- | |- | ||
! | ! Allegence | ||
| {{{ | | {{{allegence|Inconnue}}} | ||
|} | |} | ||
</div> | </div> | ||
| Ligne 21 : | Ligne 36 : | ||
<noinclude> | <noinclude> | ||
== Modèle : | == Modèle : Personnage == | ||
Ce modèle affiche une fiche descriptive d’un personnage. | Ce modèle affiche une fiche descriptive d’un personnage. | ||
| Ligne 31 : | Ligne 46 : | ||
"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": { | ||
"label": "Image", | "label": "Image", | ||
"description": "Image affichée dans l’infobox (ex | "description": "Image affichée dans l’infobox (ex : exemple.jpg).", | ||
"type": "content", | "type": "content", | ||
"required": false | "required": false | ||
}, | }, | ||
| Ligne 52 : | Ligne 60 : | ||
"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": " | |||
} | } | ||
} | }, | ||
"paramOrder": [ | |||
"nom", | |||
"image", | |||
"naissance", | |||
"Mort", | |||
"Sexe", | |||
"Espèce", | |||
"Fonction", | |||
"allegence" | |||
] | |||
} | } | ||
</templatedata> | </templatedata> | ||
</noinclude> | </noinclude> | ||
Version du 12 avril 2026 à 14:54
| Personnage
| |
|---|---|
| Naissance | Inconnue |
| Mort | Inconnue |
| Sexe | Inconnu |
| Espèce | Inconnue |
| Fonction | Inconnue |
| Allegence | Inconnue |
Modèle : Personnage
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 |