Jump to content

Template:MGP/doc

From Wikipedia, the free encyclopedia

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

[edit]

TemplateData

[edit]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:MGP in articles based on its 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