Difference between revisions of "Template:British ministries"

From blackwiki
Jump to navigation Jump to search
imported>Jenks24
m (avoid redirect for bolding)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name = British ministries
 
|name = British ministries
|state     = {{{state|open}}}
+
|state = {{{state|open}}}
 
|title = <span style="vertical-align:1px;">[[File:Flag of the United Kingdom.svg|20x20px]]</span> [[List of British governments|British governments]]
 
|title = <span style="vertical-align:1px;">[[File:Flag of the United Kingdom.svg|20x20px]]</span> [[List of British governments|British governments]]
 
|listclass = hlist
 
|listclass = hlist
Line 73: Line 73:
 
* [[Second Asquith ministry|Asquith II]]
 
* [[Second Asquith ministry|Asquith II]]
 
* [[Lloyd George ministry|Lloyd George]]
 
* [[Lloyd George ministry|Lloyd George]]
|group3 = {{flag|United Kingdom|name=UK (GB & NI)}} (1922– )
+
|group3 = {{flag|United Kingdom|name=UK (GB & NI)}} (1922–present)
 
|list3 =  
 
|list3 =  
 
* [[Conservative Government 1922–24|Bonar Law]]
 
* [[Conservative Government 1922–24|Bonar Law]]
Line 103: Line 103:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:British ministries]]
 
[[Category:British ministries]]
 
[[Category:United Kingdom ministerial office navigational boxes|Ministries]]
 
[[Category:United Kingdom ministerial office navigational boxes|Ministries]]
 
</noinclude>
 
</noinclude>

Revision as of 20:12, 12 July 2016

Initial visibility: currently defaults to autocollapse

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

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