Template:DKC level infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (With more unused before/after parameters, there's a gap at the bottom of the infobox. See if this fixes it)
Line 19: Line 19:
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song|}}}}}
{{#if:{{{song|}}}|{{!}} '''Music''' {{!}}{{!}} {{{song|}}}}}
|-style=vertical-align:top
|-style=vertical-align:top
{{#if:{{{notes|}}}|{{!}} '''Notes''' {{!}}{{!}} {{{notes|}}}}}
{{#if:{{{notes|}}}|{{!}} '''Notes''' {{!}}{{!}} {{{notes|}}}}}{{#if:{{{before|{{{after|}}}}}}|
{{#if:{{{before|{{{after|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{!}}-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}}}'''}}|}}
{{!}}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:{{{before2|{{{after2|}}}}}}|
{{#if:{{{before2|{{{after2|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{!}}-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}}}'''}}|}}
{{!}}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}}}'''}}|}}{{#if:{{{before3|{{{after3|}}}}}}|
{{#if:{{{before3|{{{after3|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{!}}-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}}}'''}}|}}
{{!}}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|}}}}}}|
{{#if:{{{before4|{{{after4|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{!}}-style="background:#bcf" cellspacing=0
{{!}}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}}}'''}}|}}
{{!}}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}}}'''}}|}}{{#if:{{{beforeGBC|{{{afterGBC|}}}}}}|
{{#if:{{{beforeGBC|{{{afterGBC|}}}}}}|{{!}}-style="background:#bcf" cellspacing=0
{{!}}-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}}}'''}}|}}
{{!}}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}}]]
|}</includeonly><noinclude>{{br}}[[Category:Infobox templates|{{PAGENAME}}]]

Revision as of 06:56, July 15, 2020

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|>>]]
|before3=[[SNES/GBC level before|<<]]
|after3=[[SNES/GBC level after|>>]]
|before4=[[SNES/GBA level before|<<]]
|after4=[[SNES/GBA level after|>>]]
|beforeGBC=[[GBC level before|<<]]
|afterGBC=[[GBC level after|>>]]
}}