« 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 |
||
Ligne 12 : | Ligne 12 : | ||
}} | }} | ||
|- | |- | ||
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | | ! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Informations générales | ||
|- | |- | ||
! scope=row | | ! scope=row | Fondation | ||
| ''{{{ | | ''{{{fondation}}}'' | ||
|- | |- | ||
! scope=row | | ! scope=row | Bourgmestre | ||
| | | ''{{{bourgmestre}}}'' | ||
|- | |||
{{#if:{{{guilde|}}} | | |||
! scope=row {{!}} Guilde(s) | |||
{{!}} {{{guilde}}} | |||
{{!-}} | |||
}} | |||
|- | |- | ||
! scope=row | Spécificité(s) | ! scope=row | Spécificité(s) | ||
| {{{spec}}} | | {{{spec}}} | ||
|- | |- | ||
{{#if:{{{projet|}}} | | |||
! scope=row {{!}} Projet | |||
{{!}} {{{projet}}} | |||
{{!-}} | |||
}} | |||
|- | |||
<!---------------------------------- 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;" | Économie | |||
|- | |||
{{#if:{{{production|}}} | | |||
! scope=row {{!}} Production | |||
{{!}} {{{production}}} | |||
{{!-}} | |||
}} | |||
|- | |||
{{#if:{{{commerce|}}} | | |||
! scope=row {{!}} Liens commerciaux | |||
{{!}} {{{commerce}}} | |||
{{!-}} | |||
}} | |||
<!---------------------------------- 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;" | | ! 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:{{{monde|}}} | | |||
! scope=row {{!}} Monde | |||
{{!}} {{{monde}}} | |||
{{!-}} | |||
}} | |||
|- | |||
{{#if:{{{région|}}} | | |||
! scope=row {{!}} Région(s) | |||
{{!}} {{{région}}} | |||
{{!-}} | |||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{coord|}}} | | ||
! scope=row {{!}} | ! scope=row {{!}} Coordonnées | ||
{{!}} {{{ | {{!}} {{{coord}}} | ||
{{!-}} | |||
}} | |||
|- | |||
{{#if:{{{biome|}}} | | |||
! scope=row {{!}} Biomes(s) | |||
{{!}} {{{biome}}} | |||
{{!-}} | {{!-}} | ||
}} | }} |
Version du 27 janvier 2015 à 07:59
- 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 :