Template:MKT profile: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
Tags: Mobile edit Advanced mobile edit
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{#if:{{{collapse|}}}|<div class="contentbox mw-collapsible mw-collapsed" data-expandtext="Show stats" data-collapsetext="Hide stats">}}
<includeonly>
{| class="wikitable sortable" style="text-align:center; margin-bottom:5px"
{| class="{{#if:{{{collapse|}}}|wikitable mw-collapsible mw-collapsed|wikitable}}" style="text-align:center; margin-bottom:5px"
!colspan=2|Statistics
|-
|-
|width=150px|'''Special skill'''
!width=150px|Special skill
{{#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|}}}|{{!}}[[File:MKT Icon {{{skill_kart}}}.png|32px]] [[Special skill (Mario Kart Tour)#{{{skill_kart}}} Plus|{{{skill_kart}}} Plus]]}}<!--
-->{{#if:{{{skill_kart|}}}|{{!}}[[File:MKT Icon {{{skill_kart}}}.png|32px]] [[Special skill (Mario Kart Tour)#{{{skill_kart}}} Plus|{{{skill_kart}}} Plus]]}}<!--
Line 209: Line 210:
!colspan=2|
!colspan=2|
<small>* indicates a favored course upgraded to a favorite course after reaching level 3. ** indicates a favored course upgraded to a favorite course after reaching level 6. <br>*** indicates a favored course upgraded to a favorite course after reaching level 8.</small>
<small>* indicates a favored course upgraded to a favorite course after reaching level 3. ** indicates a favored course upgraded to a favorite course after reaching level 6. <br>*** indicates a favored course upgraded to a favorite course after reaching level 8.</small>
|}{{#if:{{{collapse|}}}|</div>}}</includeonly><noinclude>
|}</includeonly><noinclude>
==Code==
==Code==
<pre>
<pre>

Latest revision as of 15:31, August 22, 2024

Code

{{MKT profile
|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=
|I1.16=|R1.16=
|I1.17=|R1.17=
|I1.18=|R1.18=
|I1.19=|R1.19=
|I1.20=|R1.20=
|I1.21=|R1.21=
|I1.22=|R1.22=
|I1.23=|R1.23=
|I1.24=|R1.24=
|I1.25=|R1.25=
|I1.26=|R1.26=
|I1.27=|R1.27=
|I1.28=|R1.28=
|I1.29=|R1.29=
|I1.30=|R1.30=
|I1.31=|R1.31=
|I1.32=|R1.32=
|I1.33=|R1.33=
|I1.34=|R1.34=
|I1.35=|R1.35=
|I1.36=|R1.36=
|I1.37=|R1.37=
|I1.38=|R1.38=
|I1.39=|R1.39=
|I1.40=|R1.40=
|I1.41=|R1.41=
|I1.42=|R1.42=
|I1.43=|R1.43=
|I1.44=|R1.44=
|I1.45=|R1.45=
|I1.46=|R1.46=
|I1.47=|R1.47=
|I1.48=|R1.48=
|I1.49=|R1.49=
|I1.50=|R1.50=

|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=
|I1.21=|R1.21=
|I1.22=|R1.22=
|I1.23=|R1.23=
|I1.24=|R1.24=
|I1.25=|R1.25=
|I2.26=|R2.26=
|I2.27=|R2.27=
|I2.28=|R2.28=
|I2.29=|R2.29=
|I2.30=|R2.30=
|I2.31=|R2.31=
|I2.32=|R2.32=
|I2.33=|R2.33=
|I2.34=|R2.34=
|I2.35=|R2.35=
|I2.36=|R2.36=
|I2.37=|R2.37=
|I2.38=|R2.38=
|I2.39=|R2.39=
|I2.40=|R2.40=
|I2.41=|R2.41=
|I2.42=|R2.42=
|I2.43=|R2.43=
|I2.44=|R2.44=
|I2.45=|R2.45=
|I2.46=|R2.46=
|I2.47=|R2.47=
|I2.48=|R2.48=
|I2.49=|R2.49=
|I2.50=|R2.50=
}}

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 "[[SNES Mario Circuit 1|SNES Mario Circuit 1R]]".
    • x can take the values "1" or "2" to indicate whether a course is a "favorite" or "favored" course.