Template:Level infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "beforealt" to "before_alt")
No edit summary
Line 6: Line 6:
| colspan="2" style="text-align:center" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|-
|-
{{#if:{{{code|}}}|{{!}} '''Level code''' {{!}}{{!}} {{{code|}}}}}
{{#if:{{{code|}}}|{{!}} '''Level code''' {{!}}{{!}} {{{code}}}}}
|-
|-
{{#if:{{{world|}}}|{{!}} '''World''' {{!}}{{!}} {{{world|}}}}}
{{#if:{{{world|}}}|{{!}} '''World''' {{!}}{{!}} {{{world}}}}}
|-
|-
{{#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}}}}}
|-
|-
{{#if:{{{theme|}}}|{{!}} '''Theme(s)''' {{!}}{{!}} {{{theme|}}}}}
{{#if:{{{theme|}}}|{{!}} '''Theme(s)''' {{!}}{{!}} {{{theme}}}}}
|-
|-
{{#if:{{{difficulty|}}}|{{!}} '''Difficulty''' {{!}}{{!}} {{difficulty|{{{difficulty|}}}|4}}}}
{{#if:{{{difficulty|}}}|{{!}} '''Difficulty''' {{!}}{{!}} {{difficulty|{{{difficulty}}}}}}}
|-
|-
{{#if:{{{objective|}}}|{{!}} '''Objectives''' {{!}}{{!}} {{{objective|}}}}}
{{#if:{{{objective|}}}|{{!}} '''Objectives''' {{!}}{{!}} {{{objective}}}}}
|-
|-
{{#if:{{{limit|}}}|{{!}} '''Time limit''' {{!}}{{!}} {{{limit|}}}}}
{{#if:{{{limit|}}}|{{!}} '''Time limit''' {{!}}{{!}} {{{limit}}}}}
|-
|-
{{#if:{{{cr_limit|}}}|{{!}} '''[[Coin Rush]] limit''' {{!}}{{!}} {{{cr_limit|}}}}}
{{#if:{{{cr_limit|}}}|{{!}} '''[[Coin Rush]] limit''' {{!}}{{!}} {{{cr_limit}}}}}
|-
|-
{{#if:{{{squad_level|}}}|{{!}} '''Enemy squad level''' {{!}}{{!}} {{{squad_level|}}}}}
{{#if:{{{squad_level|}}}|{{!}} '''Enemy squad level''' {{!}}{{!}} {{{squad_level}}}}}
|-
|-
{{#if:{{{boss|}}}|{{!}} '''Boss''' {{!}}{{!}} {{{boss|}}}}}
{{#if:{{{boss|}}}|{{!}} '''Boss''' {{!}}{{!}} {{{boss}}}}}
|-
|-
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song|}}}}}
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song}}}}}
|- style="background:#bcf" cellspacing="0"
|- style="background:#bcf" cellspacing="0"
| colspan="2" style="text-align:center" |{{#if:{{{before_alt|}}}|'''{{{before_alt}}}'''}} {{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|Directory of levels]]</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}} {{#if:{{{secret|}}}|'''{{{secret}}}'''}}
| colspan="2" style="text-align:center" |{{#if:{{{before_alt|}}}|'''{{{before_alt}}}'''}} {{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|Directory of levels]]</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}} {{#if:{{{secret|}}}|'''{{{secret}}}'''}}

Revision as of 11:23, May 3, 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 sans identifier. For special cases, 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.
|cr_limit= The level's Coin Rush time limit, if it appeared in New Super Mario Bros. 2.
|squad_level= 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_alt= Alternate preceding level(s), if applicable.
|before= The preceding level(s).
|after= The following level(s).
|secret= A secret level following after, if applicable.
{{level infobox
|title=
|image=
|code=
|world=
|id=
|game=
|style=
|theme=
|difficulty=
|objective=
|limit=
|cr_limit=
|squad_level=
|boss=
|song=
|before_alt=
|before=
|after=
|secret=
}}