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

From blackwiki
Jump to navigation Jump to search
imported>ToBeFree
m (Mass rollback: Block evasion by 45.120.114.144 / 103.60.175.85; tool action requested in Special:Diff/953856605)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = England T20I cricket captains
 
| name = England T20I cricket captains
| title = [[List of England cricket captains|<span style="color:white">England T20I cricket captains</span>]]
+
| title = [[List of England cricket captains|<span style="color:navy">England T20I cricket captains</span>]]
| titlestyle = background: #1A295C; color: white;
+
| titlestyle = background: #e20e0e; color: navy;
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist
Line 16: Line 16:
 
* 2013: [[James Tredwell|Tredwell]]
 
* 2013: [[James Tredwell|Tredwell]]
 
* 2015, 2018: [[Jos Buttler|Buttler]]
 
* 2015, 2018: [[Jos Buttler|Buttler]]
 +
* 2020: [[Moeen Ali|Ali]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 03:26, 2 January 2021

Initial visibility: currently defaults to autocollapse

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

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