Difference between revisions of "Template:Formula One teams"

From blackwiki
Jump to navigation Jump to search
imported>SSSB
imported>Mitzikarl
(Updating and fix the colors and removing the word "F")
Line 1: Line 1:
F{{Navbox
+
{{Navbox
 
|name = Formula One teams
 
|name = Formula One teams
 
|title = {{Color|#000000|Teams and drivers that are competing in the}} [[2020 Formula One World Championship|{{Color|#000000|2020 Formula One World Championship}}]]
 
|title = {{Color|#000000|Teams and drivers that are competing in the}} [[2020 Formula One World Championship|{{Color|#000000|2020 Formula One World Championship}}]]
Line 17: Line 17:
 
  | col3header = [[Scuderia Ferrari|<span style="color:#FFFFFF;">Ferrari</span>]]
 
  | col3header = [[Scuderia Ferrari|<span style="color:#FFFFFF;">Ferrari</span>]]
 
  | col3headerstyle = background:#D40000; color:#FFFFFF; {{box-shadow border|a|#D40000|1px}}
 
  | col3headerstyle = background:#D40000; color:#FFFFFF; {{box-shadow border|a|#D40000|1px}}
  | col4header = [[Haas F1 Team|<span style="color:white;">Haas</span>]]-[[Scuderia Ferrari|<span style="color:white;">Ferrari</span>]]
+
  | col4header = [[Haas F1 Team|<span style="color:#E4052F;">Haas</span>]]-[[Scuderia Ferrari|<span style="color:#E4052F;">Ferrari</span>]]
 
  | col4headerstyle = background:#CDCDCD; color:#E4052F; {{box-shadow border|a|#000000|1px}}
 
  | col4headerstyle = background:#CDCDCD; color:#E4052F; {{box-shadow border|a|#000000|1px}}
 
  | col5header = [[McLaren|<span style="color:#000000;">McLaren</span>]]-[[Renault in Formula One|<span style="color:#000000;">Renault</span>]]
 
  | col5header = [[McLaren|<span style="color:#000000;">McLaren</span>]]-[[Renault in Formula One|<span style="color:#000000;">Renault</span>]]

Revision as of 23:51, 18 November 2020

Initial visibility: currently defaults to autocollapse

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

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