Difference between revisions of "Template:England cricket team"

From blackwiki
Jump to navigation Jump to search
imported>Spike 'em
(remove ratings info from nav box)
imported>Fma12
(colors, according to uniforms)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
|name=England cricket team
+
| titlestyle = background:#B0E0E6; color:#0E255D
 +
| abovestyle = background:#0E255D; color:#ffffff
 +
| groupstyle = background:#B0E0E6; color:#fffffff
 +
| 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  =
 
  
 
| above =
 
| above =
 
* Test Status since 1877
 
* Test Status since 1877
* Based in [[England]] and [[Wales]]
+
* Based in [[England|{{color|#ffffff|England}}]] and [[Wales|{{color|#ffffff|Wales}}]]
  
 
| group2 = Team
 
| group2 = Team
Line 27: Line 28:
 
| group6 = Key personnel
 
| group6 = Key personnel
 
| list6  = {{Navbox|child
 
| list6  = {{Navbox|child
 +
| groupstyle = background:#FF2119; color:#ffffff
 
   | 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 35:
 
   | group3 = Captains
 
   | group3 = Captains
 
   | list3 = {{Navbox|child
 
   | list3 = {{Navbox|child
 +
| groupstyle = background:#FF2119; color:#ffffff
 
     | group1 = Test  
 
     | group1 = Test  
 
     | list1 = [[Joe Root]]
 
     | list1 = [[Joe Root]]

Revision as of 16:16, 23 June 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.