« 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 5 : | Ligne 5 : | ||
{{#if: {{{image}}} | | {{#if: {{{image}}} | | ||
|- | |- | ||
| colspan="2" style="text-align:center;" | | | colspan="2" style="text-align:center;" | {{{image}}} | ||
}} | }} | ||
|- | |- | ||
! | ! Naissance | ||
| {{{ | | {{{naissance|Inconnue}}} | ||
|- | |- | ||
! | ! Mort | ||
| {{{ | | {{{Mort|Inconnue}}} | ||
|- | |||
! Sexe | |||
| {{{Sexe|Inconnu}}} | |||
|- | |||
! Espèce | |||
| {{{Espèce|Inconnue}}} | |||
|- | |- | ||
! | ! Fonction | ||
| {{{ | | {{{Fonction|Inconnue}}} | ||
|- | |- | ||
! | ! Allegence | ||
| {{{ | | {{{allegence|Inconnue}}} | ||
|} | |} | ||
</div> | </div> | ||
| Ligne 28 : | 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 38 : | 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": { | ||
| Ligne 45 : | Ligne 52 : | ||
"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 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": " | |||
} | } | ||
}, | }, | ||
| Ligne 74 : | Ligne 81 : | ||
"nom", | "nom", | ||
"image", | "image", | ||
"naissance", | "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 |