Template:MGP/doc

From HandWiki
< Template:MGP
Revision as of 07:18, 21 November 2020 by imported>Gpmat (created documentation subpage)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This template may be used to generate abbreviated links to the Grand Prix motorcycle racing seasons.

The template links to YYYY Grand Prix motorcycle racing season for any year entered as first parameter; for years from 2013 onwards, the second parameter can be used to create a link to the class-specific articles named YYYY Class World Championship.

Examples

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.

TemplateData for MGP

This template may be used to generate abbreviated links to the Grand Prix motorcycle racing seasons. The template links to YYYY Grand Prix motorcycle racing season for any year entered as first parameter; for years from 2013 onwards, the second parameter can be used to create a link to the class-specific articles named YYYY Class World Championship.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Year1

Year in the YYYY format.

Example
1999
Numberrequired
Class2

Supported values: MotoGP, Moto2, Moto3, MotoE.

Example
Moto2
Stringoptional