Template:Infobox World: Difference between revisions

From Chibi-Robo! Wiki
Jump to navigation Jump to search
(Created page with "<infobox theme="purple"> <title source="name"><default>{{PAGENAME}}</default></title> <image source="image"/> <data source="game"><label>Game(s)</label></data> <data sourc...")
 
(New Template)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<infobox theme="purple">
{| 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 row-items="1" collapse="closed">
}}
    <header>Music</header>
|-
    <data source="music"><format><center>{{{music}}}</format></data>
{{#if:{{{jp name|}}}|
</group>
{{!}} '''Jp name'''
<group layout="horizontal">
! colspan="2" {{!}} {{{jp name}}}
<header>World Navigation</header>
}}
<data source="prewor"><label>Previous world</label><format><center>{{{prewor}}}</center></format><default><center>N/A</center></default></data>
|-
<data source="nxtwor"><label>Next world</label><format><center>{{{nxtwor}}}</center></format><default><center>N/A</center></default></data>
{{#if:{{{appearances|}}}|
</group>
{{!}} '''Appearances'''
</infobox>
! 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>

Latest revision as of 00:02, 1 July 2024

{{{name}}}
World Navigation

Usage & preview

Type in 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]]
}}

to see this:

North America
ZL Icon World 5 North America.png
ZL World 5 North America BG.png
Appearances Chibi-Robo! Zip Lash
ZL Icon Toy Present.png
Drake Redcrest
ZL Icon Snacks.png
9 Snacks
ZL Icon Outfits.png
5 Outfits
World Navigation
Previous World
Europe
Next World
The South Pole