Zum Inhalt springen

Vorlage:Navbox years/Doku

Aus Wikivoyage

Usage

[Bearbeiten]

This template can be used to create navboxes for yearly tournaments.

There is an optional state parameter working as described at Template:Navbox#Setup parameters.

Example

[Bearbeiten]
{{navbox years
|name = Fußball-Weltmeisterschaft
|title = [[Internationale Sport-Ereignisse|Fußball-Weltmeisterschaft]]
|titlestyle = background-color:#FF7F00;
|list1 = 
{{navbox years|Fußball-Weltmeisterschaft|    |    |    |    |    |    |1958|1962|1966|1970}}
{{navbox years|Fußball-Weltmeisterschaft|1974|1978|1982|1986|1990|1994|1998|2002|2006|2010}}
{{navbox years|Fußball-Weltmeisterschaft|2014|2018|2020|2024|    |    |    |    |    |    }}
}}

See also

[Bearbeiten]
Navigation templates comparison
Collapsible Header color Image Groups Style (body)
parameter/s
Examples
{{Navbox}} collapsible navbox Left/right of body Yes Yes
{{Navbox with collapsible groups}} collapsible navbox Left/right of body and/or in each list Yes Yes
{{Navbox with columns}} collapsible navbox Left/right of columns No Yes
{{Navbox years}} collapsible navbox No No No
Collapsible attributes
Type CSS classes Javascript Collapses when Custom
initial state
Nesting
Collapsible tables collapsible Defined in Common.js 2 or more autocollapse on page Yes Yes