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

aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
 
(7 versions intermédiaires par le même utilisateur non affichées)
Ligne 6 : Ligne 6 :
|header1 = Informations générales
|header1 = Informations générales
|label2  = [[Fichier:IconDynmap.png|alt=|16px]] Coordonnées
|label2  = [[Fichier:IconDynmap.png|alt=|16px]] Coordonnées
|data2    = [https://map.steamhouse.org/?worldname={{#if: {{{dynmapWorld|}}} | {{{dynmapWorld}}} | world }}&mapname={{#ifeq: {{{dynmapView|}}} | surface | surface | flat }}&zoom={{#if: {{{dynmapZoom|}}} | {{{dynmapZoom}}} | 0 }}&x={{#if: {{{xCoord|}}} | {{{xCoord}}} | 0}}&y={{#if: {{{yCoord|}}} | {{{yCoord}}} | 0}}&z={{#if: {{{zCoord|}}} | {{{zCoord}}} | 0}} {{#if: {{{xCoord|}}} | {{{xCoord}}} | 0}}, {{#if: {{{yCoord|}}} | {{{yCoord}}} | 0}}, {{#if: {{{zCoord|}}} | {{{zCoord}}} | 0}}]
|data2    = [https://map.steamhouse.org/?worldname={{#if: {{{dynmapWorld|}}} | {{{dynmapWorld}}} | world }}&mapname={{#ifeq: {{{dynmapView|}}} | surface | flat | surface }}&zoom={{#if: {{{dynmapZoom|}}} | {{{dynmapZoom}}} | 0 }}&x={{#if: {{{xCoord|}}} | {{{xCoord}}} | 0}}&y={{#if: {{{yCoord|}}} | {{{yCoord}}} | 0}}&z={{#if: {{{zCoord|}}} | {{{zCoord}}} | 0}} {{#if: {{{xCoord|}}} | {{{xCoord}}} | 0}}, {{#if: {{{yCoord|}}} | {{{yCoord}}} | 0}}, {{#if: {{{zCoord|}}} | {{{zCoord}}} | 0}}]
|label3  = [[Fichier:IconFaction.png|alt=|16px]] Faction
|label3   = [[Fichier:IconLocalisation.png|alt=|16px]] Localisation
|data3   = {{#if: {{{faction|}}} | [[{{{faction}}} (Faction)| {{{faction}}}]][[Catégorie:{{{faction}}}]] | Aucune }}
|data3    = {{{localisation|}}}
|label4   = [[Fichier:IconLocalisation.png|alt=|16px]] Localisation
|label4   = [[Fichier:IconFaction.png|alt=|16px]] Faction
|data4   = {{{localisation|}}}
|data4   = {{#if: {{{faction|}}} | [[{{{faction}}} (Faction)| {{{faction}}}]][[Catégorie:{{{faction}}}]]}}
|label5   = [[Fichier:IconTheme.png|alt=|16px]] Thème
|label5   = Date de création
|data5   = {{#if: {{{musicLink|}}} | [{{{musicLink}}} Lien Youtube] | Pas de musique}}
|data5   = {{{datelorecreate|}}}
|header6 = Type de lieu
|label6   = [[Fichier:IconTheme.png|alt=|16px]] Thème
|data7   = {{#if: {{{iconPlace|}}} | [[Fichier:IconPlaces{{{iconPlace}}}.png|alt=|64px]] | Pas d’icône }}
|data6   = {{#if: {{{musicLink|}}} | [{{{musicLink}}} Lien Youtube] | Pas de musique}}
|header7 = Type de lieu
|data8   = {{#if: {{{iconPlace|}}} | [[Fichier:IconPlaces{{{iconPlace}}}.png|alt=|64px]] | Pas d’icône }}
|header9 = Métadonnées
|header9 = Métadonnées
|label10  = [[Fichier:IconCreatorNPC.png|alt=|16px]] Constructeur
|label10  = [[Fichier:IconCreatorNPC.png|alt=|16px]] Constructeur
Ligne 74 : Ligne 76 :
"faction": {
"faction": {
"label": "Faction",
"label": "Faction",
"description": "La faction auquel appartient le PNJ",
"description": "La faction auquel appartient le lieu",
"example": "\"Revolution's Thunder\" \"Hostile\" \"Aucune\" \"Pacifique\"",
"example": "\"Revolution's Thunder\" \"Hostile\" \"Aucune\" \"Pacifique\"",
"type": "string"
"type": "string"
Ligne 97 : Ligne 99 :
"creator": {
"creator": {
"label": "Créateur",
"label": "Créateur",
"description": "Le nom du créateur du PNJ",
"description": "Qui a créé le lieu (IRL) ?",
"type": "wiki-user-name"
"type": "wiki-user-name"
},
},
"contributors": {
"contributors": {
"label": "Contributeurs",
"label": "Contributeurs",
"description": "Liste des contributeurs au projet",
"description": "Liste des contributeurs au projet (IRL)",
"type": "wiki-user-name"
"type": "string"
},
},
"datecreate": {
"datecreate": {
"label": "Date de création",
"label": "Date de création",
"description": "Quand le lieu à été construit",
"description": "Quand le lieu à été construit (IRL)",
"example": "2017, Janvier 2020, 15 Novembre 2018",
"example": "2017, Janvier 2020, 15 Novembre 2018",
"type": "date"
"type": "date"
},
"datelorecreate": {
"label": "Date de création (lore)",
"description": "Quand le lieu à été créé dans le lore",
"type": "string"
}
}
}
},
"description": "Infobox pour les lieux comme des maisons, des caves, etc",
"paramOrder": [
"title",
"infoboxPicture",
"dynmapWorld",
"dynmapView",
"dynmapZoom",
"xCoord",
"yCoord",
"zCoord",
"datelorecreate",
"faction",
"localisation",
"musicLink",
"iconPlace",
"creator",
"contributors",
"datecreate"
]
}
}
</templatedata>
</templatedata>
</noinclude>
</noinclude>