Difference between revisions of "Template:Bharatiya Janata Party chief ministers"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tidy style for better HTML5 compatibility)
Line 1: Line 1:
 
{{ navbox
 
{{ navbox
 
| name      = Bharatiya Janata Party chief ministers
 
| name      = Bharatiya Janata Party chief ministers
| title      = [[List of chief ministers from the Bharatiya Janata Party|<font color="black">Chief Ministers from the Bharatiya Janata Party</span>]]
+
| title      = [[List of chief ministers from the Bharatiya Janata Party|<span style="color:black">Chief Ministers from the Bharatiya Janata Party</span>]]
 
|listclass = hlist
 
|listclass = hlist
 
| basestyle  = background:{{Bharatiya Janata Party/meta/color}}; color:black;
 
| basestyle  = background:{{Bharatiya Janata Party/meta/color}}; color:black;

Revision as of 14:30, 10 May 2015

Initial visibility: currently defaults to autocollapse

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

  • |state=collapsed: {{Bharatiya Janata Party chief ministers|state=collapsed}} to show the template collapsed, i.e., hidden apart from its title bar
  • |state=expanded: {{Bharatiya Janata Party chief ministers|state=expanded}} to show the template expanded, i.e., fully visible
  • |state=autocollapse: {{Bharatiya Janata Party chief ministers|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.