Template:Motorsport season/doc: Difference between revisions
Appearance
Content deleted Content added
m fixed heading levels, added clears to line up examples |
Tom.Reding (talk | contribs) m →top: {{High-use}} |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{High-use}} |
|||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> |
||
{{Uses TemplateStyles|Template:Motorsport season/styles.css}} |
{{Uses TemplateStyles|Template:Motorsport season/styles.css}} |
||
== Usage == |
== Usage == |
||
<syntaxhighlight lang="wikitext"> |
|||
<pre> |
|||
{{Motorsport season |
{{Motorsport season |
||
| series = |
| series = |
||
Line 19: | Line 20: | ||
| footer = ; optional |
| footer = ; optional |
||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
== Parameters == |
== Parameters == |
||
Line 42: | Line 43: | ||
}} |
}} |
||
< |
<syntaxhighlight lang="wikitext" style="overflow:auto"> |
||
{{Motorsport season |
{{Motorsport season |
||
|series = FIA World Endurance Championship |
|series = FIA World Endurance Championship |
||
Line 48: | Line 49: | ||
|year = 2015 |
|year = 2015 |
||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
{{clear|right}} |
{{clear|right}} |
||
Line 59: | Line 60: | ||
}} |
}} |
||
< |
<syntaxhighlight lang="wikitext" style="overflow:auto"> |
||
{{Motorsport season |
{{Motorsport season |
||
|series = GP2 Series |
|series = GP2 Series |
||
Line 67: | Line 68: | ||
|footer = <small>Support series:</small><br>[[2015 GP3 Series|GP3 Series]] |
|footer = <small>Support series:</small><br>[[2015 GP3 Series|GP3 Series]] |
||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
{{clear|right}} |
{{clear|right}} |
||
Line 78: | Line 79: | ||
}} |
}} |
||
< |
<syntaxhighlight lang="wikitext" style="overflow:auto"> |
||
{{Motorsport season |
{{Motorsport season |
||
|series = Grand Prix |
|series = Grand Prix |
||
Line 86: | Line 87: | ||
|previous = 1916 |
|previous = 1916 |
||
}} |
}} |
||
</syntaxhighlight> |
|||
</pre> |
|||
<includeonly>{{Sandbox other|| |
<includeonly>{{Sandbox other|| |
||
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS --> |
||
[[Category:Motorsport templates|Season]] |
[[Category:Motorsport sidebar templates|Season]] |
||
[[ca:Plantilla:Temporada de Motociclisme]] |
[[ca:Plantilla:Temporada de Motociclisme]] |
||
[[et:Mall:Motospordi hooaeg]] |
[[et:Mall:Motospordi hooaeg]] |
Latest revision as of 20:07, 26 December 2023
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
}}