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
Line 1: Line 1:
{| class="infobox" style="width:280px;background:whitesmoke;border:1px solid #88a"
{| class="infobox" style="width:280px;background:whitesmoke;border:1px solid #88a"
! colspan="2" style="font-size:125%;background:palegreen" | {{{title|{{PAGENAME}}}}}
|-
|-
| colspan="2" style="font-size:125%; text-align: center;background:palegreen" | '''{{{title|{{PAGENAME}}}}}'''
| colspan="2" style="text-align:center" | {{{image|}}}
|-
|align="center" colspan="2" | {{{image|}}}
|-  
|-  
{{#if:{{{app|}}}|{{!}}- style="background:palegreen"
{{#if:{{{app|}}}|{{!}}- style="background:palegreen"
Line 14: Line 13:
{{!}} {{{lev}}}
{{!}} {{{lev}}}
|}}
|}}
|- style="background:palegreen" cellspacing=0
|- style="background:palegreen" cellspacing="0"
| colspan=2 align="center" | {{#if:{{{beforealt|}}}|'''{{{beforealt}}}'''}} '''{{{before|<<}}}''' <span style="font-size:97%">[[World|List of worlds]]</span> '''{{{after|>>}}}''' {{#if:{{{secret|}}}|'''{{{secret}}}'''}}
| colspan="2" style="text-align:center" | {{#if:{{{beforealt|}}}|'''{{{beforealt}}}'''}} '''{{{before|<<}}}''' <span style="font-size:97%">[[World|List of worlds]]</span> '''{{{after|>>}}}''' {{#if:{{{secret|}}}|'''{{{secret}}}'''}}
|-
|-
{{#if:{{{map|}}}|
{{#if:{{{map|}}}|
{{!}} colspan="2" style="padding:0" {{!}}
{{!}} colspan="2" style="padding:0" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" width="100%" style="background:whitesmoke" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%;background:whitesmoke" cellspacing="0" cellpadding="0" border="0"
! style="background:palegreen; padding:2px" {{!}} World map
! style="background:palegreen;padding:2px" {{!}} World map
{{!}}-
{{!}}-
{{!}} style="padding:0 2px; text-align: center" {{!}} {{{map}}}
{{!}} style="text-align:center;padding:0 2px" {{!}} {{{map}}}
{{!}}}
{{!}}}
|}}
|}}
Line 38: Line 37:
|secret = // a secret world following after, if applicable
|secret = // a secret world following after, if applicable
|map = An official map of the world
|map = An official map of the world
}}</pre>
}}
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Revision as of 20:43, April 19, 2022

World infobox
<< List of worlds >>

Usage

{{worldbox
|title = // the name of the world; only use if the article uses an identifier
|image = // an image of the world
|app = // the game(s) in which the world appears
|lev = // the number of levels plus any boss levels
|before = // the previous world
|beforealt = // alternate previous world(s), if applicable
|after = // the following world
|secret = // a secret world following after, if applicable
|map = An official map of the world
}}