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

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
mAucun résumé des modifications
Hiob (discussion | contributions)
mAucun résumé des modifications
Ligne 67 : Ligne 67 :
{{#if:{{x|}}{{#if:{{y|}}{{#if:{{z|}}|
{{#if:{{x|}}{{#if:{{y|}}{{#if:{{z|}}|
! scope=row {{!}} Coordonnées
! scope=row {{!}} Coordonnées
{{!}} ''[https://map.nefald.fr/?worldname=Harlan2&mapname=surface&zoom=3&x={{{x}}}&y={{{y}}}&z={{{z}}} {{{x}}} {{{y}}} {{{z}}}]''
{{!}} ''[https://map.nefald.fr/?worldname=Harlan2&mapname=surface&zoom=4&x={{{x}}}&y={{{y}}}&z={{{z}}} {{{x}}} {{{y}}} {{{z}}}]''
{{!-}}
{{!-}}
}}
}}

Version du 19 décembre 2015 à 16:25


Utilisation

La syntaxe est de la forme :

{{Infobox Ville| image = | fondation = | bourgmestre = | guilde = | spec = | projet = | production = | commerce = | monde = | region = | x = | y = | z = | biome = }}


Exemple

{{Infobox Ville| image = Carte Nefald 3d.jpg | fondation = ~800 av. G.C. | bourgmestre = Intendance | guilde = Toute guilde | spec = Capitale | projet = ''N/A'' | production = Tout type | commerce = Tout commerce | monde = Harlan | region = [[Värgen]] | x = -421150 | y = 64 | z = -54443 | biome = Taïga }}


  • donne :


{{#if:Modèle:X{{#if:Modèle:Y! scope=row | Coordonnées
Infobox Ville
Infobox Ville
Informations générales
Fondation ~800 av. G.C.
Bourgmestre Intendance
Guilde(s) Toute guilde
Spécificité(s) Capitale
Projet N/A
Économie
Production Tout type
Liens commerciaux Tout commerce
Géographie
Monde Harlan
Région(s) [[Cantons et régions#Värgen|Värgen]]
-421150 64 -54443
Biome(s) Taïga