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}}}}}}} {{!}}}}{{#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}}}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Ring Race| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=7 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=14.2%{{!}}Tour appearances {{:Ring Race|transcludesection=Ring Race {{{2}}}}} {{#if:{{{3|}}}|{{:Ring Race|transcludesection=Ring Race {{{3}}}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Do Jump Boosts| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=7 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=14.2%{{!}}Tour appearances {{:Do Jump Boosts|transcludesection=Do Jump Boosts {{{2}}}}} {{#if:{{{3|}}}|{{:Do Jump Boosts|transcludesection=Do Jump Boosts {{{3}}}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Big Reverse Race| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=12 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=14.2% rowspan=2{{!}}Tour appearances {{!-}} ! !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}}}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Goomba Takedown| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=9 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=14.2%{{!}}Tour appearances {{:Goomba Takedown|transcludesection=Goomba Takedown {{{2}}}}} {{#if:{{{3|}}}|{{:Goomba Takedown|transcludesection=Goomba Takedown {{{3}}}}}}} {{!}}}}{{#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}}}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Steer Clear of Obstacles| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=7 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=14.2%{{!}}Tour appearances {{:Steer Clear of Obstacles|transcludesection=Steer Clear of Obstacles {{{2}}}}} {{#if:{{{3|}}}|{{:Steer Clear of Obstacles|transcludesection=Steer Clear of Obstacles {{{3}}}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Break Item Boxes| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=9 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=14.2%{{!}}Tour appearances {{:Break Item Boxes|transcludesection=Break Item Boxes {{{2}}}}} {{#if:{{{3|}}}|{{:Break Item Boxes|transcludesection=Break Item Boxes {{{3}}}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Smash Small Dry Bones| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=7 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=14.2%{{!}}Tour appearances {{:Smash Small Dry Bones|transcludesection=Smash Small Dry Bones {{{2}}}}} {{#if:{{{3|}}}|{{:Smash Small Dry Bones|transcludesection=Smash Small Dry Bones {{{3}}}}}}} {{!}}}}{{#ifeq:{{{1|}}}|Combo Attack| {{{!}} class="wikitable" style="text-align:center" width=100% !colspan=7 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=14.2%{{!}}Tour appearances {{:Combo Attack|transcludesection=Combo Attack {{{2}}}}} {{#if:{{{3|}}}|{{:Combo Attack|transcludesection=Combo Attack {{{3}}}}}}} {{!}}}}{{#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}}}}}}} {{!}}}}{{#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}}}}}}} {{!}}}}}

Usage
This template automatically creates a table with information about a given bonus challenge from Mario Kart Tour. It uses the code  and has 3 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 remaining parameters are for the variants of a given course where a bonus challenge is held (for instance: New York Minute, New York Minute R, New York Minute T, or New York Minute R/T).