Difference between revisions of "Template:Formula One races"

From blackwiki
Jump to navigation Jump to search
imported>Cherkash
(Undid revision 918024999 by 79.44.43.71 (talk) Dutch GP for now is “former”, until next year when it will just become “current” (but since no WP:Crystal Ball), wait till next year is about to roll in for this template ;))
imported>SSSB
(A compromise regarding the recent back and forth with the Dutch Grand Prix. Wikipedia:WikiProject Formula One/Updates#When the official calendar for the next season is released specifies that we should identify returning races)
Line 29: Line 29:
 
* [[Abu Dhabi Grand Prix|Abu Dhabi]]
 
* [[Abu Dhabi Grand Prix|Abu Dhabi]]
  
|group2 = Future
+
|group2 = New
 
|list2 =
 
|list2 =
* [[Vietnamese Grand Prix|Vietnamese]] (new, [[2020 Formula One World Championship|2020]])
+
* [[Vietnamese Grand Prix|Vietnamese]] ({{F1|2020}})
  
|group3 = Former
+
|group3 = Returning
|list3 =
+
|list3 =
 +
* [[Dutch Grand Prix|Dutch]] ({{F1|2020}})
 +
 
 +
|group4 = Former
 +
|list4 =
 
* [[Argentine Grand Prix|Argentine]]
 
* [[Argentine Grand Prix|Argentine]]
 
* [[Caesars Palace Grand Prix|Caesars Palace]]
 
* [[Caesars Palace Grand Prix|Caesars Palace]]
 
* [[Dallas Grand Prix|Dallas]]
 
* [[Dallas Grand Prix|Dallas]]
 
* [[Detroit Grand Prix|Detroit]]
 
* [[Detroit Grand Prix|Detroit]]
* [[Dutch Grand Prix|Dutch]]
 
 
* [[European Grand Prix|European]]
 
* [[European Grand Prix|European]]
 
* [[Indian Grand Prix|Indian]]
 
* [[Indian Grand Prix|Indian]]

Revision as of 08:06, 4 October 2019

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Formula One races|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Formula One races|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Formula One races|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.