Difference between revisions of "Template:Ireland ODI Cricket Captains"

From blackwiki
Jump to navigation Jump to search
imported>Joseph2302
(Porterfield was captain until 2019)
 
(2 intermediate revisions by 2 users not shown)
Line 2: Line 2:
 
| name = Ireland ODI Cricket Captains
 
| name = Ireland ODI Cricket Captains
 
| title = [[List of Ireland cricket captains|<span style="color:white;">Ireland ODI cricket captains</span>]]
 
| title = [[List of Ireland cricket captains|<span style="color:white;">Ireland ODI cricket captains</span>]]
| titlestyle = background: #339900; color: white;
+
| titlestyle = background: #37A600; color: white;
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist
Line 9: Line 9:
 
* 2006–2010: [[Trent Johnston|Johnston]]
 
* 2006–2010: [[Trent Johnston|Johnston]]
 
* 2007/08: ''[[Kyle McCallan|McCallan]]''
 
* 2007/08: ''[[Kyle McCallan|McCallan]]''
* 2008–2015: [[William Porterfield|Porterfield]]
+
* 2008–2019: [[William Porterfield|Porterfield]]
* 2010–2014: ''[[Kevin O'Brien (cricketer)|O'Brien]]''
+
* 2010–2014: [[Kevin O'Brien (cricketer)|O'Brien]]
 +
* 2019–present: [[Andrew Balbirnie|Balbirnie]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 19:04, 1 August 2020

Initial visibility: currently defaults to autocollapse

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

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