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

From blackwiki
Jump to navigation Jump to search
imported>Blue Square Thing
(Yes, Red on green is a totally accessible option isn't it (face palm). Changed to white to make it possible for anyone to read it, let alone people with the single most common type of colour blindness)
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:#FFFFFF;">Kenya ODI cricket captains</span>]]
+
| title = [[List of Kenya national cricket captains|<span style="color:red;">Kenya ODI cricket captains</span>]]
| titlestyle = background: #00732F; color: #FFFFFF;
+
| titlestyle = background: #00732F; color: red;
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
| state = {{{state<includeonly>|collapsed</includeonly>}}}
 
|listclass = hlist
 
|listclass = hlist

Revision as of 14:30, 1 February 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.