Template:MKT profile: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{#if:{{{collapse|}}}|<div class="va-collapsible-content mw-collapsible mw-collapsed" data-expandtext="Show stats" data-collapsetext="Hide stats">}}
{{#if:{{{collapse|1}}}|<div class="va-collapsible-content mw-collapsible mw-collapsed" data-expandtext="Show stats" data-collapsetext="Hide stats">}}
{| align=center width=100% cellspacing=0 border=1 cellpadding=3 style="border-collapse:collapse; font-family:Arial; text-align:center" class="sortable"
{| align=center width=100% cellspacing=0 border=1 cellpadding=3 style="border-collapse:collapse; font-family:Arial; text-align:center" class="sortable"
|-
|-
Line 59: Line 59:
|}
|}
|}
|}
{{#if:{{{collapse|}}}|</div>}}<noinclude>
{{#if:{{{collapse|1}}}|</div>}}<noinclude>
==Code==
==Code==
<pre>
<pre>
Line 112: Line 112:


[[File:MKT Icon Mario Circuit 1R.png|150px|thumb]]
[[File:MKT Icon Mario Circuit 1R.png|150px|thumb]]
*'''<tt>collapse=</tt>''' Enter "1" or "y" in this field to make the table collapsible.
*'''<tt>collapse=</tt>''' Enter "1" in this field to make the table collapsible.
*'''<tt>item=</tt>''' A driver's [[Special Item (Mario Kart series)|Special Item]]; e.g., [[Triple Mushrooms]].
*'''<tt>item=</tt>''' A driver's [[Special Item (Mario Kart series)|Special Item]]; e.g., [[Triple Mushrooms]].
*'''<tt>item_link=</tt>''' A Special Item's page on the wiki. Use only if the name of the page is changed; for instance, if the page Triple Mushrooms is moved to Triple Dash Mushrooms, put "Triple Dash Mushrooms" in this field and keep "Triple Mushroom" in the "<tt>item</tt>" field. This parameter was established because "<tt>item</tt>" is tied to the Special Item's image filename.
*'''<tt>item_link=</tt>''' A Special Item's page on the wiki. Use only if the name of the page is changed; for instance, if the page Triple Mushrooms is moved to Triple Dash Mushrooms, put "Triple Dash Mushrooms" in this field and keep "Triple Mushroom" in the "<tt>item</tt>" field. This parameter was established because "<tt>item</tt>" is tied to the Special Item's image filename.

Revision as of 11:19, May 15, 2020

Favored courses Three items per Item Box
[[File:MKT Icon {{{I1.1}}}.png|150px]]
{{{R1.1}}}



Two items per Item Box



Code

{{MKTProfile
|collapse=

|item=
|item_link=
|skill=

|I1.1=|R1.1=
|I1.2=|R1.2=
|I1.3=|R1.3=
|I1.4=|R1.4=
|I1.5=|R1.5=
|I1.6=|R1.6=
|I1.7=|R1.7=
|I1.8=|R1.8=
|I1.9=|R1.9=
|I1.10=|R1.10=
|I1.11=|R1.11=
|I1.12=|R1.12=
|I1.13=|R1.13=
|I1.14=|R1.14=
|I1.15=|R1.15=

|I2.1=|R2.1=
|I2.2=|R2.2=
|I2.3=|R2.3=
|I2.4=|R2.4=
|I2.5=|R2.5=
|I2.6=|R2.6=
|I2.7=|R2.7=
|I2.8=|R2.8=
|I2.9=|R2.9=
|I2.10=|R2.10=
|I2.11=|R2.11=
|I2.12=|R2.12=
|I2.13=|R2.13=
|I2.14=|R2.14=
|I2.15=|R2.15=
|I2.16=|R2.16=
|I2.17=|R2.17=
|I2.18=|R2.18=
|I2.19=|R2.19=
|I2.20=|R2.20=
}}

Usage

This template should be used to list a driver's, kart's, or glider's profile from Mario Kart Tour. The following are the parameters that are part of the template, with explanations as to what they represent:

MKT Icon Mario Circuit 1R.png
  • collapse= Enter "1" in this field to make the table collapsible.
  • item= A driver's Special Item; e.g., Triple Mushrooms.
  • item_link= A Special Item's page on the wiki. Use only if the name of the page is changed; for instance, if the page Triple Mushrooms is moved to Triple Dash Mushrooms, put "Triple Dash Mushrooms" in this field and keep "Triple Mushroom" in the "item" field. This parameter was established because "item" is tied to the Special Item's image filename.
  • skill= A kart's or glider's special skill; enter "Slipstream" in this field to get "Slipstream Plus", etc.
  • Ix.1, Ix.2, etc.= A course's icon; e.g., enter "Mario Circuit 1R" in this field to get the picture on the right.
  • Rx.1, Rx.2, etc.= A course's name; e.g., Mario Circuit 1R. You need to enter it as "[[Mario Circuit 1|Mario Circuit 1R]]".

x can take the values "1" or "2" to indicate whether a course is in the "three items" or "two items" class.