« Modèle:Infobox Ville » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
mAucun résumé des modifications |
||
(18 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 6 : | Ligne 6 : | ||
{| class="infobox_v2" cellspacing="7" | {| class="infobox_v2" cellspacing="7" | ||
<!---------------------------------- Partie 2 ----------------------------------> | <!---------------------------------- Partie 2 ----------------------------------> | ||
! colspan="2" class="entete ville" style=" | ! colspan="2" class="entete ville" style="color:#fff; font-size:1.4em; color:#fff; text-shadow:0.1em 0.1em 0.1em #000"| {{{nom|{{PAGENAME}}}}} | ||
|- | |- | ||
{{#if: {{{image|}}} | | {{#if: {{{image|}}} | | ||
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 ----------------------------------> | <!---------------------------------- 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;" | Économie | ||
|- | |||
{{#if:{{{production|}}} | | |||
! scope=row {{!}} Production | |||
{{!}} {{{production}}} | |||
{{!-}} | |||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{commerce|}}} | | ||
! scope=row {{!}} | ! scope=row {{!}} Liens commerciaux | ||
{{!}} {{{ | {{!}} {{{commerce}}} | ||
{{!-}} | |||
}} | |||
<!---------------------------------- 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 | |||
|- | |||
{{#if: {{{carte|}}} | | |||
{{!}} colspan="5" style="font-size: smaller; text-align: center;" {{!}} [[Fichier:{{{carte}}}|{{#if:{{{taillecarte|}}}|{{{taillecarte}}}|280x200px}}|{{{légendecarte|{{PAGENAME}}}}}]]| | |||
}} | |||
|- | |||
{{#if:{{{monde|}}} | | |||
! scope=row {{!}} Monde | |||
{{!}} [[{{{monde}}}]] | |||
{{!-}} | |||
}} | |||
|- | |||
{{#if:{{{region|}}} | | |||
! scope=row {{!}} Région(s) | |||
{{!}} {{{region}}} | |||
{{!-}} | |||
}} | |||
|- | |||
{{#if:{{{x|}}}{{{y|}}}{{{{z|}}}| | |||
! scope=row {{!}} Coordonnées | |||
{{!}} ''[https://map.nefald.fr/?worldname=Harlan2&mapname=surface&zoom=4&x={{{x}}}&y={{{y}}}&z={{{z}}} {{{x}}}, {{{y}}}, {{{z}}}]'' | |||
{{!-}} | {{!-}} | ||
}} | }} | ||
|- | |||
{{#if:{{{biome|}}} | | |||
! scope=row {{!}} Biome(s) | |||
{{!}} {{{biome}}} | |||
{{!-}} | |||
}} | }} | ||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Catégorie: | <noinclude>[[Catégorie:Infobox]]</noinclude> |
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 |