Template:MGP/doc

From blackwiki
Jump to navigation Jump to search

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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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