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 3: | Line 3: | ||
|- | |- | ||
{{#if:{{{item|}}}|{{!}}colspan=2 style="background: #ABC" width=16%{{!}}'''Special item'''}} | {{#if:{{{item|}}}|{{!}}colspan=2 style="background: #ABC" width=16%{{!}}'''Special item'''}} | ||
{{#if:{{{item|}}}|{{!}}[[File:MKT Icon {{{item}}}.png|32px]] [[{{#if:{{{item_link|}}}|{{{item_link}}}{{!}}}}{{{item}}}{{{#if:{{{identifier|}}}|{{{identifier}}}}}]]}} | {{#if:{{{item|}}}|{{!}}[[File:MKT Icon {{{item}}}.png|32px]] [[{{#if:{{{item_link|}}}|{{{item_link}}}{{!}}}}{{{item}}}{{{#if:{{{identifier|}}}|({{{identifier}}})}}]]}} | ||
|- | |- | ||
{{#if:{{{skill|}}}|{{!}}colspan=2 style="background: #ABC" width=16%{{!}}'''Special skill'''}} | {{#if:{{{skill|}}}|{{!}}colspan=2 style="background: #ABC" width=16%{{!}}'''Special skill'''}} |
Revision as of 11:46, May 15, 2020
Favored courses | Three items per Item Box |
| |
---|---|---|---|
Two items per Item Box |
|
Code
{{MKTProfile |collapse= |item= |item_link= |skill= |identifier= |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:
- 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= 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.