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
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:280px;background:whitesmoke;border-color:#88a"
<templatestyles src="World infobox/styles.css"/>
! colspan="2" style="font-size:125%;background:palegreen" | {{{title|{{PAGETITLE}}}}}
{| id="world" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| colspan="2" style="text-align:center" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|- style="background:palegreen"
|-
{{#if:{{{appears_in|}}}|
{{#if:{{{game|}}}|
{{!}} '''Appears in'''
{{!}} '''Game'''
{{!}} {{{appears_in}}}
{{!}} {{{game}}}
}}
}}
|-
|-
Line 13: Line 14:
{{!}} {{{levels}}}
{{!}} {{{levels}}}
}}
}}
|- style="background:palegreen"
|-
| 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}}}'''}}
| 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}}}'''}}
|-
|-
{{#if:{{{map|}}}|
{{#if:{{{map|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%;background:whitesmoke" cellspacing="0"
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%" cellspacing="0"
! style="background:palegreen;padding:2px !important" {{!}} World map
! style="padding:2px !important" {{!}} World map
{{!}}-
{{!}}-
{{!}} style="text-align:center;padding:0 2px !important" {{!}} {{{map}}}
{{!}} style="text-align:center;padding:0 2px !important" {{!}} {{{map}}}
Line 28: Line 29:
<pre>
<pre>
{{world infobox
{{world infobox
|title=the name of the world; only use if different from the article title sans identifier
|title=the name of the world; only use if different from the article title sans identifier.
|image=an image of the world
|image=an image of the world.
|appears_in=the game(s) in which the world appears
|game=the game(s) that the world appears in.
|levels=the number of levels plus any boss levels
|levels=the number of levels plus any boss levels.
|before_alt=alternate previous world(s), if applicable
|before_alt=alternate previous world(s), if applicable.
|before=the previous world
|before=the previous world.
|after=the following world
|after=the following world.
|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>

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.
}}