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

aucun résumé des modifications
Aucun résumé des modifications
Aucun résumé des modifications
Ligne 2 : Ligne 2 :
|abovestyle = background:#deca8e;
|abovestyle = background:#deca8e;
|headerstyle = background:#e0c59d;
|headerstyle = background:#e0c59d;
|title    = {{{title}}}
|title    = {{#if: {{{title|}}} | {{{title}}} | {{BASEPAGENAME}} }}
|image    = {{#invoke:InfoboxImage|InfoboxImage|image={{{infoboxPicture}}}.png| size=480px}}
|image    = {{#invoke:InfoboxImage|InfoboxImage|image=Infobox{{#if: {{{infoboxPicture|}}} | {{{infoboxPicture}}} | PlaceholderLieux }}.png | size=480px | maxsize=480px}}
|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={{{dynmapWorld}}}&mapname={{{dynmapView}}}&zoom={{{dynmapZoom}}}&x={{{xCoord}}}&y={{{yCoord}}}&z={{{zCoord}}} {{{xCoord}}}, {{{yCoord}}}, {{{zCoord}}}]
|data2    = [https://map.steamhouse.org/?worldname={{#if: {{{dynmapWorld|}}} | {{{dynmapWorld}}} | world }}&mapname={{#ifeq: {{{dynmapView|}}} | surface | surface | flat }}&zoom={{#if: {{{dynmapZoom|}}} | {{{dynmapZoom}}} | 0 }}&x={{{xCoord}}}&y={{{yCoord}}}&z={{{zCoord}}} {{{xCoord}}}, {{{yCoord}}}, {{{zCoord}}}]
|label3  = [[Fichier:IconFaction.png|alt=|16px]] Faction
|label3  = [[Fichier:IconFaction.png|alt=|16px]] Faction
|data3    = [[{{{faction}}} (Faction)| {{{faction}}}]][[Catégorie:{{{faction}}}]]
|data3    = {{#if: {{{faction|}}} | [[{{{faction}}} (Faction)| {{{faction}}}]][[Catégorie:{{{faction}}}]] | Aucune }}
|label4  = [[Fichier:IconLocalisation.png|alt=|16px]] Localisation
|label4  = [[Fichier:IconLocalisation.png|alt=|16px]] Localisation
|data4    = {{{localisation|}}}
|data4    = {{{localisation|}}}
|label5  = [[Fichier:IconTheme.png|alt=|16px]] Thème
|label5  = [[Fichier:IconTheme.png|alt=|16px]] Thème
|data5    = [{{{musicLink}}} Lien Youtube]
|data5    = {{#if: {{{musicLink|}}} | [{{{musicLink}}} Lien Youtube] | Pas de musique}}
|header6 = Type de lieu
|header6 = Type de lieu
|data7  = [[Fichier:IconPlaces{{{iconPlace}}}.png|alt=|64px]]
|data7  = [[Fichier:IconPlaces{{{iconPlace}}}.png|alt=|64px]]
|header9 = Métadonnées
|header9 = Métadonnées
|label10  = [[Fichier:IconCreatorNPC.png|alt=|16px]] Constructeur
|label10  = [[Fichier:IconCreatorNPC.png|alt=|16px]] Constructeur
|data10  = [[Utilisateur:{{{creator}}} | {{{creator}}}]]
|data10  = {{#if: {{{creator|}}} | [[Utilisateur:{{{creator}}} | {{{creator}}}]] | Aucun }}
|label13  = [[Fichier:IconCreatorNPC.png|alt=|16px]] avec l'aide de
|label13  = [[Fichier:IconCreatorNPC.png|alt=|16px]] avec l'aide de
|data13  = {{{contributors|}}}
|data13  = {{{contributors|}}}