Difference between revisions of "Template:David Cameron"

From blackwiki
Jump to navigation Jump to search
imported>Neveselbert
(add links to below parameter)
imported>Woodensuperman
(Undid revision 784099371 by Neve-selbert (talk))
Line 9: Line 9:
 
* [[Prime Minister of the United Kingdom]] (2010–2016)
 
* [[Prime Minister of the United Kingdom]] (2010–2016)
 
* [[Leader of the Conservative Party (UK)|Leader of the Conservative Party]] (2005–2016)
 
* [[Leader of the Conservative Party (UK)|Leader of the Conservative Party]] (2005–2016)
* MP for [[Witney (UK Parliament constituency)|Witney]] (2001–2016)
+
* [[Member of Parliament (United Kingdom)|MP]] for [[Witney (UK Parliament constituency)|Witney]] (2001–2016)
  
 
|group1 = [[Premiership of David Cameron|Premiership]]
 
|group1 = [[Premiership of David Cameron|Premiership]]
Line 80: Line 80:
  
 
| below =
 
| below =
* '''[[Gordon Brown|← Gordon Brown]]'''
+
* {{Icon|Book}} [[Book:David Cameron|Book]]
* '''[[Theresa May|Theresa May →]]'''
+
* {{Icon|Category}} [[:Category:David Cameron|Category]]
 
 
* '''{{Icon|Book}} [[Book:David Cameron|Book]]'''
 
* '''{{Icon|Category}} [[:Category:David Cameron|Category]]'''
 
  
 
}}<noinclude>
 
}}<noinclude>

Revision as of 13:44, 6 June 2017

Initial visibility: currently defaults to autocollapse

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

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