« Modèle:Infobox Construction » : différence entre les versions

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
Aucun résumé des modifications
Hiob (discussion | contributions)
mAucun résumé des modifications
 
(8 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 construction"  style="background-color:rgb(0,154,203); font-size:18px"| {{{nom|{{PAGENAME}}}}}
! 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 | Coordonnées
{{#if:{{{fonction|}}} |
| ''{{{coord}}}''
! 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 | Fonction
{{#if:{{{guilde|}}} |
| {{{fonction}}}  
! 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:infobox]]</noinclude>
<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
Infobox Construction
Définition
Auteur Herode
Fonction Prison
Géographie
Monde Harlan
Coordonnées -420681, 65, -55037