Template:MKT bonus challenge table: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Text replacement - ""(id|class|style|align|width|height|background|bgcolor|border|bordercolor|cellpadding|cellspacing)=" to "" $1=")
Line 182: Line 182:
{{!}}}}<!--
{{!}}}}<!--
-->{{#ifeq:{{{1|}}}|Vs. Mega|
-->{{#ifeq:{{{1|}}}|Vs. Mega|
{{{!}}class="wikitable"style="border-top: 2px solid #A2A9B1;text-align:center"width=100%
{{{!}}class="wikitable" style="border-top: 2px solid #A2A9B1;text-align:center" width=100%
!colspan={{#if:{{{other|}}}|12|8}} style="text-align:left"{{!}}[[Vs. Mega#{{#if:{{{lc|}}}|vs.|Vs.}} Mega {{{char|}}} {{{2}}}|{{#if:{{{lc|}}}|vs.|Vs.}} Mega {{{char}}}]]
!colspan={{#if:{{{other|}}}|12|8}} style="text-align:left"{{!}}[[Vs. Mega#{{#if:{{{lc|}}}|vs.|Vs.}} Mega {{{char|}}} {{{2}}}|{{#if:{{{lc|}}}|vs.|Vs.}} Mega {{{char}}}]]
{{!-}}
{{!-}}

Revision as of 15:15, February 3, 2024

}

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 7 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 note= parameter is used to add a note to a particular bonus challenge entry.
  • 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.