« Modèle:Personnage » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
Aucun résumé des modifications |
||
| (16 versions intermédiaires par le même utilisateur non affichées) | |||
| Ligne 1 : | Ligne 1 : | ||
<div class="infobox"> | |||
{| class="infobox-table" | |||
! colspan="2" class="infobox-title" | {{{nom|{{SUBPAGENAME}} }}} | |||
{{#if: {{{image}}} | | |||
|- | |||
| 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> | |||
<noinclude> | <noinclude> | ||
== Modèle : Personnage == | |||
Ce modèle affiche une fiche descriptive d’un personnage. | |||
<templatedata> | <templatedata> | ||
{ | { | ||
"description": "Infobox pour décrire | "description": "Infobox pour décrire un personnage.", | ||
"params": { | "params": { | ||
"nom": { | "nom": { | ||
"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 30 : | 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 |