Difference between revisions of "Template:Formula One Championship"

From blackwiki
Jump to navigation Jump to search
imported>Tvx1
(current season)
(Based loosely on the section headings in the article History of Formula One. Is there a better structure?)
Line 4: Line 4:
 
| state  = {{{state|autocollapse}}}
 
| state  = {{{state|autocollapse}}}
 
| listclass= hlist
 
| listclass= hlist
| group1 =
+
| group1 = Early years
| list1   =
+
| list1 =
 
* {{f1|1950}}
 
* {{f1|1950}}
 
* {{f1|1951}}
 
* {{f1|1951}}
Line 14: Line 14:
 
* {{f1|1956}}
 
* {{f1|1956}}
 
* {{f1|1957}}
 
* {{f1|1957}}
 +
| group2 = Engine development era
 +
| list2 =
 
* {{f1|1958}}
 
* {{f1|1958}}
 
* {{f1|1959}}
 
* {{f1|1959}}
Line 25: Line 27:
 
* {{f1|1967}}
 
* {{f1|1967}}
 
* {{f1|1968}}
 
* {{f1|1968}}
 +
| group3 = Aerodynamic era
 +
| list3 =
 
* {{f1|1969}}
 
* {{f1|1969}}
 
* {{f1|1970}}
 
* {{f1|1970}}
Line 39: Line 43:
 
* {{f1|1981}}
 
* {{f1|1981}}
 
* {{f1|1982}}
 
* {{f1|1982}}
 +
| group4 = Turbo era
 +
| list4 =
 
* {{f1|1983}}
 
* {{f1|1983}}
 
* {{f1|1984}}
 
* {{f1|1984}}
Line 45: Line 51:
 
* {{f1|1987}}
 
* {{f1|1987}}
 
* {{f1|1988}}
 
* {{f1|1988}}
 +
| group5 = Electronics era
 +
| list5 =
 
* {{f1|1989}}
 
* {{f1|1989}}
 
* {{f1|1990}}
 
* {{f1|1990}}
Line 60: Line 68:
 
* {{f1|2002}}
 
* {{f1|2002}}
 
* {{f1|2003}}
 
* {{f1|2003}}
 +
| group6 = Worldwide era
 +
| list6 =
 
* {{f1|2004}}
 
* {{f1|2004}}
 
* {{f1|2005}}
 
* {{f1|2005}}
Line 70: Line 80:
 
* {{f1|2012}}
 
* {{f1|2012}}
 
* {{f1|2013}}
 
* {{f1|2013}}
 +
| group7 = Hybrid era
 +
| list7 =
 
* {{f1|2014}}
 
* {{f1|2014}}
 
* '''{{f1|2015}}'''
 
* '''{{f1|2015}}'''

Revision as of 19:49, 27 January 2016

Initial visibility: currently defaults to autocollapse

To set this template's initial visibility, the |state= parameter may be used:

  • |state=collapsed: {{Formula One Championship|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Formula One Championship|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Formula One Championship|state=autocollapse}}
    • shows the template collapsed to the title bar if there is a {{navbar}}, a {{sidebar}}, or some other table on the page with the collapsible attribute
    • shows the template in its expanded state if there are no other collapsible items on the page

If the |state= parameter in the template on this page is not set, the template's initial visibility is taken from the |default= parameter in the Collapsible option template. For the template on this page, that currently evaluates to autocollapse.