Difference between revisions of "Template:England cricket team"

From blackwiki
Jump to navigation Jump to search
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name=England cricket team
+
| titlestyle = background:#B0E0E6;color:#_thinmidnightbluesides; border:solid # 2px
 +
| groupstyle = background:#B0E0E6;color:#_thinmidnightbluesides;;
 +
| abovestyle = background:#B0E0E6;color:#_thinmidnightbluesides;;
 +
| name=England cricket team
 
| title      = {{flagicon|ENG}} [[England cricket team]]
 
| title      = {{flagicon|ENG}} [[England cricket team]]
 
| state      = {{{state|autocollapse}}}
 
| state      = {{{state|autocollapse}}}
 
| bodyclass  = hlist
 
| bodyclass  = hlist
| titlestyle =
 
 
| basestyle  =  
 
| basestyle  =  
  
Line 27: Line 29:
 
| group6 = Key personnel
 
| group6 = Key personnel
 
| list6  = {{Navbox|child
 
| list6  = {{Navbox|child
 +
| 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 33: Line 36:
 
   | group3 = Captains
 
   | group3 = Captains
 
   | list3 = {{Navbox|child
 
   | list3 = {{Navbox|child
 +
  | groupstyle = background:#B0E0E6;color:#_thinmidnightbluesides;;
 
     | group1 = Test  
 
     | group1 = Test  
 
     | list1 = [[Joe Root]]
 
     | list1 = [[Joe Root]]

Revision as of 14:53, 15 July 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.