Template:Level infobox: Difference between revisions
From Mariopedia, a wiki on Mario, Yoshi, Wario, Donkey Kong, Super Smash Bros., and more!
Jump to navigationJump to search
Content deleted Content added
to do: add documentation |
added documentation from https://www.mariowiki.com/Template:Level_infobox (excluded game-specific parameters as i think those can warrant their own template) |
||
Line 4: | Line 4: | ||
| colspan="2" style="text-align:center" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this level?<br />You can help by '''[[Special:Upload|uploading]]''' it!}}{{#if:{{{caption|}}}|<br />{{{caption}}}}} |
| colspan="2" style="text-align:center" | {{#if:{{{image|}}}|{{{image}}}|Have an image of this level?<br />You can help by '''[[Special:Upload|uploading]]''' it!}}{{#if:{{{caption|}}}|<br />{{{caption}}}}} |
||
|- |
|- |
||
{{#if:{{{level_no|}}}{{{games|}}}{{{world|}}}{{{type|}}}{{{ |
{{#if:{{{level_no|}}}{{{games|}}}{{{world|}}}{{{type|}}}{{{music|}}}{{{time_limit|}}}{{{enemies|}}}{{{obstacles|}}}{{{boss|}}}| |
||
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''General information''' |
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''General information''' |
||
{{!}}- |
{{!}}- |
||
Line 29: | Line 29: | ||
{{!}} style="background:#cdfdce" {{!}} '''Type''' |
{{!}} style="background:#cdfdce" {{!}} '''Type''' |
||
{{!}} {{{type}}} |
{{!}} {{{type}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
|||
{{!}}- |
|||
{{#if:{{{time_limit|}}}| |
|||
{{!}}- |
|||
{{!}} style="background:#cdfdce" {{!}} '''Time limit''' |
|||
{{!}} {{{time_limit}}} |
|||
}} |
}} |
||
{{!}}- |
{{!}}- |
||
Line 43: | Line 55: | ||
}} |
}} |
||
{{!}}- |
{{!}}- |
||
{{#if:{{{ |
{{#if:{{{boss|}}}| |
||
{{!}}- |
{{!}}- |
||
{{!}} style="background:#cdfdce" {{!}} ''' |
{{!}} style="background:#cdfdce" {{!}} '''Bosses''' |
||
{{!}} {{{ |
{{!}} {{{boss}}} |
||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
⚫ | |||
}} |
}} |
||
}} |
}} |
||
Line 76: | Line 82: | ||
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''Notes''' |
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''Notes''' |
||
{{!}}- |
{{!}}- |
||
{{!}} colspan="2 |
{{!}} colspan="2" {{!}} {{{notes}}} |
||
}} |
}} |
||
|}<noinclude> |
|}<noinclude> |
||
==Usage== |
==Usage== |
||
{|class="table" style="width:70%;float:right;margin:0 0 1em 1em" |
|||
!colspan=2 style="background:#95FA97"|Syntax |
|||
|- |
|||
||name= |
|||
|The name of the level. By default, this is not necessary, as it will automatically use the article title. |
|||
|- |
|||
||image= |
|||
|A representative image of the level, preferably a screenshot of the level's most recognizable feature. |
|||
|- |
|||
||level_no= |
|||
|The level's "world-level" ID in the game it appears in. |
|||
|- |
|||
||games= |
|||
|The game(s) that the level appears in. |
|||
|- |
|||
||world= |
|||
|The world that the level is featured in. |
|||
|- |
|||
||type= |
|||
|The type of level |
|||
|- |
|||
||music= |
|||
|The name of the music track that plays during the level. |
|||
|- |
|||
||time_limit= |
|||
|The level's time limit. |
|||
|- |
|||
||enemies= |
|||
|A list of enemies encountered in the level. |
|||
|- |
|||
||obstacles= |
|||
|A list of obstacles encountered in the level. |
|||
|- |
|||
||boss= |
|||
|The level's boss, if there is one. |
|||
|- |
|||
||previous= |
|||
|The preceding level(s). |
|||
|- |
|||
||next= |
|||
|The following level(s). |
|||
|- |
|||
||notes= |
|||
|List any notable or distinct details in this section |
|||
|} |
|||
<pre> |
<pre> |
||
{{level infobox |
{{level infobox |
||
Line 91: | Line 143: | ||
|enemies= |
|enemies= |
||
|obstacles= |
|obstacles= |
||
|boss= |
|||
|time_limit= |
|time_limit= |
||
|music= |
|music= |
Revision as of 18:10, June 13, 2022
Level infobox | |
---|---|
Have an image of this level? You can help by uploading it! |
Usage
Syntax | |
---|---|
|name= | The name of the level. By default, this is not necessary, as it will automatically use the article title. |
|image= | A representative image of the level, preferably a screenshot of the level's most recognizable feature. |
|level_no= | The level's "world-level" ID in the game it appears in. |
|games= | The game(s) that the level appears in. |
|world= | The world that the level is featured in. |
|type= | The type of level |
|music= | The name of the music track that plays during the level. |
|time_limit= | The level's time limit. |
|enemies= | A list of enemies encountered in the level. |
|obstacles= | A list of obstacles encountered in the level. |
|boss= | The level's boss, if there is one. |
|previous= | The preceding level(s). |
|next= | The following level(s). |
|notes= | List any notable or distinct details in this section |
{{level infobox |name= |image= |caption= |level_no= |games= |world= |type= |enemies= |obstacles= |boss= |time_limit= |music= |previous= |next= |notes= }}