Difference between revisions of "Template:England cricket team"

From blackwiki
Jump to navigation Jump to search
imported>Jaellee
(reverted unexplained changes)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| titlestyle = background:#B0E0E6; color:#152A5E;
+
| titlestyle = background:#B0E0E6;color:#_thinmidnightbluesides; border:solid # 2px
| groupstyle = background:#B0E0E6;color:#152A5E;
+
| groupstyle = background:#B0E0E6;color:#_thinmidnightbluesides;;
| abovestyle = background:#B0E0E6;color:#152A5E;
+
| abovestyle = background:#B0E0E6;color:#_thinmidnightbluesides;;
| name = England cricket team
+
| name=England cricket team
| title      = {{flagicon|ENG}} [[England cricket team|{{color|#152A5E|England cricket team}}]]
+
| title      = {{flagicon|ENG}} [[England cricket team]]
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
 
| bodyclass  = hlist
 
| bodyclass  = hlist
Line 29: Line 29:
 
| group6 = Key personnel
 
| group6 = Key personnel
 
| list6  = {{Navbox|child
 
| list6  = {{Navbox|child
| groupstyle = background:#B0E0E6;color:#152A5E;
+
| groupstyle = background:#B0E0E6;color:#_thinmidnightbluesides;;
 
   | group1 = Governing Body
 
   | group1 = Governing Body
 
   | list1 = [[England and Wales Cricket Board|England and Wales Cricket Board (ECB)]]
 
   | list1 = [[England and Wales Cricket Board|England and Wales Cricket Board (ECB)]]
Line 36: Line 36:
 
   | group3 = Captains
 
   | group3 = Captains
 
   | list3 = {{Navbox|child
 
   | list3 = {{Navbox|child
   | groupstyle = background:#B0E0E6;color:#152A5E;
+
   | groupstyle = background:#B0E0E6;color:#_thinmidnightbluesides;;
 
     | group1 = Test  
 
     | group1 = Test  
 
     | list1 = [[Joe Root]]
 
     | list1 = [[Joe Root]]

Revision as of 12:14, 28 December 2019

Initial visibility: currently defaults to autocollapse

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

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