Difference between revisions of "Template:England ODI cricket captains"

From blackwiki
Jump to navigation Jump to search
imported>Harshhussey
Line 34: Line 34:
 
* 2007–2008: [[Paul Collingwood|Collingwood]]
 
* 2007–2008: [[Paul Collingwood|Collingwood]]
 
* 2008: [[Kevin Pietersen|Pietersen]]
 
* 2008: [[Kevin Pietersen|Pietersen]]
* 2010–: [[Alastair Cook|Cook]]
+
* 2010–2014: [[Alastair Cook|Cook]]
* 2011–2013: [[Eoin Morgan|Morgan]]
+
* 2011–: [[Eoin Morgan|Morgan]]
 
* 2014–: [[Stuart Broad|Broad]]
 
* 2014–: [[Stuart Broad|Broad]]
 
}}<noinclude>
 
}}<noinclude>

Revision as of 01:01, 28 December 2014

Initial visibility: currently defaults to autocollapse

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

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