Difference between revisions of "Template:Boris Johnson"

From blackwiki
Jump to navigation Jump to search
imported>Vaze50
imported>Nizolan
(proper formatting for line breaks; rm hanging dash per MOS)
Line 7: Line 7:
  
 
|above =
 
|above =
*19 June 1964 – <br />
+
*Born June 1964
*[[Prime Minister of the United Kingdom]] (2019–present) <br />
+
 
 +
*[[Prime Minister of the United Kingdom]] (2019–present)
 +
 
 
*[[Mayor of London]] (2008–2016)
 
*[[Mayor of London]] (2008–2016)
 
*[[Secretary of State for Foreign and Commonwealth Affairs]] (2016–2018)
 
*[[Secretary of State for Foreign and Commonwealth Affairs]] (2016–2018)

Revision as of 19:10, 24 July 2019

Initial visibility: currently defaults to autocollapse

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

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