Difference between revisions of "Template:Great Offices of State"

From blackwiki
Jump to navigation Jump to search
imported>FollowTheTortoise
(Fixed names)
 
(32 intermediate revisions by 22 users not shown)
Line 1: Line 1:
 
{{Navbox with columns
 
{{Navbox with columns
 
|name = Great Offices of State
 
|name = Great Offices of State
|title = [[Great Offices of State|Great Offices of State of the United Kingdom]]
+
|title = {{flagdeco|United Kingdom}} [[Great Offices of State|Great Offices of State of the United Kingdom]]
|image = [[Image:Her Majesty's Government Coat of Arms.svg|75px|right]]
+
|state = {{{state|autocollapse}}}
 +
|image = [[Image:Royal Coat of Arms of the United Kingdom (HM Government).svg|100px]]
 
| colwidth = 20em
 
| colwidth = 20em
 
| colstyle = text-align:center;
 
| colstyle = text-align:center;
 
| padding = 0
 
| padding = 0
| col1 = '''[[Prime Minister of the United Kingdom|Prime Minister]]'''<br/>[[Gordon Brown]]
+
| col1 = '''[[Prime Minister of the United Kingdom|Prime Minister]]'''<br/>[[Boris Johnson]]
| col2 = '''[[Chancellor of the Exchequer|Chancellor of the Exchequer]]'''<br/>[[Alistair Darling]]
+
| col2 = '''[[Chancellor of the Exchequer]]'''<br/>[[Rishi Sunak]]
| col3 = '''[[Secretary of State for Foreign and Commonwealth Affairs|Foreign Secretary]]'''<br/>[[David Miliband]]
+
| col3 = '''[[Secretary of State for Foreign, Commonwealth and Development Affairs | Foreign Secretary]]'''<br/>[[Dominic Raab]]
| col4 = '''[[Home Secretary|Home Secretary]]'''<br/>[[Jacqui Smith]]
+
| col4 = '''[[Home Secretary]]'''<br/>[[Priti Patel]]
 
}}<noinclude>
 
}}<noinclude>
[[Category:Ministerial offices in the United Kingdom navigational boxes|Great Offices of State]]  
+
{{collapsible option}}
 +
{{Pp-template|small=yes}}
 +
 +
[[Category:United Kingdom ministerial office navigational boxes|Great Offices of State]]
 
</noinclude>
 
</noinclude>

Latest revision as of 08:13, 30 November 2020

Initial visibility: currently defaults to autocollapse

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

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