Difference between revisions of "Template:English Test cricket captains"

From blackwiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = English Test cricket captains
 
| name = English Test cricket captains
| title = [[List of England cricket captains|<span style="color:white">England Test cricket captains</span>]]
+
| title = [[List of England cricket captains|<span style="color:navy">England Test cricket captains</span>]]
| titlestyle = background: #15295E; color: white;
+
| titlestyle = background: #FFFFFF; color: navy;
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist
Line 25: Line 25:
 
* {{nowrap|1907: [[R. E. Foster|Foster]]}}
 
* {{nowrap|1907: [[R. E. Foster|Foster]]}}
 
* {{nowrap|''1907/08; 1909/10: [[Frederick Fane|Fane]]''}}
 
* {{nowrap|''1907/08; 1909/10: [[Frederick Fane|Fane]]''}}
* {{nowrap|1907/08: [[Arthur Jones (cricketer)|Jones]]}}
+
* {{nowrap|1907/08: [[Arthur Jones (English cricketer)|Jones]]}}
 
* {{nowrap|1909/10: [[H. D. G. Leveson Gower|Leveson Gower]]}}
 
* {{nowrap|1909/10: [[H. D. G. Leveson Gower|Leveson Gower]]}}
 
* {{nowrap|1911/12–1920/21; ''1921; 1924'': [[Johnny Douglas|Douglas]]}}
 
* {{nowrap|1911/12–1920/21; ''1921; 1924'': [[Johnny Douglas|Douglas]]}}
Line 86: Line 86:
 
* {{nowrap|''2010''; 2012–2016/17: [[Alastair Cook|Cook]]}}
 
* {{nowrap|''2010''; 2012–2016/17: [[Alastair Cook|Cook]]}}
 
* {{nowrap|2017–: [[Joe Root|Root]]}}
 
* {{nowrap|2017–: [[Joe Root|Root]]}}
 +
* {{nowrap|''2020: [[Ben Stokes|Stokes]]''}}
 
| list2 = <small>''Italics'' denote deputised captaincy</small>
 
| list2 = <small>''Italics'' denote deputised captaincy</small>
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 03:25, 2 January 2021

Initial visibility: currently defaults to autocollapse

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

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