« 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 55 : Ligne 55 :
{{#if:{{{monde|}}} |  
{{#if:{{{monde|}}} |  
! scope=row {{!}} Monde
! scope=row {{!}} Monde
{{!}} {{{monde}}}
{{!}} [[{{{monde}}}]]
{{!-}}
{{!-}}
}}
}}
Ligne 67 : Ligne 67 :
{{#if:{{{coord|}}} |  
{{#if:{{{coord|}}} |  
! scope=row {{!}} Coordonnées
! scope=row {{!}} Coordonnées
{{!}} <code>{{{coord}}}</code>
{{!}} ''[http://map.nefald.fr/?worldname=Harlan2&mapname=surface&zoom=3& {{{coord}}}]''
{{!-}}
{{!-}}
}}
}}

Version du 27 janvier 2015 à 08:47


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 :


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]]
Biomes(s) Taïga