Template:Tour infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "; background-color:" to ";background:")
m (Text replacement - "{{([Cc]olor|[Cc]olor-link|[Cc]olor-link-external)\|(1=)?([^\|{}\n]+)\|(2=)?([^\|{}\n]+)([\|}])" to "{{$1|$5|$3$6")
 
(24 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|black|Coin Rush (Mario Kart Tour)|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 10:53, June 6, 2024

Tour infobox
<< List of tours >>

Code

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