Template:Level infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" style="width:220px;background:#f7f8ff;border:1px solid #88a"
{| class="infobox" style="width:220px;background:#f7f8ff;border:1px solid #88a"
! colspan="2" align="center" style="font-size:120%;background:#bbccea" | Level
! colspan="2" style="font-size:120%;background:#bbccea" | Level
|-
|-
| colspan="2" align="center" style="font-size:125%;background:#ccddfa" | {{{title|{{PAGENAME}}}}}
| colspan="2" style="font-size:125%;background:#ccddfa;text-align:center" | {{{title|{{PAGENAME}}}}}
|-
|-
| colspan="2" align="center" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|-
|-
{{#if:{{{code|}}}|{{!}} '''World-Level''' {{!}}{{!}} {{{code|}}}}}
{{#if:{{{code|}}}|{{!}} '''World-Level''' {{!}}{{!}} {{{code|}}}}}
Line 12: Line 12:
{{#if:{{{id|}}}|{{!}} '''Course ID''' {{!}}{{!}} {{{id|}}}}}
{{#if:{{{id|}}}|{{!}} '''Course ID''' {{!}}{{!}} {{{id|}}}}}
|-
|-
|'''Game'''
| '''Game'''
|style=width:12em|{{{game|}}}
| style="width:12em" | {{{game|}}}
|-
|-
{{#if:{{{style|}}}|{{!}} '''Game style''' {{!}}{{!}} {{{style|}}}}}
{{#if:{{{style|}}}|{{!}} '''Game style''' {{!}}{{!}} {{{style|}}}}}
Line 32: Line 32:
|-
|-
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song|}}}}}
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song|}}}}}
|-style="background:#bcf" cellspacing=0
|- style="background:#bcf" cellspacing="0"
|colspan=2 align=center|{{#if:{{{beforealt|}}}|'''{{{beforealt}}}'''}} {{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:{{{levelslist|Category:Levels}}}|{{#if:{{{levelslist|}}}|List|Directory}} of levels]]</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}} {{#if:{{{secret|}}}|'''{{{secret}}}'''}}
| colspan="2" style="text-align:center" |{{#if:{{{beforealt|}}}|'''{{{beforealt}}}'''}} {{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:{{{levelslist|Category:Levels}}}|{{#if:{{{levelslist|}}}|List|Directory}} of levels]]</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}} {{#if:{{{secret|}}}|'''{{{secret}}}'''}}
|}<noinclude>{{br}}
|}<noinclude>{{br}}
==Usage==
==Usage==

Revision as of 13:22, April 19, 2022

Level
Level infobox
Game
<< Directory of levels >>

Usage

Syntax
|title= By default, this is not necessary, as it will automatically use the article title. When this is not desirable (e.g., where there is a (disambiguation) tag in the article title), it can be manually specified.
|image= A representative image of the level - ideally, the level's most recognizable feature.
|code= The level's "world-level" ID in the game it appears in.
|world= The world that the level is featured in.
|id= The level's course ID, if it appears in Super Mario Maker or Super Mario Maker 2.
|game= The game(s) that the level appeared in.
|style= The level's game style, if it appears in Super Mario Maker or Super Mario Maker 2.
|theme= The level's theme, if it appears in Super Mario Maker or Super Mario Maker 2.
|difficulty= The level's difficulty (star rating out of 4), if it appears in Super Mario Maker 2.
|objective= The level's clear objective, if it appears in Mario + Rabbids Kingdom Battle or Super Mario Maker 2.
|limit= The level's time limit.
|coinlimit= The level's Coin Rush time limit, if it appeared in New Super Mario Bros. 2.
|squadlevel= The level's enemy squad level, if it appears in Mario & Luigi: Superstar Saga + Bowser's Minions or Mario & Luigi: Bowser's Inside Story + Bowser Jr.'s Journey.
|boss= The level's boss, if there is one.
|song= The main music that plays during the level. Include the track name, and then its media file if it has been uploaded.
|before= The preceding level(s).
|after= The following level(s).
{{level infobox
|title=
|image=
|code=
|world=
|id=
|game=
|style=
|theme=
|objective=
|limit=
|coinlimit=
|squadlevel=
|boss=
|beforealt=
|before=
|after=
|secret=
|song=
}}