Changes

Template:Motorsport season/doc

3,078 bytes added, 23:04, 7 February 2020
Created page with "{{Documentation subpage}} <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> === Usage === <pre> {{Motorsport season | series = | title..."
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->

=== Usage ===
<pre>
{{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
}}
</pre>

=== Parameters ===

*'''series:''' Name of the championship
*'''title:''' Changes the visible title on the template; defaults to '''<nowiki>[[series]]</nowiki>''' 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 ===
{{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
}}

<pre style="overflow:auto">
{{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
}}
</pre>

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

<pre style="overflow:auto">
{{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]]
}}
</pre>

{{Motorsport season
|series = Grand Prix
|title = [[Grand Prix motor racing|Grand Prix]] season
|link = Grand Prix season
|year = 1919
|previous = 1916
}}

<pre style="overflow:auto">
{{Motorsport season
|series = Grand Prix
|title = [[Grand Prix motor racing|Grand Prix]] season
|link = Grand Prix season
|year = 1919
|previous = 1916
}}
</pre>

<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:Motorsport templates|Season]]
[[ca:Plantilla:Temporada de Motociclisme]]
[[et:Mall:Motospordi hooaeg]]
[[ja:Template:Motorsport season]]
</includeonly>