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

From blackwiki
Jump to navigation Jump to search
imported>Blue Square Thing
(Reverted 1 edit by 45.120.114.144: Red on green. The single worst possible accessibility combination. I dock marks from 12 year olds for doing this. Grow up and use a sensible colour combination FFS (TW))
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name = Kenya ODI Cricket Captains
 
| name = Kenya ODI Cricket Captains
| title = [[List of Kenya national cricket captains|<span style="color:red;">Kenya ODI cricket captains</span>]]
+
| title = [[List of Kenya national cricket captains|<span style="color:#FFFFFF;">Kenya ODI cricket captains</span>]]
| titlestyle = background: #00732F; color: red;
+
| titlestyle = background: #00732F; color: #FFFFFF;
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist

Revision as of 19:37, 24 March 2019

Initial visibility: currently defaults to autocollapse

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

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