Template:MGP/sandbox
[[{{{1}}} Grand Prix motorcycle racing season|{{{1}}}]]
This is the template sandbox page for Template:MGP (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
[edit]{{MGP|1999}}
→ 1999 (links to 1999 Grand Prix motorcycle racing season){{MGP|2015|Moto3}}
→ 2015 (links to 2015 Moto3 World Championship)
TemplateData
[edit]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 |