Template:World infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Tags: Mobile edit Advanced mobile edit
 
(56 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=220px style="font-family: arial, sans-serif; padding: 4px; margin: 0 0 1.5em 1.5em; font-size: 11px; background-color: whitesmoke; border:1px solid #88a; color:black"
<templatestyles src="World infobox/styles.css"/>
| align="center" colspan="2" bgcolor="whitesmoke" style="font-size:120%;" | '''<span style="color:black;">Platformer World</span>'''
{| id="world" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| align="center" colspan="2" bgcolor="palegreen" style="font-size:125%;" | '''<span style="color:black;">{{{title|{{PAGENAME}}}}}</span>'''
| colspan="2" style="text-align:center" | {{{image|}}}
|-
{{#if:{{{description|}}}|
! colspan="2" {{!}} Description
{{!}}-
{{!}} colspan="2" style="text-align:center" {{!}} {{{description}}}
}}
|-
{{#if:{{{game|}}}|
{{!}} '''Game'''
{{!}} {{{game}}}
}}
|-
{{#if:{{{levels|}}}|
{{!}} '''Level(s)'''
{{!}} {{{levels}}}
}}
|-
| colspan="2" style="text-align:center" | {{#if:{{{before_alt|}}}|'''{{{before_alt}}}'''}} '''{{{before|<<}}}''' <span style="font-size:97%">[[World|List of worlds]]</span> '''{{{after|>>}}}''' {{#if:{{{secret|}}}|'''{{{secret}}}'''}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
|- style="vertical-align: top"
{{#if:{{{app|}}}|{{!}}- style="background:palegreen; vertical-align: top;"
{{!}} '''Appearance'''
{{!}} style="width:17em" {{!}} {{{app}}}
|}}
|- style="vertical-align: top"
{{#if:{{{lev|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Levels'''
{{!}} {{{lev}}}
|}}
|- style="background:palegreen" cellspacing=0
| colspan=2 align="center" | '''{{{before|<<}}}''' <span style="font-size:97%">[[World|List of Worlds]]</span> '''{{{after|>>}}}'''{{#if:{{{secret|}}}|'''{{{secret}}}'''}}
|- style="vertical-align: top"
{{#if:{{{map|}}}|
{{#if:{{{map|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" width="100%" style="background:palegreen;" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%" cellspacing="0"
! style="padding:2px;" {{!}} World Map
! style="padding:2px !important" {{!}} World map
{{!}}-
{{!}}-
{{!}} style="background:whitesmoke; padding:0 2px;" {{!}} {{{map}}}
{{!}} style="text-align:center;padding:0 2px !important" {{!}} {{{map}}}
{{!}}}
{{!}}}
|}}
}}
|}
|}<noinclude>{{br}}
==Usage==
<pre>
{{world infobox
|title=the name of the world; only use if different from the article title sans identifier.
|image=an image of the world.
|description=a description of the world
|game=the game(s) that the world appears in.
|levels=the number of levels plus any boss levels.
|before_alt=alternate previous world(s), if applicable.
|before=the previous world.
|after=the following world.
|secret=a secret world following after, if applicable.
|map=an official map of the world.
}}
</pre>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 17:44, June 10, 2024

World infobox
<< List of worlds >>

Usage

{{world infobox
|title=the name of the world; only use if different from the article title sans identifier.
|image=an image of the world.
|description=a description of the world
|game=the game(s) that the world appears in.
|levels=the number of levels plus any boss levels.
|before_alt=alternate previous world(s), if applicable.
|before=the previous world.
|after=the following world.
|secret=a secret world following after, if applicable.
|map=an official map of the world.
}}