Template:DKC level infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - ";float:{{#ifeq:{{{align}}}|left|left|right}}" to "")
mNo edit summary
 
(26 intermediate revisions by 2 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"
{| 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|}}}}}
|-style=vertical-align:top
{{#if:{{{world|}}}|{{!}} '''World''' {{!}}{{!}} {{{world|}}}}}
|-style=vertical-align:top
|'''Game'''
|style=width:12em|{{{game|}}}
|-style=vertical-align:top
{{#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:{{{before|{{{after|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{#if:{{{code|}}}|
{{!}}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}}}'''}}|}}
{{!}} '''Level code'''
{{!}} {{{code}}}
}}
|-
|-
{{#if:{{{before2|{{{after2|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{#if:{{{world|}}}|
{{!}}colspan=2 align=center{{!}}{{#if:{{{before2|}}}|'''{{{before2}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|List of levels]] (SNES & GBC)</span> {{#if:{{{after2|}}}|'''{{{after2}}}'''|>>}} {{#if:{{{secret2|}}}|'''{{{secret2}}}'''}}|}}
{{!}} '''World'''
{{!}} {{{world}}}
}}
|-
|-
{{#if:{{{before3|{{{after3|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{#if:{{{game|}}}|
{{!}}colspan=2 align=center{{!}}{{#if:{{{before3|}}}|'''{{{before3}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|List of levels]] (GBA)</span> {{#if:{{{after3|}}}|'''{{{after3}}}'''|>>}} {{#if:{{{secret3|}}}|'''{{{secret3}}}'''}}|}}
{{!}} '''Game'''
{{!}} {{{game}}}
}}
|-
|-
{{#if:{{{before4|{{{after4|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{#if:{{{objective|}}}|
{{!}}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}}}'''}}|}}
{{!}} '''Objective'''
{{!}} {{{objective}}}
}}
|-
|-
{{#if:{{{before5|{{{after5|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{#if:{{{boss|}}}|
{{!}}colspan=2 align=center{{!}}{{#if:{{{before5|}}}|'''{{{before5}}}'''|<<}} <span style="font-size:97%">[[:Category:Levels|List of levels]] (GBC)</span> {{#if:{{{after5|}}}|'''{{{after5}}}'''|>>}} {{#if:{{{secret5|}}}|'''{{{secret5}}}'''}}|}}
{{!}} '''Boss'''
|}</includeonly><noinclude>{{br}}[[Category:Infobox templates]]
{{!}} {{{boss}}}
}}
|-
{{#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|<<]]
Line 57: Line 79:
|after5=[[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|>>]]
}}