Template:Infobox World: Difference between revisions

Jump to navigation Jump to search
New Template
m (Hoshcof moved page Template:World to Template:Infobox World)
(New Template)
 
Line 1: Line 1:
<infobox>
{| id="location" class="infobox" style="width:300px"
<title source="name"><default>{{PAGENAME}}</default></title>
! colspan="3" style="font-size:125%" | {{{title|{{{name}}}}}}
<image source="image"/>
|-
<data source="game"><label>Game(s)</label></data>
{{#if:{{{image|}}}{{{images|}}}|
<data source="levels"><label><nowiki>#</nowiki> of levels</label></data>
!colspan="3" style="text-align:center" class="infobox-image" {{!}}  {{#if: {{{images|}}}|{{{images}}}|[[File:{{{image|}}}]]}}
<group layout="horizontal">
}}
<header>World Navigation</header>
|-
<data source="prewor"><label>Previous world</label><format><center>{{{prewor}}}</center></format><default><center>N/A</center></default></data>
{{#if:{{{jp name|}}}|
<data source="nxtwor"><label>Next world</label><format><center>{{{nxtwor}}}</center></format><default><center>N/A</center></default></data>
{{!}} '''Jp name'''
</group>
! colspan="2" {{!}} {{{jp name}}}
</infobox>
}}
|-
{{#if:{{{appearances|}}}|
{{!}} '''Appearances'''
! colspan="2" {{!}} {{{appearances}}}
}}
|-
{{#if:{{{toy|}}}|
! style="text-align:center" {{!}} [[File:ZL Icon Toy Present.png|40px|center|link=Toy]] <span style="font-weight:bold">{{{toy}}}</span>
}}
{{#if:{{{snacks|}}}|
! style="text-align:center" {{!}} [[File:ZL Icon Snacks.png|40px|center|link=Snack]] {{{snacks}}} <span style="font-weight:bold">[[Snack]]s</span>
}}
{{#if:{{{outfits|}}}|
! style="text-align:center" {{!}} [[File:ZL Icon Outfits.png|40px|center|link=Outfit]] {{{outfits}}} <span style="font-weight:bold">[[Outfit]]s</span>
}}
|-
!colspan="3" style="text-align:center" {{!}} '''World Navigation'''
|-
{{#if:{{{prev world|}}}|
! style="text-align:center" {{!}} Previous World <br> {{{prev world}}}
}}
{{#if:{{{next world|}}}|
! colspan="2" style="text-align:center" {{!}} Next World <br> {{{next world}}}
}}
|}<noinclude>
 
= Usage & preview =
Type in this:
 
<pre>
{{Infobox World
|name=North America
|images=<tabber>Icon=[[File:ZL Icon World 5 North America.png]] |-|Background=[[File:ZL_World_5_North_America_BG.png]]</tabber>
|jp name=
|appearances=''[[Chibi-Robo! Zip Lash]]''
|toy=[[Drake Redcrest]]
|snacks=9
|outfits=5
|prev world=[[Europe]]
|next world=[[The South Pole]]
}}
</pre>
 
to see this:
 
{{Infobox World
|name=North America
|images=<tabber>Icon=[[File:ZL Icon World 5 North America.png]] |-|Background=[[File:ZL_World_5_North_America_BG.png]]</tabber>
|jp name=
|appearances=''[[Chibi-Robo! Zip Lash]]''
|toy=[[Drake Redcrest]]
|snacks=9
|outfits=5
|prev world=[[Europe]]
|next world=[[The South Pole]]
}}
 
[[Category:Templates]][[Category:Infoboxes]]
</noinclude>
Bureaucrats, content-moderator, emailconfirmed, Interface administrators, rollback, Suppressors, Administrators, threadmoderator
4,109

edits

Navigation menu