Template:Mission infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(code cleanup)
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:280px;background:#f7f8ff;border:1px solid #88a"
{| class="infobox" style="width:280px;background:#f7f8ff;border-color:#88a"
! colspan=2 style="background:#bbccea;font-size:120%"|Mission
! colspan="2" style="font-size:120%;background:#bbccea" | {{{label|Mission}}}
|-
|-
|colspan=2 style="font-size:125%;text-align:center;background:#ccddfa"|{{{title|{{PAGENAME}}}}}
| colspan="2" style="font-size:125%;background:#ccddfa;text-align:center" | {{{title|{{PAGETITLE}}}}}
|-
|-
|colspan=2 style="text-align:center"|{{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|-style=vertical-align:top
|-
{{#if:{{{level|}}}|{{!}} '''Location''' {{!}}{{!}} {{{level|}}}}}
{{#if:{{{location|}}}|
|-style=vertical-align:top
{{!}} '''Location'''
{{#if:{{{initiator|}}}|{{!}} '''Initiator''' {{!}}{{!}} {{{initiator|}}}}}
{{!}} {{{location}}}
|-style=vertical-align:top
}}
{{#if:{{{star|}}}|{{!}} '''Mission #''' {{!}}{{!}} {{{star|}}}}}
|-
|-style=vertical-align:top
{{#if:{{{initiator|}}}|
|'''Game'''
{{!}} '''Initiator'''
|style=width:12em|{{{game|}}}
{{!}} {{{initiator}}}
|-style=vertical-align:top
}}
{{#if:{{{boss|}}}|{{!}} '''Boss(es)''' {{!}}{{!}} {{{boss|}}}}}
|-
|-style="background:#bcf" cellspacing=0
{{#if:{{{number|}}}|
|colspan=2 align=center|{{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:Category:Missions|List of missions]]</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}}  
{{!}} '''Mission #'''
{{!}} {{{number}}}
}}
|-
{{#if:{{{game|}}}|
{{!}} '''Game'''
{{!}} {{{game}}}
}}
|-
{{#if:{{{boss|}}}|
{{!}} '''Boss(es)'''
{{!}} {{{boss}}}
}}
|- style="background:#bcf"
| colspan="2" style="text-align:center" | {{#if:{{{before|}}}|'''{{{before}}}'''|<<}} <span style="font-size:97%">[[:Category:Missions|Directory of missions]]</span> {{#if:{{{after|}}}|'''{{{after}}}'''|>>}}  
|}<noinclude>
|}<noinclude>
==Using==
==Using==
<pre>
<pre>
{{Missionbox
{{mission infobox
|label=
|title=
|title=
|image=
|image=
|level=
|location=
|initiator=
|initiator=
|star=
|number=
|game=
|game=
|boss=
|boss=
Line 33: Line 48:
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
 
</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 10:41, May 5, 2022

Mission
Mission infobox
<< Directory of missions >>

Using

{{mission infobox
|label=
|title=
|image=
|location=
|initiator=
|number=
|game=
|boss=
|before=
|after=
}}