Template:DKC level infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Some pages are using the "world" parameter...) |
(Bringing this into line with the main {{levelbox}} and merging {{DKCGBClevelbox}}) |
||
Line 1: | Line 1: | ||
{| class="infobox" cellpadding=3 cellspacing=2 | <includeonly>{|class="infobox" cellpadding=3 cellspacing=2 width=220 style="margin:{{#ifeq:{{{align}}}|left|0 1em 1em 0|0 0 1em 1em}};font-size:11px;background-color:#f7f8ff;border:1px solid #88a;float:{{#ifeq:{{{align}}}|left|left|right}};clear:{{#ifeq:{{{align}}}|left|left|right}}" | ||
| align="center" colspan="2" bgcolor="#bbccea" style="font-size:120%;" | '''Level''' | | align="center" colspan="2" bgcolor="#bbccea" style="font-size:120%;" | '''Level''' | ||
|- | |- | ||
| align="center" colspan="2" bgcolor="#ccddfa" style="font-size:125%" | {{{title|{{PAGENAME}}}}} | | align="center" colspan="2" bgcolor="#ccddfa" style="font-size:125%" | {{{title|{{PAGENAME}}}}} | ||
|- | |- | ||
|align= | |align=center colspan=2|{{{image|}}} | ||
|- style= | |-style=vertical-align:top | ||
|'''World-Level''' | {{#if:{{{code|}}}|{{!}} '''World-Level''' {{!}}{{!}} {{{code|}}}}} | ||
|-style=vertical-align:top | |||
|- style= | |||
{{#if:{{{world|}}}|{{!}} '''World''' {{!}}{{!}} {{{world|}}}}} | {{#if:{{{world|}}}|{{!}} '''World''' {{!}}{{!}} {{{world|}}}}} | ||
|- style= | |-style=vertical-align:top | ||
| '''Game''' | |'''Game''' | ||
| {{{game|}}} | |style=width:12em|{{{game|}}} | ||
|- style= | |-style=vertical-align:top | ||
|- style= | {{#if:{{{objective|}}}|{{!}} '''Objectives''' {{!}}{{!}} {{{objective|}}}}} | ||
|-style=vertical-align:top | |||
{{#if:{{{boss|}}}|{{!}} '''Boss''' {{!}}{{!}} {{{boss|}}}}} | |||
|-style=vertical-align:top | |||
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song|}}}}} | |||
|-style=vertical-align:top | |||
{{#if:{{{notes|}}}|{{!}} '''Notes''' {{!}}{{!}} {{{notes|}}}}} | {{#if:{{{notes|}}}|{{!}} '''Notes''' {{!}}{{!}} {{{notes|}}}}} | ||
|- style=" | {{#if:{{{before|{{{after|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0 | ||
{{#if:{{{ | {{!}}colspan=2 align=center{{!}}{{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|List of Levels]] (SNES)</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}} {{#if:{{{secret|}}}|'''{{{secret}}}'''}}|}} | ||
|- style="background:#bcf" cellspacing=0 | {{#if:{{{before2|{{{after2|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0 | ||
{{!}}colspan=2 align=center{{!}}{{#if:{{{before2|}}}|'''{{{before2}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|List of Levels]] (GBA)</span> {{#if:{{{after2|}}}|'''{{{after2}}}'''|>>}} {{#if:{{{secret2|}}}|'''{{{secret2}}}'''}}|}} | |||
|}<noinclude> | {{#if:{{{beforeGBC|{{{afterGBC|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0 | ||
{{!}}colspan=2 align=center{{!}}{{#if:{{{beforeGBC|}}}|'''{{{beforeGBC}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|List of Levels]] (GBC)</span> {{#if:{{{afterGBC|}}}|'''{{{afterGBC}}}'''|>>}} {{#if:{{{secretGBC|}}}|'''{{{secretGBC}}}'''}}|}} | |||
|}</includeonly><noinclude>{{br}}[[Category:Infobox templates|{{PAGENAME}}]] | |||
==Usage== | |||
<pre> | |||
{{DKClevelbox | |||
|title= | |||
|image= | |||
|code=[world/level] | |||
|game= | |||
|boss= | |||
|music= | |||
|notes= | |||
|before=[[SNES level before|<<]] | |||
|after=[[SNES level after|>>]] | |||
|before2=[[GBA level before|<<]] | |||
|after2=[[GBA level after|>>]] | |||
|beforeGBC=[[GBC level before|<<]] | |||
|afterGBC=[[GBC level after|>>]] | |||
}} | |||
</pre></noinclude> |
Revision as of 12:13, April 1, 2018
Usage
{{DKClevelbox |title= |image= |code=[world/level] |game= |boss= |music= |notes= |before=[[SNES level before|<<]] |after=[[SNES level after|>>]] |before2=[[GBA level before|<<]] |after2=[[GBA level after|>>]] |beforeGBC=[[GBC level before|<<]] |afterGBC=[[GBC level after|>>]] }}