Template:MKT bonus challenge table: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (→Usage) |
No edit summary |
||
Line 153: | Line 153: | ||
{{#if:{{{3|}}}|{{:Smash Small Dry Bones|transcludesection=Smash Small Dry Bones {{{3}}}}}}} | {{#if:{{{3|}}}|{{:Smash Small Dry Bones|transcludesection=Smash Small Dry Bones {{{3}}}}}}} | ||
{{!}}}}<!-- | {{!}}}}<!-- | ||
-->{{#ifeq:{{{1|}}}|Vs. Mega| | |||
{{{!}}class="wikitable"style="border-top: 2px solid #A2A9B1;text-align:center"width=100% | |||
!width={{#if:{{{other}}}|9|14.2}}% rowspan=2{{!}}Icon | |||
!width={{#if:{{{other}}}|10|14.2}}% rowspan=2{{!}}Course variant | |||
!width={{#if:{{{other}}}|36|56.8}}% colspan=4{{!}}Mega opponent information{{#if:{{{other}}}|<!-- | |||
-->!width=36% colspan=4{{!}}Other opponent information}} | |||
!width={{#if:{{{other}}}|9|14.2}}% rowspan=2{{!}}Tour appearances | |||
{{!-}} | |||
!width={{#if:{{{other}}}|9|14.2}}%{{!}}Driver | |||
!width={{#if:{{{other}}}|9|14.2}}%{{!}}Kart | |||
!width={{#if:{{{other}}}|9|14.2}}%{{!}}Glider | |||
!width={{#if:{{{other}}}|9|14.2}}%{{!}}Items used{{#if:{{{other}}}|<!-- | |||
-->!width=9%{{!}}Driver | |||
!width=9%{{!}}Kart | |||
!width=9%{{!}}Glider | |||
!width=9%{{!}}Items used}} | |||
{{:Vs. Mega|transcludesection={{#if:{{{lc|}}}|vs.|Vs.}} Mega {{{char|}}} {{{2}}}}} | |||
{{#if:{{{3|}}}|{{:Vs. Mega|transcludesection={{#if:{{{lc|}}}|vs.|Vs.}} Mega {{{char|}}} {{{3}}}}}}} | |||
{{!}}}}}<!-- | |||
-->{{#ifeq:{{{1|}}}|Combo Attack| | -->{{#ifeq:{{{1|}}}|Combo Attack| | ||
{{{!}} class="wikitable" style="text-align:center" width=100% | {{{!}} class="wikitable" style="text-align:center" width=100% | ||
Line 204: | Line 223: | ||
==Usage== | ==Usage== | ||
This template automatically creates a table with information about a given [[Mario Kart Tour#Bonus challenges|bonus challenge]] from ''[[Mario Kart Tour]]''. It uses the code <code><nowiki>{{MKT bonus challenge table|}}</nowiki></code> and has | This template automatically creates a table with information about a given [[Mario Kart Tour#Bonus challenges|bonus challenge]] from ''[[Mario Kart Tour]]''. It uses the code <code><nowiki>{{MKT bonus challenge table|}}</nowiki></code> and has 6 parameters. | ||
*The first parameter is for the name of the bonus challenge. It creates a header suited for the information related to that bonus challenge. | *The first unnamed parameter is for the name of the bonus challenge. It creates a header suited for the information related to that bonus challenge. | ||
*The remaining parameters are for the variants of a given course where the bonus challenge is held (for instance: [[Tour New York Minute|New York Minute]], New York Minute R, New York Minute T, or New York Minute R/T). | *The remaining two unnamed parameters are for the variants of a given course where the bonus challenge is held (for instance: [[Tour New York Minute|New York Minute]], New York Minute R, New York Minute T, or New York Minute R/T). | ||
*The '''<tt>char=</tt>''', '''<tt>other=</tt>''', and '''<tt>lc=</tt>''' parameters are used exclusively for [[Vs. Mega]] bonus challenges. | |||
**'''<tt>char=</tt>''' is for the name of the main opponent, i.e. "Bowser" or "Donkey Kong". You don't need to add a "Mega" identifier to the name; the template takes care of that. | |||
**'''<tt>other=</tt>''', when defined, adds several labels in the table's header to account for the main opponent's regular-sized cohorts, if any. For instance, the Vs. Mega Bowser bonus challenge on [[SNES Koopa Troopa Beach 2]] has a number of small Koopa Troopas acting as opponents in addition to Mega Bowser; the parameter adds additional labels for the information relevant to these Koopa Troopas, such as what karts, gliders, and items they use. | |||
**'''<tt>lc=</tt>''', when defined, writes the "vs." part of the bonus challenge's name in lowercase to better reflect the in-game name of the bonus challenge in some cases. | |||
[[Category:MKT content templates]]</noinclude> | [[Category:MKT content templates]]</noinclude> |
Revision as of 14:58, July 20, 2023
}}
Usage
This template automatically creates a table with information about a given bonus challenge from Mario Kart Tour. It uses the code {{MKT bonus challenge table|}}
and has 6 parameters.
- The first unnamed parameter is for the name of the bonus challenge. It creates a header suited for the information related to that bonus challenge.
- The remaining two unnamed parameters are for the variants of a given course where the bonus challenge is held (for instance: New York Minute, New York Minute R, New York Minute T, or New York Minute R/T).
- The char=, other=, and lc= parameters are used exclusively for Vs. Mega bonus challenges.
- char= is for the name of the main opponent, i.e. "Bowser" or "Donkey Kong". You don't need to add a "Mega" identifier to the name; the template takes care of that.
- other=, when defined, adds several labels in the table's header to account for the main opponent's regular-sized cohorts, if any. For instance, the Vs. Mega Bowser bonus challenge on SNES Koopa Troopa Beach 2 has a number of small Koopa Troopas acting as opponents in addition to Mega Bowser; the parameter adds additional labels for the information relevant to these Koopa Troopas, such as what karts, gliders, and items they use.
- lc=, when defined, writes the "vs." part of the bonus challenge's name in lowercase to better reflect the in-game name of the bonus challenge in some cases.