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
(time limit)
(to do: add documentation)
Line 1:
{| class="toccoloursinfobox bordered" style="float:right; margin:0 0 0.5em 1em; width:300px; font-size:95 90%;border width:1px solid {{{bordercolor|#a2a9b1}}}280px"
! colspan="2" style="font-size:125%; background:#95FA97"| {{{name|{{PAGENAME}}}}}
|-
| 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|}}}{{{enemies|}}}{{{obstacles|}}}{{{time_limit|}}}{{{music|}}}|
| colspan="2" style="text-align: center" |
! colspan="2" style="background-color:{{{bgcolor|lightgreen}}}; color:{{{txtcolor|black}}}#95FA97; text-align: center; font-size: larger;105%" {{!}} '''General information'''
{{{image}}}<br>{{{caption|}}}
|-
{{#if:{{{level_no|}}}{{{games|}}}{{{world|}}}{{{type|}}}{{{enemies|}}}{{{music|}}}|
! colspan="2" style="background-color:{{{bgcolor|lightgreen}}}; color:{{{txtcolor|black}}}; text-align: center; font-size: larger;" {{!}} '''General information'''
{{!}}-
{{#if:{{{level_no|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Level number:'''
{{!}}style="padding-right: 1em;" {{!}} {{{level_no}}}
}}
{{!}}-
{{#if:{{{games|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Game appearances:'''
{{!}}style="padding-right: 1em;" {{!}} {{{games}}}
}}
{{!}}-
{{#if:{{{world|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''World:'''
{{!}}style="padding-right: 1em;" {{!}} {{{world}}}
}}
{{!}}-
{{#if:{{{type|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Type:'''
{{!}}style="padding-right: 1em;" {{!}} {{{type}}}
}}
{{!}}-
{{#if:{{{enemies|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Enemies:'''
{{!}}style="padding-right: 1em;" {{!}} {{{enemies}}}
}}
{{!}}-
{{#if:{{{obstacles|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Obstacles:'''
{{!}}style="padding-right: 1em;" {{!}} {{{obstacles}}}
}}
{{!}}-
{{#if:{{{time_limit|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Time limit:'''
{{!}}style="padding-right: 1em;" {{!}} {{{time_limit}}}
}}
{{!}}-
{{#if:{{{music|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Music:'''
{{!}}style="padding-right: 1em;" {{!}} {{{music}}}
}}
}}
{{!}}-
{{#if:{{{previous|}}}{{{next|}}}|
! colspan="2" style="background-color:{{{bgcolor|lightgreen}}}; color:{{{txtcolor|black}}}#95FA97; text-align: center; font-size: larger;105%" {{!}} '''Navigation'''
{{!}}-
{{#if:{{{previous|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Previous level:'''
{{!}}style="padding-right: 1em;" {{!}} {{{previous}}}
}}
{{!}}-
{{#if:{{{next|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
{{!}} style="background:#cdfdce" {{!}} '''Next level:'''
{{!}}style="padding-right: 1em;" {{!}} {{{next}}}
}}
}}
{{!}}-
{{#if:{{{notes|}}}|
{{!}}-
{{!}}- style="vertical-align: top;"
! colspan="2" style="background-color:{{{bgcolor}}}; color:{{{txtcolor}}}#95FA97; text-align: center; font-size: larger;105%" {{!}} '''Notes'''
{{!}}-
{{!}} colspan="2" style="padding: 1em 0" {{!}} {{{notes}}}
Line 83 ⟶ 81:
==Usage==
<pre>
{{Levellevel infobox
|bordercolor=
|bgcolor=
|txtcolor=
|name=
|image=

Revision as of 15:55, June 13, 2022

Level infobox
Have an image of this level?
You can help by uploading it!

Usage

{{level infobox
|name=
|image=
|caption=
|level_no=
|games=
|world=
|type=
|enemies=
|obstacles=
|time_limit=
|music=
|previous=
|next=
|notes=
}}