Difference between revisions of "Template:Formula E"

From blackwiki
Jump to navigation Jump to search
imported>Fungchilong
imported>Mitzikarl
(Updating and fix the colors)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = Formula E
 
| name = Formula E
| title = [[Formula E]]
+
| title = [[Formula E|{{Color|#FFFFFF|Formula E}}]]
 
| state = {{{state|autocollapse}}}
 
| state = {{{state|autocollapse}}}
| basestyle = background:#00BFFF; color:black;  
+
| basestyle = background:#00B9E5; color:#FFFFFF; {{box-shadow border|a|#00B9E5|1px}}
 
| bodyclass = hlist
 
| bodyclass = hlist
  
Line 13: Line 13:
 
* {{FE|2017–18}}
 
* {{FE|2017–18}}
 
* {{FE|2018–19}}
 
* {{FE|2018–19}}
* '''{{FE|2019–20}}'''
+
* {{FE|2019–20}}
* ''{{FE|2020–21}}''
+
* '''{{FE|2020–21}}'''
  
| group2 = Current ePrix ({{FE|2019–20}})
+
| group2 = Current ePrix ([[2020–21 Formula E Championship|{{Color|#FFFFFF|2020–21}}]])
 
| list2 =  
 
| list2 =  
 
* [[Diriyah ePrix|Diriyah]]
 
* [[Diriyah ePrix|Diriyah]]
 
* [[Santiago ePrix|Santiago]]
 
* [[Santiago ePrix|Santiago]]
 +
 +
 +
| group3 = Provisional ePrix
 +
| list3 =
 
* [[Mexico City ePrix|Mexico City]]
 
* [[Mexico City ePrix|Mexico City]]
* [[Marrakesh ePrix|Marrakesh]]
 
 
* [[Berlin ePrix|Berlin]]
 
* [[Berlin ePrix|Berlin]]
 
| group3 = Future ePrix
 
| list3 =
 
 
* [[London ePrix|London]]
 
* [[London ePrix|London]]
 
* [[Monaco ePrix|Monaco]]
 
* [[Monaco ePrix|Monaco]]
Line 47: Line 47:
 
* [[Putrajaya ePrix|Putrajaya]]
 
* [[Putrajaya ePrix|Putrajaya]]
 
* [[Zürich ePrix|Zürich]]
 
* [[Zürich ePrix|Zürich]]
 +
* [[Marrakesh ePrix|Marrakesh]]
  
  
Line 54: Line 55:
 
* [[Roborace]] (future)
 
* [[Roborace]] (future)
  
| group6 = [[Formula E car|Race cars]]
+
| group6 = [[Formula E car|{{Color|#FFFFFF|Race cars}}]]
 
| list6 =  
 
| list6 =  
 
* [[Spark-Renault SRT_01E|SRT01-e]] (Gen1)
 
* [[Spark-Renault SRT_01E|SRT01-e]] (Gen1)

Revision as of 02:54, 19 November 2020

Initial visibility: currently defaults to autocollapse

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

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