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 added Content deleted
(added world parameter) |
(forgot this) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox bordered" |
|||
<div> |
|||
! colspan="2" style="font-size:125%; background:#95FA97"| {{{name|{{PAGENAME}}}}} |
|||
{| class="toccolours" style="float:right; margin:0 0 0.5em 1em; width:300px; font-size:95%" |
|||
|- |
|- |
||
| 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="background-color:{{{bgcolor|lightgreen}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;padding:3px" | '''{{{name|{{PAGENAME}}}}}''' |
|||
|- |
|- |
||
{{#if:{{{level_no|}}}{{{games|}}}{{{world|}}}{{{type|}}}{{{music|}}}{{{time_limit|}}}{{{playable|}}}{{{enemies|}}}{{{obstacles|}}}{{{boss|}}}| |
|||
| colspan="2" style="text-align: center" | |
|||
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''General information''' |
|||
{{{image}}}<br>{{{caption|}}} |
|||
|- |
|||
{{#if:{{{level_no|}}}{{{games|}}}{{{type|}}}{{{enemies|}}}{{{music|}}}| |
|||
! colspan="2" style="background-color:{{{bgcolor|lightgreen}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;" {{!}} '''General Information''' |
|||
{{!}}- |
{{!}}- |
||
{{#if:{{{level_no|}}}| |
{{#if:{{{level_no|}}}| |
||
{{!}} |
{{!}} style="background:#cdfdce" {{!}} '''Level number''' |
||
{{!}} |
{{!}} {{{level_no}}} |
||
{{!}}style="padding-right: 1em;" {{!}} {{{level_no}}} |
|||
}} |
|||
{{!}}- |
{{!}}- |
||
{{#if:{{{games|}}}| |
|||
{{!}}- style="vertical-align: top;" |
|||
{{!}}'''Games:''' |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{games}}} |
|||
}} |
}} |
||
{{#if:{{{games|}}}| |
|||
{{!}} style="background:#cdfdce" {{!}} '''Game appearances''' |
|||
{{!}} {{{games}}} |
|||
{{!}}- |
{{!}}- |
||
{{#if:{{{world|}}}| |
|||
{{!}}- style="vertical-align: top;" |
|||
{{!}}'''World:''' |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{world}}} |
|||
}} |
}} |
||
{{#if:{{{world|}}}| |
|||
{{!}} style="background:#cdfdce" {{!}} '''World''' |
|||
{{!}} {{{world}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
|||
{{#if:{{{type|}}}| |
{{#if:{{{type|}}}| |
||
{{!}} |
{{!}} style="background:#cdfdce" {{!}} '''Type''' |
||
{{!}} |
{{!}} {{{type}}} |
||
{{!}}- |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{type}}} |
|||
}} |
}} |
||
{{#if:{{{music|}}}| |
|||
{{!}} style="background:#cdfdce" {{!}} '''Music''' |
|||
{{!}} {{{music}}} |
|||
{{!}}- |
{{!}}- |
||
}} |
|||
{{#if:{{{time_limit|}}}| |
|||
{{!}} style="background:#cdfdce" {{!}} '''Time limit''' |
|||
{{!}} {{{time_limit}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{playable|}}}| |
|||
{{!}} style="background:#cdfdce" {{!}} '''Playable characters''' |
|||
{{!}} {{{playable}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{enemies|}}}| |
{{#if:{{{enemies|}}}| |
||
{{!}} |
{{!}} style="background:#cdfdce" {{!}} '''Enemies''' |
||
{{!}} |
{{!}} {{{enemies}}} |
||
{{!}}- |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{enemies}}} |
|||
}} |
}} |
||
{{#if:{{{obstacles|}}}| |
|||
{{!}} style="background:#cdfdce" {{!}} '''Obstacles''' |
|||
{{!}} {{{obstacles}}} |
|||
{{!}}- |
|||
}} |
|||
{{#if:{{{boss|}}}| |
|||
{{!}} style="background:#cdfdce" {{!}} '''Bosses''' |
|||
{{!}} {{{boss}}} |
|||
{{!}}- |
{{!}}- |
||
{{#if:{{{music|}}}| |
|||
{{!}}- style="vertical-align: top;" |
|||
{{!}}'''Music:''' |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{music}}} |
|||
}} |
}} |
||
}} |
}} |
||
{{!}}- |
{{!}}- |
||
{{#if:{{{previous|}}}{{{next|}}}| |
{{#if:{{{previous|}}}{{{next|}}}| |
||
! colspan="2" style="background |
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''Navigation''' |
||
{{!}}- |
{{!}}- |
||
{{#if:{{{previous|}}}| |
{{#if:{{{previous|}}}| |
||
{{!}} |
{{!}} style="background:#cdfdce" {{!}} '''Previous level''' |
||
{{!}} {{{previous}}} |
|||
{{!}}'''Previous Level:''' |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{previous}}} |
|||
}} |
|||
{{!}}- |
{{!}}- |
||
}} |
|||
{{#if:{{{next|}}}| |
{{#if:{{{next|}}}| |
||
{{!}} |
{{!}} style="background:#cdfdce" {{!}} '''Next level''' |
||
{{!}} |
{{!}} {{{next}}} |
||
{{!}}- |
|||
{{!}}style="padding-right: 1em;" {{!}} {{{next}}} |
|||
}} |
}} |
||
}} |
}} |
||
{{!}}- |
|||
{{#if:{{{notes|}}}| |
{{#if:{{{notes|}}}| |
||
{{!}}- style="vertical-align: top;" |
|||
! colspan="2" style="background-color:{{{bgcolor}}}; color:{{{txtcolor}}}; text-align: center; font-size: larger;" {{!}} '''Notes''' |
|||
{{!}}- |
{{!}}- |
||
! colspan="2" style="background:#95FA97; text-align: center; font-size: 105%" {{!}} '''Notes''' |
|||
{{!}}- |
|||
{{!}} colspan="2" {{!}} {{{notes}}} |
|||
}} |
}} |
||
|}<noinclude>{{br}} |
|||
|} |
|||
</div> |
|||
<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 or otherwise its setting (e.g. "Castle," "Fortress"). |
|||
|- |
|||
||music= |
|||
|The name of the music track that plays during the level. |
|||
|- |
|||
||time_limit= |
|||
|The level's time limit, if applicable. |
|||
|- |
|||
||playable= |
|||
|These are the playable characters in the level. Only use this parameter if the game does not feature the same playable character(s) in every level. |
|||
|- |
|||
||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 |
||
|bgcolor= |
|||
|txtcolor= |
|||
|name= |
|name= |
||
|image= |
|image= |
||
Line 84: | Line 139: | ||
|world= |
|world= |
||
|type= |
|type= |
||
|enemies= |
|||
|music= |
|music= |
||
|time_limit= |
|||
|playable= |
|||
|enemies= |
|||
|obstacles= |
|||
|boss= |
|||
|previous= |
|previous= |
||
|next= |
|next= |
||
Line 91: | Line 150: | ||
}} |
}} |
||
</pre> |
</pre> |
||
[[Category:Infobox Templates]]</noinclude> |
|||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 04:03, June 21, 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 or otherwise its setting (e.g. "Castle," "Fortress"). |
|music= | The name of the music track that plays during the level. |
|time_limit= | The level's time limit, if applicable. |
|playable= | These are the playable characters in the level. Only use this parameter if the game does not feature the same playable character(s) in every level. |
|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= |music= |time_limit= |playable= |enemies= |obstacles= |boss= |previous= |next= |notes= }}