Difference between revisions of "Template:Leaders of the Opposition UK"

From blackwiki
Jump to navigation Jump to search
imported>DuncanHill
(direct link)
imported>WOSlinker
(tidy style for better HTML5 compatibility)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 +
|groupstyle = text-align:center;
  
|group1= <center>[[House of Commons of the United Kingdom|House of Commons]]</center>
+
|group1= [[House of Commons of the United Kingdom|House of Commons]]
 
|list1 =
 
|list1 =
 
* [[George Ponsonby|Ponsonby]]
 
* [[George Ponsonby|Ponsonby]]
Line 78: Line 79:
 
* [[Ed Miliband|Miliband]]
 
* [[Ed Miliband|Miliband]]
  
|group2= <center>[[House of Lords]]</center>
+
|group2= [[House of Lords]]
 
|list2 =
 
|list2 =
 
* [[William Grenville, 1st Baron Grenville|Grenville]]
 
* [[William Grenville, 1st Baron Grenville|Grenville]]
Line 136: Line 137:
 
* [[Thomas Galbraith, 2nd Baron Strathclyde|Strathclyde]]
 
* [[Thomas Galbraith, 2nd Baron Strathclyde|Strathclyde]]
 
* [[Janet Royall, Baroness Royall of Blaisdon|Royall of Blaisdon]]
 
* [[Janet Royall, Baroness Royall of Blaisdon|Royall of Blaisdon]]
 +
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:United Kingdom ministerial office navigational boxes]]</noinclude>
+
[[Category:United Kingdom ministerial office navigational boxes]]
 +
</noinclude>

Revision as of 13:39, 25 February 2015

Initial visibility: currently defaults to autocollapse

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

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