Template:Motorsport season/doc
Appearance
This is a documentation subpage for Template:Motorsport season. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 5,100 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses TemplateStyles: |
Usage
[edit]{{Motorsport season
| series =
| title = ; optional
| subheader = ; optional
| link = ; optional
| year = YYYY
| previous = YYYY ; optional
| next = YYYY ; optional
| previouslink = ; optional
| nextlink = ; optional
| previoussuffix = ; optional
| nextsuffix = ; optional
| footer = ; optional
}}
Parameters
[edit]- series: Name of the championship
- title: Changes the visible title on the template; defaults to [[series]] with a wikilink when not set.
- subheader: Optional additional information to display in the middle of the template, e.g. season champions
- link: Sets the destination of the previous/next year links; defaults to series when not set.
- year: The year covered by the article. For multi-year championships, use format XXYY–YY.
- previous: The previous year of the championship; defaults to year - 1 when not set.
- next: The next year of the championship; defaults to year + 1 when not set.
- previouslink/nextlink: Sets custom previous/next year links. Use when championship changes name between articles.
- previoussuffix/nextsuffix: Adds a suffix in brackets after the previous/next links.
- footer: Adds additional text below the previous and next links.
Examples
[edit]{{Motorsport season
|series = FIA World Endurance Championship
|subheader = Drivers' champions: [[Mark Webber]], [[Timo Bernhard]] and [[Brendon Hartley]]<br>Manufacturers' champion: [[Porsche in motorsport|Porsche]]
|year = 2015
}}
{{Motorsport season
|series = GP2 Series
|year = 2005
|previouslink = 2004 International Formula 3000 Championship
|next = none
|footer = <small>Support series:</small><br>[[2015 GP3 Series|GP3 Series]]
}}
{{Motorsport season
|series = Grand Prix
|title = [[Grand Prix motor racing|Grand Prix]] season
|link = Grand Prix season
|year = 1919
|previous = 1916
}}