« Modèle:Infobox Construction » : différence entre les versions
Aller à la navigation
Aller à la recherche
Aucun résumé des modifications |
mAucun résumé des modifications |
||
(14 versions intermédiaires par le même utilisateur non affichées) | |||
Ligne 5 : | Ligne 5 : | ||
<!---------------------------------- Partie 1 ----------------------------------> | <!---------------------------------- Partie 1 ----------------------------------> | ||
{| class="infobox_v2" cellspacing="7" | {| class="infobox_v2" cellspacing="7" | ||
<!---------------------------------- Partie 2 ----------------------------------> | <!---------------------------------- Partie 2 OBLIGATOIRE ----------------------------------> | ||
! colspan="2" class="entete. | ! colspan="2" class="entete construction" 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 17 : | Ligne 17 : | ||
| {{{auteur}}} | | {{{auteur}}} | ||
|- | |- | ||
! scope=row | | {{#if:{{{fonction|}}} | | ||
| | ! scope=row {{!}} Fonction | ||
{{!}} {{{fonction}}} | |||
{{!-}} | |||
}} | |||
|- | |||
<!---------------------------------- Partie 3 FACULTATIF ----------------------------------> | |||
! 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:{{{ville|}}} | | |||
! scope=row {{!}} Ville | |||
{{!}} [[{{{ville}}}]] | |||
{{!-}} | |||
}} | |||
|- | |- | ||
! scope=row | {{#if:{{{guilde|}}} | | ||
! scope=row {{!}} Guilde | |||
{{!}} [[{{{guilde}}}]] | |||
{{!-}} | |||
}} | |||
|- | |- | ||
{{#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}}}]'' | |||
{{!-}} | |||
}} | |||
|} | |} | ||
</includeonly> | </includeonly> | ||
<noinclude>[[Catégorie: | <noinclude>[[Catégorie:Infobox]]</noinclude> |
Dernière version du 22 décembre 2015 à 14:47
- Utilisation
La syntaxe est de la forme :
{{Infobox Construction| image = | auteur = | fonction = | guilde = | x = | y = | z = | monde = | ville = }}
- Exemple
{{Infobox Construction | image = Screen Prisondunord.png | auteur = Herode | x = -420681 | y = 65 | z = -55037 | monde = Harlan | fonction = Prison }}
- donne :
Prison du Nord | ||||
---|---|---|---|---|
![]() | ||||
Définition | ||||
Auteur | Herode | |||
Fonction | Prison | |||
Géographie | ||||
Monde | Harlan | |||
Coordonnées | -420681, 65, -55037 |