Template:Tour infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "; border" to ";border")
mNo edit summary
 
(20 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="infobox" style="width:280px;background: ghostwhite;border:1px solid #a88"
{| class="infobox" style="width:280px;background:ghostwhite;border-color:#a88"
| align="center" colspan="2" bgcolor="skyblue" style="font-size:120%" | '''{{{title|{{PAGENAME}}}}}'''
! colspan="2" style="font-size:125%;background:skyblue" | {{{title|{{PAGETITLE}}}}}
|-
|-
|align="center" colspan="2" | {{{image|}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|- style="vertical-align:top"
|-
| '''Start date'''
{{#if:{{{start|}}}|
|{{{start|}}}
{{!}} '''Start date'''
|- style="vertical-align:top"
{{!}} {{{start}}}
| '''End date'''
}}
|{{{end|}}}
|-
|- style="vertical-align:top"
{{#if:{{{end|}}}|
{{#if:{{{cups|}}}|{{!}} '''Number of cups''' {{!}}{{!}} {{{cups|}}}|}}
{{!}} '''End date'''
|- style="vertical-align:top"
{{!}} {{{end}}}
{{#if:{{{rank|}}}|{{!}} '''Ranked cups''' {{!}}{{!}} {{{rank|}}}|}}
}}
|- style="vertical-align:top"
|-
{{#if:{{{coin|}}}|{{!}} '''Coin Rush course''' {{!}}{{!}} {{{coin|}}}|}}
{{#if:{{{cups|}}}|
|- style=background:skyblue
{{!}} '''Number of cups'''
|align="center" colspan="2" | <small>{{#if:{{{before|}}}|'''{{{before}}}'''|<<}}</small> <span style="font-size:110%">[[List of tours in Mario Kart Tour|List of tours]]</span> <small>{{#if:{{{after|}}}|'''{{{after}}}'''|>>}}</small>
{{!}} {{{cups}}}
}}
|-
{{#if:{{{rank|}}}|
{{!}} '''Ranked cups'''
{{!}} {{{rank}}}
}}
|-
{{#if:{{{coin|}}}|
{{!}} '''{{color-link|Coin Rush (Mario Kart Tour)|black|Coin Rush}} course'''
{{!}} {{{coin}}}
}}
|- style="background:skyblue"
| colspan="2" style="text-align:center" | <small>{{#if:{{{before|}}}|'''{{{before}}}'''|<<}}</small> [[List of tours in Mario Kart Tour|List of tours]] <small>{{#if:{{{after|}}}|'''{{{after}}}'''|>>}}</small>
|}<noinclude>
|}<noinclude>
==Code==
==Code==
<pre>
<pre>
{{MKTTour
{{tour infobox
|title=
|image=
|image=
|start=
|start=
Line 31: Line 45:
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]</noinclude>
[[Category:Infobox templates]]</noinclude>

Latest revision as of 01:16, May 3, 2024

Tour infobox
<< List of tours >>

Code

{{tour infobox
|title=
|image=
|start=
|end=
|cups=
|rank=
|coin=
|before=
|after=
}}