Difference between revisions of "Template:Formula One races"

From blackwiki
Jump to navigation Jump to search
imported>DB1729
(Reverted good faith edits by 2606:A000:EE47:7C00:404:DA1C:EFDE:1767: Seems like this template is listing the names of the Grands Prix, not necessarily the locations. (TW))
imported>SSSB
(Undid revision 960346216 by DB1729 (talk) - it is but the official name (we dont have enough sources to determine command name) uses Mexico City. I'm not really fussed about which we use but your revert reason is (unintentionally I'm sure) flawed.)
Line 26: Line 26:
 
* [[Japanese Grand Prix|Japanese]]
 
* [[Japanese Grand Prix|Japanese]]
 
* [[United States Grand Prix|United States]]
 
* [[United States Grand Prix|United States]]
* [[Mexican Grand Prix|Mexican]]
+
* [[Mexican Grand Prix|Mexico City]]
 
* [[Brazilian Grand Prix|Brazilian]]
 
* [[Brazilian Grand Prix|Brazilian]]
 
* [[Abu Dhabi Grand Prix|Abu Dhabi]]
 
* [[Abu Dhabi Grand Prix|Abu Dhabi]]

Revision as of 13:07, 2 June 2020

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.