Template:MKT bonus challenge table

{{#ifeq:{{{1|}}}|Ready, Set, Rocket Start| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Ready, Set, Rocket Start {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Grand Star scores !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Ready, Set, Rocket Start|transcludesection=Ready, Set, Rocket Start {{{2}}}}} {{#if:{{{3|}}}|{{:Ready, Set, Rocket Start|transcludesection=Ready, Set, Rocket Start {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Time Trial| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Time Trial {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Grand Star scores !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Time Trial (Mario Kart Tour)|transcludesection=Time Trial {{{2}}}}} {{#if:{{{3|}}}|{{:Time Trial (Mario Kart Tour)|transcludesection=Time Trial {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Ring Race| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Ring Race {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Grand Star scores !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Ring Race|transcludesection=Ring Race {{{2}}}}} {{#if:{{{3|}}}|{{:Ring Race|transcludesection=Ring Race {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Do Jump Boosts| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Do Jump Boosts {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Grand Star scores !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Do Jump Boosts|transcludesection=Do Jump Boosts {{{2}}}}} {{#if:{{{3|}}}|{{:Do Jump Boosts|transcludesection=Do Jump Boosts {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Big Reverse Race| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=13 style="text-align:left"{{!}}Big Reverse Race {{!-}} !width=14.2% rowspan=2{{!}}Icon !width=14.2% rowspan=2{{!}}Course variant !width=57.1% colspan=9{{!}}Opponents !width=7.1% rowspan=2{{!}}Tour appearances !width=7.1% rowspan=2{{!}}Cup {{!-}} ! !width=6.3%{{!}}7th !width=6.3%{{!}}6th !width=6.3%{{!}}5th !width=6.3%{{!}}4th !width=6.3%{{!}}3rd !width=6.3%{{!}}2nd !width=6.3%{{!}}1st !width=6.3%{{!}}Extra {{:Big Reverse Race|transcludesection=Big Reverse Race {{{2}}}}} {{#if:{{{3|}}}|{{:Big Reverse Race|transcludesection=Big Reverse Race {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=13 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Goomba Takedown| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=10 style="text-align:left"{{!}}Goomba Takedown {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=9.5%{{!}}Chosen driver !width=9.5%{{!}}Chosen kart !width=9.5%{{!}}Chosen glider !width=9.5%{{!}}Item Box type found !width=9.5%{{!}}Number of item slots !width=9.5%{{!}}Grand Star scores !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Goomba Takedown|transcludesection=Goomba Takedown {{{2}}}}} {{#if:{{{3|}}}|{{:Goomba Takedown|transcludesection=Goomba Takedown {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=10 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Glider Challenge| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Glider Challenge {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Grand Star distances !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Glider Challenge|transcludesection=Glider Challenge {{{2}}}}} {{#if:{{{3|}}}|{{:Glider Challenge|transcludesection=Glider Challenge {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Steer Clear of Obstacles| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Steer Clear of Obstacles {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Obstacles !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Steer Clear of Obstacles|transcludesection=Steer Clear of Obstacles {{{2}}}}} {{#if:{{{3|}}}|{{:Steer Clear of Obstacles|transcludesection=Steer Clear of Obstacles {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Break Item Boxes| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=10 style="text-align:left"{{!}}Break Item Boxes {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=9.5%{{!}}Chosen driver !width=9.5%{{!}}Chosen kart !width=9.5%{{!}}Chosen glider !width=9.5%{{!}}Item Box type found !width=9.5%{{!}}Number of item slots !width=9.5%{{!}}Grand Star scores !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Break Item Boxes|transcludesection=Break Item Boxes {{{2}}}}} {{#if:{{{3|}}}|{{:Break Item Boxes|transcludesection=Break Item Boxes {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=10 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Smash Small Dry Bones| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Smash Small Dry Bones {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Grand Star scores !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Smash Small Dry Bones|transcludesection=Smash Small Dry Bones {{{2}}}}} {{#if:{{{3|}}}|{{:Smash Small Dry Bones|transcludesection=Smash Small Dry Bones {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Vs. Mega| {{{!}}class="wikitable"style="border-top: 2px solid #A2A9B1;text-align:center"width=100% !colspan={{#if:{{{other|}}}|12|8}} style="text-align:left"{{!}}}}}|vs.|Vs.}} Mega {{{char|}}} {{{2}}}|{{#if:{{{lc|}}}|vs.|Vs.}} Mega {{{char}}} {{!-}} !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|7.1}}% rowspan=2{{!}}Tour appearances !width={{#if:{{{other|}}}|9|7.1}}% rowspan=2{{!}}Cup {{!-}} !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:{{{note|}}}| {{!-}} {{!-}} {{!}}colspan={{#if:{{{other|}}}|12|8}} style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Combo Attack| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Combo Attack {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Highest combo counts !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Combo Attack|transcludesection=Combo Attack {{{2}}}}} {{#if:{{{3|}}}|{{:Combo Attack|transcludesection=Combo Attack {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Take them out quick!| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=17 style="text-align:left"{{!}}Take them out quick! {{!-}} !width=6.2% rowspan=2{{!}}Icon !width=6.2% rowspan=2{{!}}Course variant !width=31.2% colspan=5{{!}}Chosen driver information !width=6.2% rowspan=2{{!}}Item Box type(s) found !width=31.2% colspan=5{{!}}Opponent information !width=6.2% rowspan=2{{!}}Starting time !width=6.2% rowspan=2{{!}}Grand Star times !width=3.1% rowspan=2{{!}}Tour appearances !width=3.1% rowspan=2{{!}}Cup {{!-}} !width=6.2%{{!}}Driver !width=6.2%{{!}}Kart !width=6.2%{{!}}Glider !width=6.2%{{!}}Number of balloons !width=6.2%{{!}}Number of item slots !width=6.2%{{!}}Driver !width=6.2%{{!}}Kart !width=6.2%{{!}}Glider !width=6.2%{{!}}Number of balloons !width=6.2%{{!}}Items used {{:Take them out quick!|transcludesection=Take them out quick! {{{2}}}}}{{#if:{{{note|}}}| {{!-}} {{!-}} {{!}}colspan=17 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Snap a Photo| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=11 style="text-align:left"{{!}}Snap a Photo {{!-}} !rowspan=2 width=14.2%{{!}}Icon !rowspan=2 width=14.2%{{!}}Course variant !rowspan=2 width=7.4%{{!}}Chosen driver !rowspan=2 width=7.4%{{!}}Chosen kart !rowspan=2 width=7.4%{{!}}Chosen glider !width=22.3% colspan=3{{!}}Other driver information !rowspan=2 width=12.4%{{!}}Objectives !rowspan=2 width=7.1%{{!}}Tour appearances !rowspan=2 width=7.1%{{!}}Cup {{!-}} !width=7.4%{{!}}Driver !width=7.4%{{!}}Kart !width=7.4%{{!}}Glider {{:Snap a Photo|transcludesection=Snap a Photo {{{2}}}}} {{#if:{{{3|}}}|{{:Snap a Photo|transcludesection=Snap a Photo {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=11 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Big Reverse Race vs. 100| {{{!}} class="wikitable" style="text-align:center" width=100% !width=12.5% !colspan=14 style="text-align:left"{{!}}Big Reverse Race vs. 100 {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=28.5% colspan=8{{!}}Opponents !width=14.2%{{!}}Player !width=14.2%{{!}}Grand Star placements !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Big Reverse Race vs. 100|transcludesection=Big Reverse Race vs. 100 {{{2}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=14 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Precision Gliding| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=8 style="text-align:left"{{!}}Precision Gliding {{!-}} !width=14.2%{{!}}Icon !width=14.2%{{!}}Course variant !width=14.2%{{!}}Chosen driver !width=14.2%{{!}}Chosen kart !width=14.2%{{!}}Chosen glider !width=14.2%{{!}}Grand Star scores !width=7.1%{{!}}Tour appearances !width=7.1%{{!}}Cup {{:Precision Gliding|transcludesection=Precision Gliding {{{2}}}}} {{#if:{{{3|}}}|{{:Precision Gliding|transcludesection=Precision Gliding {{{3}}}}}}}{{#if:{{{note|}}}| {{!-}} {{!}}colspan=8 style="text-align:left"{{!}}Note: {{{note}}}}} {{!}}}}}

Usage
This template automatically creates a table with information about a given bonus challenge from Mario Kart Tour. It uses the code  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.