Difference between revisions of "Template:Afghanistan T20I Cricket Captains"

From blackwiki
Jump to navigation Jump to search
blackwiki>Ytfc23
m (Reverted edits by 180.234.162.154 (talk) to last version by Ytfc23)
Line 2: Line 2:
 
| name = Afghanistan T20I Cricket Captains
 
| name = Afghanistan T20I Cricket Captains
 
| title = [[Afghan national cricket captains|<span style="color:gold;">Afghanistan T20I cricket captains</span>]]
 
| title = [[Afghan national cricket captains|<span style="color:gold;">Afghanistan T20I cricket captains</span>]]
| titlestyle = background: #0014A8; color: gold
+
| titlestyle = background: #0014A8; color: gold;
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist

Revision as of 11:13, 5 February 2017

Initial visibility: currently defaults to autocollapse

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

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