Template:World infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "cellpadding=[^ ]+ cellspacing=[^0 ]+ " to "")
No edit summary
 
(34 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:220px; background-color:whitesmoke; border:1px solid #88a"
<templatestyles src="World infobox/styles.css"/>
| colspan="2" style="font-size:120%; text-align: center; background: whitesmoke;" | '''<span style="color:black;">World</span>'''
{| id="world" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| colspan="2" style="font-size:125%; text-align: center; background: palegreen;" | '''<span style="color:black;">{{{title|{{PAGENAME}}}}}</span>'''
| colspan="2" style="text-align:center" | {{{image|}}}
|-
{{#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" | {{#if:{{{beforealt|}}}|'''{{{beforealt}}}'''}} '''{{{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:whitesmoke;" border="0" cellpadding="0" cellspacing="0"
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%" cellspacing="0"
! style="background:palegreen; padding:2px;" {{!}} World map
! style="padding:2px !important" {{!}} World map
{{!}}-
{{!}}-
{{!}} style="padding:0 2px; text-align: center;" {{!}} {{{map}}}
{{!}} style="text-align:center;padding:0 2px !important" {{!}} {{{map}}}
{{!}}}
{{!}}}
|}}
}}
|}<noinclude>[[Category:Infobox templates]]</noinclude>
|}<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.
|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 10:13, February 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.
|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.
}}