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
added documentation from https://www.mariowiki.com/Template:Level_infobox (excluded game-specific parameters as i think those can warrant their own template)
(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:
| 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|}}}{{{enemiesmusic|}}}{{{obstaclestime_limit|}}}{{{time_limitenemies|}}}{{{musicobstacles|}}}{{{boss|}}}|
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''General information'''
{{!}}-
Line 29:
{{!}} style="background:#cdfdce" {{!}} '''Type'''
{{!}} {{{type}}}
}}
{{!}}-
{{#if:{{{music|}}}|
{{!}}-
{{!}} style="background:#cdfdce" {{!}} '''Music'''
{{!}} {{{music}}}
}}
{{!}}-
{{#if:{{{time_limit|}}}|
{{!}}-
{{!}} style="background:#cdfdce" {{!}} '''Time limit'''
{{!}} {{{time_limit}}}
}}
{{!}}-
Line 43 ⟶ 55:
}}
{{!}}-
{{#if:{{{time_limitboss|}}}|
{{!}}-
{{!}} style="background:#cdfdce" {{!}} '''Time limitBosses'''
{{!}} {{{time_limitboss}}}
}}
{{!}}-
{{#if:{{{music|}}}|
{{!}}-
{{!}} style="background:#cdfdce" {{!}} '''Music'''
{{!}} {{{music}}}
}}
}}
Line 76 ⟶ 82:
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''Notes'''
{{!}}-
{{!}} colspan="2" style="padding: 1em 0" {{!}} {{{notes}}}
}}
|}<noinclude>
==Usage==
{|class="table" style="width:70%;float:right;margin:0 0 1em 1em"
!colspan=2 style="background:#95FA97"|Syntax
|-
|&#124;name=
|The name of the level. By default, this is not necessary, as it will automatically use the article title.
|-
|&#124;image=
|A representative image of the level, preferably a screenshot of the level's most recognizable feature.
|-
|&#124;level_no=
|The level's "world-level" ID in the game it appears in.
|-
|&#124;games=
|The game(s) that the level appears in.
|-
|&#124;world=
|The world that the level is featured in.
|-
|&#124;type=
|The type of level
|-
|&#124;music=
|The name of the music track that plays during the level.
|-
|&#124;time_limit=
|The level's time limit.
|-
|&#124;enemies=
|A list of enemies encountered in the level.
|-
|&#124;obstacles=
|A list of obstacles encountered in the level.
|-
|&#124;boss=
|The level's boss, if there is one.
|-
|&#124;previous=
|The preceding level(s).
|-
|&#124;next=
|The following level(s).
|-
|&#124;notes=
|List any notable or distinct details in this section
|}
 
<pre>
{{level infobox
Line 91 ⟶ 143:
|enemies=
|obstacles=
|boss=
|time_limit=
|music=
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu