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

From blackwiki
Jump to navigation Jump to search
Line 2: Line 2:
 
| name = Ireland Test Cricket Captains
 
| name = Ireland Test Cricket Captains
 
| title = [[List of Ireland cricket captains|<span style="color:white;">Ireland Test cricket captains</span>]]
 
| title = [[List of Ireland cricket captains|<span style="color:white;">Ireland Test 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

Revision as of 16:28, 28 November 2019

Initial visibility: currently defaults to autocollapse

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

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