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

De Nefald Wiki
Aller à la navigation Aller à la recherche
Hiob (discussion | contributions)
Page créée avec « <!---------------------------------- Documentation -----------------------------> <noinclude>{{{{FULLPAGENAME}}/Documentation}} </noinclude> <includeonly> <!--------------... »
 
Hiob (discussion | contributions)
mAucun résumé des modifications
 
(9 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="background-color:#05c747; color:#fff; font-size:1.4em; color:#fff; text-shadow:0.1em 0.1em 0.1em #000"| {{{nom|{{PAGENAME}}}}}
! colspan="2" class="entete monde"  style="background-color:#86C705; 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;" | Définition
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Spécificités
|-
|-
! scope=row | Seed
! scope=row | Seed
| ''{{{seed}}}''
| <span style="color:#099DFF;">''{{{seed}}}''</span>
|-
|-
! scope=row | Type
! scope=row | Type
| {{{type}}}  
| {{{type}}}  
|-
|-
! scope=row | Spawn
{{#if:{{{x|}}}{{{y|}}}{{{{z|}}}|
| {{{spawn}}}
! scope=row {{!}} Spawn
{{!}} ''[https://map.nefald.fr/?worldname={{{monde}}}&mapname=surface&zoom=4&x={{{x}}}&y={{{y}}}&z={{{z}}} {{{x}}}, {{{y}}}, {{{z}}}]''
{{!-}}
}}
|-
|-
<!---------------------------------- 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;" | Accès
! colspan="2" class="infoboxcat" style="text-align=center; background-color:transparent; padding:3px; margin-top: 20px; border-bottom:1px solid #ccc; color:#099DFF;" | Autres infos
|-
{{#if:{{{status|}}} |
! scope=row {{!}} Status
{{!}} {{{status}}}
{{!-}}
}}
|-
|-
{{#if:{{{guilde|}}} |  
{{#if:{{{difficulté|}}} |  
! scope=row {{!}} Guilde(s)
! scope=row {{!}} Difficulté
{{!}} {{{guilde}}}
{{!}} {{{difficulté}}}
{{!-}}
{{!-}}
}}
}}
|}
|}
</includeonly>
</includeonly>
<noinclude>[[Catégorie:infobox]]</noinclude>
<noinclude>[[Catégorie:Infobox]]</noinclude>

Dernière version du 9 février 2016 à 13:57


Utilisation


La syntaxe est de la forme :

{{Infobox Monde| image = | seed = | type = | monde = | x = | y = | z = | difficulté = Facile | status = }}


Exemple
{{Infobox Monde
| image = Le nouveau Spawn.png
| seed = 7858525634658317471
| type = Normal
| monde = Harlan2
| x = -421136
| y = 80
| z = -54397
| status = Monde principal
| difficulté = Facile
}}
  • donne :


Harlan
Infobox Monde
Spécificités
Seed 7858525634658317471
Type Normal
Spawn -421136, 80, -54397
Autres infos
Status Monde principal
Difficulté Facile