Template:MGP/doc
![]() | This is a documentation subpage for Template:MGP It may contain usage information, categories and other content that is not part of the original template page. |
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
{{MGP|1999}}
→ 1999 (links to 1999 Grand Prix motorcycle racing season){{MGP|2015|Moto3}}
→ 2015 (links to 2015 Moto3 World Championship)
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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Year | 1 | Year in the YYYY format.
| Number | required |
Class | 2 | Supported values: MotoGP, Moto2, Moto3, MotoE.
| String | optional |