Difference between revisions of "Template:Formula One teams"

From blackwiki
Jump to navigation Jump to search
imported>SSSB
(oops)
imported>Mitzikarl
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:#CDCDCD;">Haas</span>]]-[[Scuderia Ferrari|<span style="color:#CDCDCD;">Ferrari</span>]]
  | col4headerstyle = background:#CDCDCD; color:#E4052F; {{box-shadow border|a|#000000|1px}}
+
  | col4headerstyle = background:#000000; color:#CDCDCD; {{box-shadow border|a| #E4052F|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>]]
 
  | col5headerstyle = background:#ff9e31; color:#000000; {{box-shadow border|a|#057dee|1px}}
 
  | col5headerstyle = background:#ff9e31; color:#000000; {{box-shadow border|a|#057dee|1px}}

Revision as of 04:00, 20 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.