Template:DKC level infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Hopefully)
Tag: Undo
mNo edit summary
 
(33 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<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}}"
{| class="infobox" style="width:220px;background:#f7f8ff;border-color:#88a"
| align="center" colspan="2" bgcolor="#bbccea" style="font-size:120%;" | '''Level'''
! colspan="2" style="font-size:120%;background:#bbccea" | Level
|-
|-
| align="center" colspan="2" bgcolor="#ccddfa" style="font-size:125%" | {{{title|{{PAGENAME}}}}}
| colspan="2" style="font-size:125%;background:#ccddfa;text-align:center" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align=center colspan=2|{{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|-style=vertical-align:top
|-
{{#if:{{{code|}}}|{{!}} '''World-Level''' {{!}}{{!}} {{{code|}}}}}
{{#if:{{{code|}}}|
|-style=vertical-align:top
{{!}} '''Level code'''
{{#if:{{{world|}}}|{{!}} '''World''' {{!}}{{!}} {{{world|}}}}}
{{!}} {{{code}}}
|-style=vertical-align:top
}}
|'''Game'''
|-
|style=width:12em|{{{game|}}}
{{#if:{{{world|}}}|
|-style=vertical-align:top
{{!}} '''World'''
{{#if:{{{objective|}}}|{{!}} '''Objectives''' {{!}}{{!}} {{{objective|}}}}}
{{!}} {{{world}}}
|-style=vertical-align:top
}}
{{#if:{{{boss|}}}|{{!}} '''Boss''' {{!}}{{!}} {{{boss|}}}}}
|-
|-style=vertical-align:top
{{#if:{{{game|}}}|
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song|}}}}}
{{!}} '''Game'''
|-style=vertical-align:top
{{!}} {{{game}}}
{{#if:{{{notes|}}}|{{!}} '''Notes''' {{!}}{{!}} {{{notes|}}}}}
}}
|-{{#if:{{{before|{{{after|}}}}}}|style="background:#bcf" cellspacing=0
|-
{{!}}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}}}'''}}|}}
{{#if:{{{objective|}}}|
|-{{#if:{{{before2|{{{after2|}}}}}}|style="background:#bcf" cellspacing=0
{{!}} '''Objective'''
{{!}}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}}}'''}}|}}
{{!}} {{{objective}}}
|-{{#if:{{{before3|{{{after3|}}}}}}|style="background:#bcf" cellspacing=0
}}
{{!}}colspan=2 align=center{{!}}{{#if:{{{before3|}}}|'''{{{before3}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|List of levels]] (SNES/GBC)</span> {{#if:{{{after3|}}}|'''{{{after3}}}'''|>>}} {{#if:{{{secret3|}}}|'''{{{secret3}}}'''}}|}}
|-
|-{{#if:{{{before4|{{{after4|}}}}}}|style="background:#bcf" cellspacing=0
{{#if:{{{boss|}}}|
{{!}}colspan=2 align=center{{!}}{{#if:{{{before4|}}}|'''{{{before4}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|List of levels]] (SNES/GBA)</span> {{#if:{{{after4|}}}|'''{{{after4}}}'''|>>}} {{#if:{{{secret4|}}}|'''{{{secret4}}}'''}}|}}
{{!}} '''Boss'''
|-{{#if:{{{beforeGBC|{{{afterGBC|}}}}}}|style="background:#bcf" cellspacing=0
{{!}} {{{boss}}}
{{!}}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}}]]
|-
{{#if:{{{track|}}}|
{{!}} '''Music track'''
{{!}} {{{track}}}
}}
|-
{{#if:{{{notes|}}}|
{{!}} '''Notes'''
{{!}} {{{notes}}}
}}
|- style="background:#bcf"
{{#if:{{{before|{{{after|}}}}}}|
{{!}} colspan="2" style="text-align:center" {{!}} {{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|Directory of levels]] (SNES)</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}} {{#if:{{{secret|}}}|'''{{{secret}}}'''}}}}
|- style="background:#bcf"
{{#if:{{{before2|{{{after2|}}}}}}|
{{!}} colspan="2" style="text-align:center" {{!}} {{#if:{{{before2|}}}|'''{{{before2}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|Directory of levels]] (SNES & GBC)</span> {{#if:{{{after2|}}}|'''{{{after2}}}'''|>>}} {{#if:{{{secret2|}}}|'''{{{secret2}}}'''}}}}
|- style="background:#bcf"
{{#if:{{{before3|{{{after3|}}}}}}|
{{!}} colspan="2" style="text-align:center" {{!}} {{#if:{{{before3|}}}|'''{{{before3}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|Directory of levels]] (GBA)</span> {{#if:{{{after3|}}}|'''{{{after3}}}'''|>>}} {{#if:{{{secret3|}}}|'''{{{secret3}}}'''}}}}
|- style="background:#bcf"
{{#if:{{{before4|{{{after4|}}}}}}|
{{!}} colspan="2" style="text-align:center" {{!}} {{#if:{{{before4|}}}|'''{{{before4}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|Directory of levels]] (SNES & GBA)</span> {{#if:{{{after4|}}}|'''{{{after4}}}'''|>>}} {{#if:{{{secret4|}}}|'''{{{secret4}}}'''}}}}
|- style="background:#bcf"
{{#if:{{{before5|{{{after5|}}}}}}|
{{!}} colspan="2" style="text-align:center" {{!}} {{#if:{{{before5|}}}|'''{{{before5}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|Directory of levels]] (GBC)</span> {{#if:{{{after5|}}}|'''{{{after5}}}'''|>>}} {{#if:{{{secret5|}}}|'''{{{secret5}}}'''}}}}
|}<noinclude>{{br}}
==Usage==
==Usage==
<pre>
<pre>
{{DKClevelbox
{{DKC level infobox
|title=
|title=
|image=
|image=
|code=[world/level]
|code=[world/level]
|world=
|game=
|game=
|objective=
|boss=
|boss=
|music=
|track=
|notes=
|notes=
|before=[[SNES level before|<<]]
|before=[[SNES level before|<<]]
|after=[[SNES level after|>>]]
|after=[[SNES level after|>>]]
|before2=[[GBA level before|<<]]
|before2=[[SNES & GBC level before|<<]]
|after2=[[GBA level after|>>]]
|after2=[[SNES & GBC level after|>>]]
|before3=[[SNES/GBC level before|<<]]
|before3=[[GBA level before|<<]]
|after3=[[SNES/GBC level after|>>]]
|after3=[[GBA level after|>>]]
|before4=[[SNES/GBA level before|<<]]
|before4=[[SNES & GBA level before|<<]]
|after4=[[SNES/GBA level after|>>]]
|after4=[[SNES & GBA level after|>>]]
|beforeGBC=[[GBC level before|<<]]
|before5=[[GBC level before|<<]]
|afterGBC=[[GBC level after|>>]]
|after5=[[GBC level after|>>]]
}}
}}
</pre></noinclude>
</pre>
 
[[Category:Infobox templates]]</noinclude>

Latest revision as of 11:45, June 6, 2024

Level
DKC level infobox

Usage

{{DKC level infobox
|title=
|image=
|code=[world/level]
|world=
|game=
|objective=
|boss=
|track=
|notes=
|before=[[SNES level before|<<]]
|after=[[SNES level after|>>]]
|before2=[[SNES & GBC level before|<<]]
|after2=[[SNES & GBC level after|>>]]
|before3=[[GBA level before|<<]]
|after3=[[GBA level after|>>]]
|before4=[[SNES & GBA level before|<<]]
|after4=[[SNES & GBA level after|>>]]
|before5=[[GBC level before|<<]]
|after5=[[GBC level after|>>]]
}}