Difference between revisions of "Template:Hong Kong ODI Cricket Captains"

From blackwiki
Jump to navigation Jump to search
imported>Harshhussey
m
 
(10 intermediate revisions by 3 users not shown)
Line 2: Line 2:
 
| name = Hong Kong ODI Cricket Captains
 
| name = Hong Kong ODI Cricket Captains
 
| title = [[List of Hong Kong cricket captains|<span style="color:black;">Hong Kong ODI cricket captains</span>]]
 
| title = [[List of Hong Kong cricket captains|<span style="color:black;">Hong Kong ODI cricket captains</span>]]
| titlestyle = background: red; color: white;
+
| titlestyle = background: #DB000D; color: white;
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist
Line 9: Line 9:
 
* 2008: [[Tabarak Dar|Dar]]
 
* 2008: [[Tabarak Dar|Dar]]
 
* 2014-15: [[Jamie Atkinson|Atkinson]]
 
* 2014-15: [[Jamie Atkinson|Atkinson]]
* 2015-present [[Tanwir Afzal|Afzal]]
+
* 2015-16 [[Tanwir Afzal|Afzal]]
 +
* 2016-present [[Babar Hayat|Hayat]]
 +
 
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}

Latest revision as of 16:07, 5 June 2019

Initial visibility: currently defaults to autocollapse

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

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