« Modèle:Infobox Ville » : différence entre les versions
Aller à la navigation
Aller à la recherche
mAucun résumé des modifications |
mAucun résumé des modifications |
||
(2 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 52 : | Ligne 52 : | ||
<!---------------------------------- Partie 3 ----------------------------------> | <!---------------------------------- Partie 3 ----------------------------------> | ||
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Géographie | ! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Géographie | ||
|- | |||
{{#if: {{{carte|}}} | | |||
{{!}} colspan="5" style="font-size: smaller; text-align: center;" {{!}} [[Fichier:{{{carte}}}|{{#if:{{{taillecarte|}}}|{{{taillecarte}}}|280x200px}}|{{{légendecarte|{{PAGENAME}}}}}]]| | |||
}} | |||
|- | |- | ||
{{#if:{{{monde|}}} | | {{#if:{{{monde|}}} | | ||
Ligne 61 : | Ligne 65 : | ||
{{#if:{{{region|}}} | | {{#if:{{{region|}}} | | ||
! scope=row {{!}} Région(s) | ! scope=row {{!}} Région(s) | ||
{{!}} | {{!}} {{{region}}} | ||
{{!-}} | {{!-}} | ||
}} | }} |
Dernière version du 19 décembre 2015 à 20:17
- 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 | ||||
---|---|---|---|---|
![]() | ||||
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) | Värgen | |||
Coordonnées | -421150, 64, -54443 | |||
Biome(s) | Taïga |