Template:World infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
Nikenpelle (talk | contribs) No edit summary |
||
(25 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width:280px | <templatestyles src="World infobox/styles.css"/> | ||
{| id="world" class="infobox" style="width:280px" | |||
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}} | |||
|- | |- | ||
| colspan="2" style=" | | colspan="2" style="text-align:center" | {{{image|}}} | ||
|- | |- | ||
{{#if:{{{game|}}}| | |||
{{!}} '''Game''' | |||
{{#if:{{{ | {{!}} {{{game}}} | ||
{{!}} ''' | }} | ||
|- | |- | ||
{{#if:{{{ | {{#if:{{{levels|}}}| | ||
{{!}} ''' | {{!}} '''Level(s)''' | ||
{{!}} {{{ | {{!}} {{{levels}}} | ||
}} | |||
|- | |- | ||
| colspan=2 | | 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" {{!}} | {{!}} colspan="2" style="padding:0 !important" {{!}} | ||
{{{!}} class="mw-collapsible mw-collapsed" | {{{!}} class="mw-collapsible mw-collapsed" style="width:100%" cellspacing="0" | ||
! style=" | ! style="padding:2px !important" {{!}} World map | ||
{{!}}- | {{!}}- | ||
{{!}} style=" | {{!}} style="text-align:center;padding:0 2px !important" {{!}} {{{map}}} | ||
{{!}}} | {{!}}} | ||
}} | |||
|}<noinclude>{{br}} | |}<noinclude>{{br}} | ||
==Usage== | ==Usage== | ||
<pre> | <pre> | ||
{{ | {{world infobox | ||
|title = | |title=the name of the world; only use if different from the article title sans identifier. | ||
|image = | |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 = | |after=the following world. | ||
|secret = | |secret=a secret world following after, if applicable. | ||
|map = | |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. }}