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

aucun résumé des modifications
(Page créée avec « {{Infobox |abovestyle = background:deca8e; |headerstyle = background:deca8e; |image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|maxsize=450px|size=450px|cen… »)
 
Aucun résumé des modifications
 
(12 versions intermédiaires par le même utilisateur non affichées)
Ligne 1 : Ligne 1 :
{{Infobox
{{Infobox
|abovestyle = background:deca8e;
|abovestyle = background:#deca8e;
|headerstyle = background:deca8e;
|headerstyle = background:#e0c59d;
|image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{image}}}|maxsize=450px|size=450px|center}}
|title    = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
|label1   = Biome
|image    = {{#invoke:InfoboxImage|InfoboxImage|image=Infobox{{#if: {{{infoboxPicture|}}} | {{{infoboxPicture}}} | PlaceholderLieux }}.png | size=480px | maxsize=480px}}
|data1   = [[{{{biome}}}|Catégorie:{{{biome}}}]]
|header1 = Informations générales
|label2   = Surnoms
|label2   = Biome
|data2   = {{{surnoms|}}}
|data2   = {{#if: {{{biome|}}} | [[{{{biome}}}]][[Catégorie:{{{biome}}}]] | }}
|label3   = Faction
|label3   = [[Fichier:IconLocalisation.png|alt=|16px]] Localisation
|data3   = [[{{{faction}}}|{{{faction}}}]]
|data3   = {{{area|}}}
|label4   = Date de création
|label4   = [[Fichier:IconFaction.png|alt=|16px]] Faction
|data4   = {{{date}}}
|data4   = {{#if: {{{faction|}}} | [[{{{faction}}} (Faction)| {{{faction}}}]][[Catégorie:{{{faction}}}]]}}
|label5  = Thème
|label5   = Date de création
|data5  = {{{theme}}}
|data5   = {{{datelorecreate|}}}
|label6   = Drapeau
|label6  = [[Fichier:IconTheme.png|alt=|16px]] Thème
|data6   = {{#invoke:InfoboxImage|InfoboxImage|image={{{drapeau}}}|maxsize=156px|size=156px|center}}
|data6    = {{#if: {{{musicLink|}}} | [{{{musicLink}}} Lien Youtube] | Pas de musique}}
|label7   = [[Fichier:IconFlag.png|alt=|16px]] Drapeau
|data7   = {{#if: {{{drapeau|}}} | [[Fichier:Flag{{{drapeau}}}.png|alt=|78px|center]]}}
|header9 = Métadonnées
|label10  = [[Fichier:IconCreatorNPC.png|alt=|16px]] Constructeur
|data10  = {{#if: {{{creator|}}} | [[Utilisateur:{{{creator}}} | {{{creator}}}]] | Aucun }}
|label13  = [[Fichier:IconCreatorNPC.png|alt=|16px]] avec l'aide de
|data13  = {{{contributors|}}}
|label14  = [[Fichier:IconClock.png|alt=|16px]] Date de création
|data14  = {{{datecreate|}}}
}}
}}
<includeonly>[[Catégorie:Lieux]]</includeonly>
<noinclude>
<templatedata>
{
"params": {
"title": {
"label": "Titre Infobox",
"description": "Titre de l'infobox",
"type": "string",
"default": "Le titre de la page"
},
"infoboxPicture": {
"label": "Nom normalisé",
"description": "Le nom normalisé de l'image, permettant l'affichage automatique de l'image d'infobox",
"example": "\"Abysses\" \"SpaceUnion\"",
"default": "PlaceholderLieux"
},
"biome": {
"label": "Biome",
"description": "Le biome du lieu",
"example": "\"Montagnes célestes\" \"Jungle des jugements\"",
"type": "string"
},
"area": {
"label": "Localisation",
"description": "Où se situe le lieu",
"example": "\"Revolution's Thunder\" \"Forêt de Travers\""
},
"faction": {
"label": "Faction",
"description": "La faction auquel appartient le lieu",
"example": "\"Revolution's Thunder\" \"Hostile\" \"Aucune\" \"Pacifique\""
},
"datelorecreate": {
"label": "Date de création (lore)",
"description": "Quand le lieu à été créé dans le lore",
"example": "2E - 203, 4E - 308",
"type": "string"
},
"musicLink": {
"label": "Musique",
"description": "Lien Youtube vers la musique du lieu",
"example": "https://www.youtube.com/watch?v=dQw4w9WgXcQ",
"default": "\"Pas de musique\""
},
"drapeau": {
"label": "Drapeau",
"description": "Drapeau du lieu avec le nom normalisé",
"type": "string"
},
"creator": {
"label": "Créateur",
"description": "Qui a créé le lieu (IRL) ?",
"type": "wiki-user-name"
},
"contributors": {
"label": "Contributeurs",
"description": "Liste des contributeurs au projet (IRL)",
"type": "string"
},
"datecreate": {
"label": "Date de création",
"description": "Quand le lieu à été construit (IRL)",
"example": "2017, Janvier 2020, 15 Novembre 2018",
"type": "date"
}
},
"description": "Infobox pour les lieux comme des villes, des villages, etc"
}
</templatedata>
</noinclude>