Template:MKT bonus challenge table: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(yo dawg i heard you like mario kart tour templates)
 
No edit summary
Line 93: Line 93:
!width=14.2%{{!}}Tour appearances}}
!width=14.2%{{!}}Tour appearances}}
{{#ifeq:{{{1|}}}|Break Item Boxes|
{{#ifeq:{{{1|}}}|Break Item Boxes|
!colspan=7 style="text-align:left"{{!}}[[Break Item Boxes]]
!colspan=9 style="text-align:left"{{!}}[[Break Item Boxes]]
{{!-}}
{{!-}}
!width=14.2%{{!}}Icon
!width=14.2%{{!}}Icon
Line 127: Line 127:
!colspan=11 style="text-align:left"{{!}}[[Snap a Photo]]
!colspan=11 style="text-align:left"{{!}}[[Snap a Photo]]
{{!-}}
{{!-}}
!rowspan=2 width=12.5%{{!}}Icon
!rowspan=2 width=14.2%{{!}}Icon
!rowspan=2 width=12.5%{{!}}Course variant
!rowspan=2 width=14.2%{{!}}Course variant
!rowspan=2 width=6.5%{{!}}Chosen<br>driver
!rowspan=2 width=7.4%{{!}}Chosen<br>driver
!rowspan=2 width=6.5%{{!}}Chosen<br>kart
!rowspan=2 width=7.4%{{!}}Chosen<br>kart
!rowspan=2 width=6.5%{{!}}Chosen<br>glider
!rowspan=2 width=7.4%{{!}}Chosen<br>glider
!width=19.5% colspan=3{{!}}Other driver information
!width=22.3% colspan=3{{!}}Other driver information
!rowspan=2 width=10.9%{{!}}Objectives
!rowspan=2 width=12.4%{{!}}Objectives
!rowspan=2 width=12.5%{{!}}Tour appearances
!rowspan=2 width=7.1%{{!}}Tour appearances
!rowspan=2 width=12.5%{{!}}Cup
!rowspan=2 width=7.1%{{!}}Cup
{{!-}}
{{!-}}
!width=6.5%{{!}}Driver
!width=7.4%{{!}}Driver
!width=6.5%{{!}}Kart
!width=7.4%{{!}}Kart
!width=6.5%{{!}}Glider}}
!width=7.4%{{!}}Glider}}
{{#ifeq:{{{1|}}}|Precision Gliding|
{{#ifeq:{{{1|}}}|Precision Gliding|
!colspan=8 style="text-align:left"{{!}}[[Precision Gliding]]
!colspan=8 style="text-align:left"{{!}}[[Precision Gliding]]

Revision as of 14:29, July 11, 2023

Usage

This template automatically creates a header for the bonus challenge tables in Mario Kart Tour course articles. The contents of these tables are often subject to change, but while the information in a table is transcluded from its respective bonus challenge page (and can thus be easily be modified from there), the header preceding the information is not. Without this template, if new information is added or the existing information is reorganized on a bonus challenge page, the header may have to be manually edited on each and every page where the change was effected as a result of transclusion.

The template uses the code {{MKT bonus challenge table header|}}. Type the name of a bonus challenge in the template's parameter to create a header suited for the information related to that bonus challenge.

Please note that the template does not close the table containing the bonus challenge information. You have to add the "|}" markup yourself.