Difference between revisions of "Template:England cricket team"

From blackwiki
Jump to navigation Jump to search
imported>Fma12
(colors, according to uniforms)
imported>Spike 'em
(Reverted good faith edits by Fma12 (talk): Don;t think the team colours add anything to the navbox, plus they change every year so will soon be out of date (TW))
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
| titlestyle = background:#B0E0E6; color:#0E255D
+
|name=England cricket team
| 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|{{color|#ffffff|England}}]] and [[Wales|{{color|#ffffff|Wales}}]]
+
* Based in [[England]] and [[Wales]]
  
 
| group2 = Team
 
| group2 = Team
Line 28: Line 27:
 
| 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 35: Line 33:
 
   | 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 21:15, 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.