Template:MKT profile: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
(previously it was too dark)
Line 2: Line 2:
{| 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"
|-
|-
{{#if:{{{item|}}}|{{!}}colspan=2 style="background: #ABC" width=16%{{!}}'''Special item'''}}
{{#if:{{{item|}}}|{{!}}colspan=2 style="background: #c3cfdb" width=16%{{!}}'''Special item'''}}
{{#if:{{{item|}}}|{{!}}[[File:MKT Icon {{{item}}}.png|32px]] [[{{#if:{{{item_link|}}}|{{{item_link}}}{{!}}}}{{{item}}}{{#if:{{{identifier|}}}|_({{{identifier}}}){{!}}{{{item}}}}}]]}}
{{#if:{{{item|}}}|{{!}}[[File:MKT Icon {{{item}}}.png|32px]] [[{{#if:{{{item_link|}}}|{{{item_link}}}{{!}}}}{{{item}}}{{#if:{{{identifier|}}}|_({{{identifier}}}){{!}}{{{item}}}}}]]}}
|-
|-
{{#if:{{{skill_kart|}}}|{{!}}colspan=2 style="background: #ABC" width=16%{{!}}'''Special skill'''}}
{{#if:{{{skill_kart|}}}|{{!}}colspan=2 style="background: #c3cfdb" width=16%{{!}}'''Special skill'''}}
{{#if:{{{skill_kart|}}}|{{!}}[[File:MKT Icon {{{skill_kart}}}.png|32px]] {{{skill_kart}}} Plus}}
{{#if:{{{skill_kart|}}}|{{!}}[[File:MKT Icon {{{skill_kart}}}.png|32px]] {{{skill_kart}}} Plus}}
|-
|-
{{#if:{{{skill_glider|}}}|{{!}}colspan=2 style="background: #ABC" width=16%{{!}}'''Special skill'''}}
{{#if:{{{skill_glider|}}}|{{!}}colspan=2 style="background: #c3cfdb" width=16%{{!}}'''Special skill'''}}
{{#if:{{{skill_glider|}}}|{{!}}[[File:MKT Icon {{{skill_glider}}}.png|32px]] [[{{{skill_glider}}}]] Plus}}
{{#if:{{{skill_glider|}}}|{{!}}[[File:MKT Icon {{{skill_glider}}}.png|32px]] [[{{{skill_glider}}}]] Plus}}
|-
|-
!rowspan=2 style="background: #ABC" width=8%|Favored courses
!rowspan=2 style="background:#c3cfdb;width:8%"|Favored courses
!style="background: #ABC" width=8%|{{#if:{{{item|}}}|Three items per Item Box}}{{#if:{{{skill_kart|}}}|Bonus points ×2}}{{#if:{{{skill_glider|}}}|Combo bonus ×3 and big combo-time boost}}
!style="background: #c3cfdb" width=8%|{{#if:{{{item|}}}|Three items per Item Box}}{{#if:{{{skill_kart|}}}|Bonus points ×2}}{{#if:{{{skill_glider|}}}|Combo bonus ×3 and big combo-time boost}}
|
|
{| align=left
{| align=left
Line 34: Line 34:
|}
|}
|-
|-
!style="background: #ABC" width=8%|{{#if:{{{item|}}}|Two items per Item Box}}{{#if:{{{skill_kart|}}}|Bonus points ×1.5}}{{#if:{{{skill_glider|}}}|Combo bonus ×2 and combo-time boost}}
!style="background: #c3cfdb" width=8%|{{#if:{{{item|}}}|Two items per Item Box}}{{#if:{{{skill_kart|}}}|Bonus points ×1.5}}{{#if:{{{skill_glider|}}}|Combo bonus ×2 and combo-time boost}}
|
|
{| align=left
{| align=left

Revision as of 22:16, May 20, 2020

Favored courses
[[File:MKT Icon {{{I1.1}}}.png|150px]]
{{{R1.1}}}

Code

{{MKTProfile
|collapse=

|item=
|item_link=
|identifier=

|skill_kart=

|skill_glider=

|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" or "y" 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.
  • identifier= The Special Item's identifier on the wiki; e.g., "item" for Heart (item)
  • skill_kart= A kart's special skill; enter "Slipstream" in this field to get "Slipstream Plus", etc.
  • skill_glider= A glider's special skill; enter "Mushroom" in this field to get "Mushroom 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., SNES Mario Circuit 1R. You need to enter it as "[[Mario Circuit 1|SNES 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.