Difference between revisions of "Template:Constituencies in Scotland by Holding Party"

From blackwiki
Jump to navigation Jump to search
imported>Dunarc
(Removing MEP details - see template talk)
imported>Stv59
(the mp for kirkcaldy and cowdenbeath has been readmitted to the snp)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
|group1 = [[Scottish National Party|Scottish National]] (47)
+
|group1 = [[Scottish National Party|Scottish National]] (48)
 
|list1  =
 
|list1  =
 
* [[Aberdeen North (UK Parliament constituency)|Aberdeen North]]
 
* [[Aberdeen North (UK Parliament constituency)|Aberdeen North]]
Line 38: Line 38:
 
* [[Inverness, Nairn, Badenoch and Strathspey (UK Parliament constituency)|Inverness, Nairn, Badenoch and Strathspey]]
 
* [[Inverness, Nairn, Badenoch and Strathspey (UK Parliament constituency)|Inverness, Nairn, Badenoch and Strathspey]]
 
* [[Kilmarnock and Loudoun (UK Parliament constituency)|Kilmarnock and Loudoun]]
 
* [[Kilmarnock and Loudoun (UK Parliament constituency)|Kilmarnock and Loudoun]]
 +
* [[Kirkcaldy and Cowdenbeath (UK Parliament constituency)|Kirkcaldy and Cowdenbeath]]
 
* [[Lanark and Hamilton East (UK Parliament constituency)|Lanark and Hamilton East]]
 
* [[Lanark and Hamilton East (UK Parliament constituency)|Lanark and Hamilton East]]
 
* [[Linlithgow and East Falkirk (UK Parliament constituency)|Linlithgow and East Falkirk]]
 
* [[Linlithgow and East Falkirk (UK Parliament constituency)|Linlithgow and East Falkirk]]
Line 74: Line 75:
 
|list4 =
 
|list4 =
 
* [[Edinburgh South (UK Parliament constituency)|Edinburgh South]]
 
* [[Edinburgh South (UK Parliament constituency)|Edinburgh South]]
 
|group5 = Independent (1)
 
|list5 =
 
* [[Kirkcaldy and Cowdenbeath (UK Parliament constituency)|Kirkcaldy and Cowdenbeath]]
 
  
 
|belowclass = hlist
 
|belowclass = hlist

Revision as of 19:30, 6 June 2020

Initial visibility: currently defaults to autocollapse

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

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