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