Template:Level infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
Bro Hammer (talk | contribs) (Simpler level directories.) |
||
(28 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" style="width:220px;background:#f7f8ff;border-color:#88a" | <includeonly>{| class="infobox" style="width:220px;background:#f7f8ff;border-color:#88a;--darkborder:#7a8596;--darkbannerbg:#525864;--darksubbannerbg:#3d424b;--darkrowbg:none;--darkbg:#141619" | ||
! colspan="2" style="font-size:120%;background:#bbccea" | Level | ! colspan="2" style="font-size:120%;background:#bbccea" | Level | ||
|- | |- | ||
Line 22: | Line 22: | ||
|- | |- | ||
{{#if:{{{game|}}}| | {{#if:{{{game|}}}| | ||
{{!}} '''Game''' | |||
{{!}} {{{game}}} | {{!}} {{{game}}} | ||
}} | }} | ||
Line 32: | Line 32: | ||
|- | |- | ||
{{#if:{{{theme|}}}| | {{#if:{{{theme|}}}| | ||
{{!}} '''Theme(s)''' | {{!}} '''Theme(s)''' | ||
{{!}} {{{theme}}} | {{!}} {{{theme}}} | ||
}} | }} | ||
Line 44: | Line 44: | ||
{{!}} '''Objective''' | {{!}} '''Objective''' | ||
{{!}} {{{objective}}} | {{!}} {{{objective}}} | ||
}} | |||
|- | |||
{{#if:{{{powerup|}}}| | |||
{{!}} '''Primary power-up''' | |||
{{!}} {{{powerup}}} | |||
}} | }} | ||
|- | |- | ||
Line 49: | Line 54: | ||
{{!}} '''Time limit''' | {{!}} '''Time limit''' | ||
{{!}} {{{limit}}} | {{!}} {{{limit}}} | ||
}} | |||
|- | |||
{{#if:{{{turns|}}}| | |||
{{!}} '''Turn limit''' | |||
{{!}} {{{turns}}} | |||
}} | }} | ||
|- | |- | ||
Line 54: | Line 64: | ||
{{!}} '''[[Coin Rush]] limit''' | {{!}} '''[[Coin Rush]] limit''' | ||
{{!}} {{{cr_limit}}} | {{!}} {{{cr_limit}}} | ||
}} | |||
|- | |||
{{#if:{{{target|}}}| | |||
{{!}} '''Target''' | |||
{{!}} {{{target}}} | |||
}} | }} | ||
|- | |- | ||
Line 59: | Line 74: | ||
{{!}} '''Enemy squad level''' | {{!}} '''Enemy squad level''' | ||
{{!}} {{{squad_level}}} | {{!}} {{{squad_level}}} | ||
}} | |||
|- | |||
{{#if:{{{wonder|}}}| | |||
{{!}} '''Wonder Effect''' | |||
{{!}} {{{wonder}}} | |||
}} | }} | ||
|- | |- | ||
Line 70: | Line 90: | ||
{{!}} {{{track}}} | {{!}} {{{track}}} | ||
}} | }} | ||
|- style="background:# | |- | ||
| 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}}}'''}} | {{#if:{{{sample|}}}| | ||
|}<noinclude> | {{!}} 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}}} | |||
{{!}}} | |||
}} | |||
|- | |||
{{#if:{{{previous|}}}{{{next|}}} | |||
| | |||
{{!}} colspan="2" style="padding:0 !important" {{!}} | |||
{{{!}} style="width:100%" cellspacing="0" | |||
! colspan="2" style="background:#ccddfa" {{!}} Level progression | |||
{{!}}- style="text-align:center;padding:0 2px !important" | |||
{{!}} style="width: 50%;" {{!}} '''← Previous'''<br>{{{previous|—}}} | |||
{{!}} '''Next →'''<br>{{{next|—}}} | |||
{{#if:{{{directory|}}} | |||
| | |||
{{!}}- style="text-align:center;padding:0 2px !important" | |||
{{!}} colspan="2" {{!}} {{{directory}}} | |||
| | |||
}} | |||
{{!}}} | |||
| | |||
{{!}}- 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}}}'''}} | |||
}} | |||
|}</includeonly><noinclude> | |||
==Usage== | ==Usage== | ||
{| | {|class=wikitable style="width:70%;float:right;margin:0 0 1em 1em" | ||
!colspan=2 | !colspan=2|Syntax | ||
|- | |- | ||
||title= | ||title= | ||
Line 93: | Line 140: | ||
|- | |- | ||
||game= | ||game= | ||
|The game(s) that the level | |The game(s) that the level appears in. | ||
|- | |- | ||
||style= | ||style= | ||
Line 102: | Line 149: | ||
|- | |- | ||
||difficulty= | ||difficulty= | ||
|The level's 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 {{tem|SMM2 difficulty}}). | ||
|- | |- | ||
||objective= | ||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]]''. | ||
|- | |||
||powerup= | |||
|The level's main powerup, if any. | |||
|- | |- | ||
||limit= | ||limit= | ||
|The level's time limit. | |The level's time limit. | ||
|- | |||
||turns= | |||
|The turn limit for ''Mario + Rabbids Kingdom Battle'' challenges. | |||
|- | |- | ||
||cr_limit= | ||cr_limit= | ||
|The level's [[Coin Rush]] time limit, if it | |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= | ||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]]''. | ||
|- | |||
||wonder= | |||
|The level's [[Wonder Effect]], if it appears in ''[[Super Mario Bros. Wonder]]''. | |||
|- | |- | ||
||boss= | ||boss= | ||
Line 121: | Line 180: | ||
||track= | ||track= | ||
|The name of the music track that plays during the level. | |The name of the music track that plays during the level. | ||
|- | |||
||sample= | |||
|Sample of the background music used in the level. | |||
|- | |- | ||
||before_alt= | ||before_alt= | ||
Line 130: | Line 192: | ||
||after= | ||after= | ||
|The following level(s). | |The following level(s). | ||
|- | |||
||previous= | |||
|The preceding level(s) (displaying titles). | |||
|- | |||
||next= | |||
|The following level(s) (displaying titles). | |||
|- | |- | ||
||secret= | ||secret= | ||
|A secret level following after, if applicable. | |A secret level following after, if applicable. | ||
|- | |||
||directory= | |||
|Links to the full lists of levels. | |||
|} | |} | ||
Line 148: | Line 219: | ||
|objective= | |objective= | ||
|limit= | |limit= | ||
|turns= | |||
|cr_limit= | |cr_limit= | ||
|target= | |||
|squad_level= | |squad_level= | ||
|wonder= | |||
|boss= | |boss= | ||
|track= | |track= | ||
|sample= | |||
|before_alt= | |before_alt= | ||
|before= | |before= |
Latest revision as of 15:12, April 19, 2025
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). |
|previous= | The preceding level(s) (displaying titles). |
|next= | The following level(s) (displaying titles). |
|secret= | A secret level following after, if applicable. |
|directory= | Links to the full lists of levels. |
{{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= }}