Template:World infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "<noinclude> [[" to "<noinclude>[[") |
No edit summary Tags: Mobile edit Advanced mobile edit |
||
(45 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" | <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:{{{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}}}'''}} | |||
|- | |- | ||
{{#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}} | ||
==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. }}