Template:Motorsport season/doc

From Teampedia
Revision as of 00:04, 8 February 2020 by Zacharycook505-104668625857976836193 (Talk | contribs) (Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === <pre> {{Motorsport season | series = | title...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Usage

{{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

  • 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

2015 FIA World Endurance Championship
Drivers' champions: Mark Webber, Timo Bernhard and Brendon Hartley
Manufacturers' champion: Porsche
Previous: 2014 Next: 2016
{{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
}}
2005 GP2 Series
Previous: 2004 Next: none
Support series:
GP3 Series
{{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]]
}}
1919 Grand Prix season
Previous: 1916 Next: 1920
{{Motorsport season
|series = Grand Prix
|title = [[Grand Prix motor racing|Grand Prix]] season
|link = Grand Prix season
|year = 1919
|previous = 1916
}}