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

From blackwiki
Jump to navigation Jump to search
imported>Lugnuts
 
(One intermediate revision by one other user 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

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.