Template:World infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "{{map}}" to "<div>{{map}}</div>")
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
<templatestyles src="World infobox/styles.css"/>
{| id="world" class="infobox" style="width:280px"
{| id="world" class="infobox" style="width:280px"
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
Line 21: Line 22:
! style="padding:2px !important" {{!}} World map
! style="padding:2px !important" {{!}} World map
{{!}}-
{{!}}-
{{!}} style="text-align:center;padding:0 2px !important" {{!}} {<div>{{map}}</div>}
{{!}} style="text-align:center;padding:0 2px !important" {{!}} {{{map}}}
{{!}}}
{{!}}}
}}
}}
|}<templatestyles src="World infobox/styles.css"/><noinclude>{{br}}
|}<noinclude>{{br}}
==Usage==
==Usage==
<pre>
<pre>

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