Template:Level infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "{|class="infobox"" to "{| class="infobox"")
No edit summary
 
(48 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:220px;background:#f7f8ff;border:1px solid #88a"
{| class="infobox" style="width:220px;background:#f7f8ff;border-color:#88a"
|align=center colspan=2 bgcolor=#bbccea style=font-size:120%|'''Level'''
! colspan="2" style="font-size:120%;background:#bbccea" | Level
|-
|-
|align=center colspan=2 bgcolor=#ccddfa style=font-size:125%|{{{title|{{PAGENAME}}}}}
| colspan="2" style="font-size:125%;background:#ccddfa;text-align:center" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align=center colspan=2|{{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|-style=vertical-align:top
|-
{{#if:{{{code|}}}|{{!}} '''World-Level''' {{!}}{{!}} {{{code|}}}}}
{{#if:{{{code|}}}|
|-style=vertical-align:top
{{!}} '''Level code'''
{{#if:{{{world|}}}|{{!}} '''World''' {{!}}{{!}} {{{world|}}}}}
{{!}} {{{code}}}
|-style=vertical-align:top
}}
{{#if:{{{id|}}}|{{!}} '''Course ID''' {{!}}{{!}} {{{id|}}}}}
|-
|-style=vertical-align:top
{{#if:{{{world|}}}|
|'''Game'''
{{!}} '''World'''
|style=width:12em|{{{game|}}}
{{!}} {{{world}}}
|-style=vertical-align:top
}}
{{#if:{{{style|}}}|{{!}} '''Game style''' {{!}}{{!}} {{{style|}}}}}
|-
|-style=vertical-align:top
{{#if:{{{id|}}}|
{{#if:{{{theme|}}}|{{!}} '''Theme(s)''' {{!}}{{!}} {{{theme|}}}}}
{{!}} '''Course ID'''
|-style=vertical-align:top
{{!}} {{{id}}}
{{#if:{{{difficulty|}}}|{{!}} '''Difficulty''' {{!}}{{!}} {{difficulty|{{{difficulty|}}}|4}}}}
}}
|-style=vertical-align:top
|-
{{#if:{{{objective|}}}|{{!}} '''Objectives''' {{!}}{{!}} {{{objective|}}}}}
{{#if:{{{game|}}}|
|-style=vertical-align:top
{{!}} '''Game'''
{{#if:{{{limit|}}}|{{!}} '''Time limit''' {{!}}{{!}} {{{limit|}}}}}
{{!}} {{{game}}}
|-style=vertical-align:top
}}
{{#if:{{{coinlimit|}}}|{{!}} '''[[Coin Rush]] limit''' {{!}}{{!}} {{{coinlimit|}}}}}
|-
|-style=vertical-align:top
{{#if:{{{style|}}}|
{{#if:{{{squadlevel|}}}|{{!}} '''Enemy squad level''' {{!}}{{!}} {{{squadlevel|}}}}}
{{!}} '''Game style'''
|-style=vertical-align:top
{{!}} {{{style}}}
{{#if:{{{boss|}}}|{{!}} '''Boss''' {{!}}{{!}} {{{boss|}}}}}
}}
|-style=vertical-align:top
|-
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song|}}}}}
{{#if:{{{theme|}}}|
|-style="background:#bcf" cellspacing=0
{{!}} '''Theme(s)'''  
|colspan=2 align=center|{{#if:{{{beforealt|}}}|'''{{{beforealt}}}'''}} {{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:{{{levelslist|Category:Levels}}}|List of levels]]</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}} {{#if:{{{secret|}}}|'''{{{secret}}}'''}}
{{!}} {{{theme}}}
|}<noinclude>{{br}}[[Category:Infobox templates]]
}}
 
|-
{{#if:{{{difficulty|}}}|
{{!}} '''Difficulty'''
{{!}} {{{difficulty}}}
}}
|-
{{#if:{{{objective|}}}|
{{!}} '''Objective'''
{{!}} {{{objective}}}
}}
|-
{{#if:{{{powerup|}}}|
{{!}} '''Primary power-up'''
{{!}} {{{powerup}}}
}}
|-
{{#if:{{{limit|}}}|
{{!}} '''Time limit'''
{{!}} {{{limit}}}
}}
|-
{{#if:{{{turns|}}}|
{{!}} '''Turn limit'''
{{!}} {{{turns}}}
}}
|-
{{#if:{{{cr_limit|}}}|
{{!}} '''[[Coin Rush]] limit'''
{{!}} {{{cr_limit}}}
}}
|-
{{#if:{{{target|}}}|
{{!}} '''Target'''
{{!}} {{{target}}}
}}
|-
{{#if:{{{squad_level|}}}|
{{!}} '''Enemy squad level'''
{{!}} {{{squad_level}}}
}}
|-
{{#if:{{{wonder|}}}|
{{!}} '''Wonder Effect'''
{{!}} {{{wonder}}}
}}
|-
{{#if:{{{boss|}}}|
{{!}} '''Boss'''
{{!}} {{{boss}}}
}}
|-
{{#if:{{{track|}}}|
{{!}} '''Music track'''
{{!}} {{{track}}}
}}
|-
{{#if:{{{sample|}}}|
{{!}} colspan="2" style="padding:0 !important" {{!}}
{{{!}} class="mw-collapsible mw-collapsed" style="width:100%" cellspacing="0"
! style="background:#ccddfa" {{!}} Music sample
{{!}}-
{{!}} style="text-align:center;padding:0 2px !important" {{!}} {{{sample}}}
{{!}}}
}}
|- style="background:#bcf"
| 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}}}'''}}
|}<noinclude>{{br}}
==Usage==
==Usage==
{|border=1 style=border-collapse:collapse;width:70%;float:right;margin-left:1em; cellpadding=3
{|border=1 style="border-collapse:collapse;width:70%;float:right;margin:0 0 1em 1em" cellpadding=3
!colspan=2 bgcolor=#BBCCEA|Syntax
!colspan=2 bgcolor=#BBCCEA|Syntax
|-
|-
|&#124;title=
|&#124;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.
|By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified.
|-
|-
|&#124;image=
|&#124;image=
Line 48: Line 114:
|&#124;code=
|&#124;code=
|The level's "world-level" ID in the game it appears in.
|The level's "world-level" ID in the game it appears in.
|-
|&#124;world=
|The world that the level is featured in.
|-
|-
|&#124;id=
|&#124;id=
Line 53: Line 122:
|-
|-
|&#124;game=
|&#124;game=
|The game (s) that the level appeared in.
|The game(s) that the level appears in.
|-
|-
|&#124;style=
|&#124;style=
|The level's game style, if it appears in ''[[Super Mario Maker]]'' or ''[[Super Mario Maker 2]]''.
|The level's game style, if it appears in ''[[Super Mario Maker]]'' or ''[[Super Mario Maker 2]]'' (use {{tem|SMM style}}).
|-
|-
|&#124;theme=
|&#124;theme=
Line 62: Line 131:
|-
|-
|&#124;difficulty=
|&#124;difficulty=
|The level's difficulty (star rating out of 4), if it appears in ''[[Super Mario Maker 2]]''.
|The level's difficulty, if it appears in ''[[Super Mario Maker 2]]'', ''[[Mario + Rabbids Kingdom Battle]]'', or ''[[Super Mario Bros. Wonder]]''. For ''Super Mario Maker 2'', it is a star rating out of 4, and use {{tem|SMM2 difficulty}}).
|-
|-
|&#124;objective=
|&#124;objective=
|The level's clear objective, if it appears in ''[[Mario + Rabbids Kingdom Battle]]'' or ''[[Super Mario Maker 2]]''.
|The level's clear or bonus objective, if it appears in ''[[Captain Toad: Treasure Tracker]]'', ''[[Mario + Rabbids Kingdom Battle]]'', or ''[[Super Mario Maker 2]]''.
|-
|&#124;powerup=
|The level's main powerup, if any.
|-
|-
|&#124;limit=
|&#124;limit=
|The level's time limit.
|The level's time limit.
|-
|-
|&#124;coinlimit=
|&#124;turns=
|The level's [[Coin Rush]] time limit, if it appeared in ''[[New Super Mario Bros. 2]]''.
|The turn limit for ''Mario + Rabbids Kingdom Battle'' challenges.
|-
|&#124;cr_limit=
|The level's [[Coin Rush]] time limit, if it appears in ''[[New Super Mario Bros. 2]]''.
|-
|-
|&#124;squadlevel=
|&#124;target=
|The level's optional target time or turn limit, if it appears in ''[[Captain Toad: Treasure Tracker]]'' or ''[[Mario + Rabbids Kingdom Battle]]''.
|-
|&#124;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]]''.
|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]]''.
|-
|&#124;wonder=
|The level's [[Wonder Effect]], if it appears in ''[[Super Mario Bros. Wonder]]''.
|-
|-
|&#124;boss=
|&#124;boss=
|The level's boss, if there is one.
|The level's boss, if there is one.
|-
|-
|&#124;song=
|&#124;track=
|The main music that plays during the level. Include the track name, and then its media file if it has been uploaded.
|The name of the music track that plays during the level.
|-
|&#124;sample=
|Sample of the background music used in the level.
|-
|&#124;before_alt=
|Alternate preceding level(s), if applicable.
|-
|-
|&#124;before=
|&#124;before=
Line 87: Line 174:
|&#124;after=
|&#124;after=
|The following level(s).
|The following level(s).
|-
|&#124;secret=
|A secret level following after, if applicable.
|}
|}
<pre>
<pre>
{{Levelbox
{{level infobox
|title=
|title=
|image=
|image=
Line 98: Line 189:
|style=
|style=
|theme=
|theme=
|difficulty=
|objective=
|objective=
|limit=
|limit=
|coinlimit=
|turns=
|squadlevel=
|cr_limit=
|target=
|squad_level=
|wonder=
|boss=
|boss=
|beforealt=
|track=
|sample=
|before_alt=
|before=
|before=
|after=
|after=
|secret=
|secret=
|song=
}}
}}
</pre></noinclude>
</pre>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 17:52, January 25, 2024

Level
Level infobox
<< 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 appears in.
|style= The level's game style, if it appears in Super Mario Maker or Super Mario Maker 2 (use {{SMM style}}).
|theme= The level's theme, if it appears in Super Mario Maker or Super Mario Maker 2.
|difficulty= The level's difficulty, if it appears in Super Mario Maker 2, Mario + Rabbids Kingdom Battle, or Super Mario Bros. Wonder. For Super Mario Maker 2, it is a star rating out of 4, and use {{SMM2 difficulty}}).
|objective= The level's clear or bonus objective, if it appears in Captain Toad: Treasure Tracker, Mario + Rabbids Kingdom Battle, or Super Mario Maker 2.
|powerup= The level's main powerup, if any.
|limit= The level's time limit.
|turns= The turn limit for Mario + Rabbids Kingdom Battle challenges.
|cr_limit= The level's Coin Rush time limit, if it appears in New Super Mario Bros. 2.
|target= The level's optional target time or turn limit, if it appears in Captain Toad: Treasure Tracker or Mario + Rabbids Kingdom Battle.
|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.
|wonder= The level's Wonder Effect, if it appears in Super Mario Bros. Wonder.
|boss= The level's boss, if there is one.
|track= The name of the music track that plays during the level.
|sample= Sample of the background music used in the level.
|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=
|turns=
|cr_limit=
|target=
|squad_level=
|wonder=
|boss=
|track=
|sample=
|before_alt=
|before=
|after=
|secret=
}}