Difference between revisions of "Template:2017 United Kingdom party elections"

From blackwiki
Jump to navigation Jump to search
blackwiki>RaviC
m (10 revisions imported)
 
(8 intermediate revisions by 5 users not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
  | name = United Kingdom party elections, 2017
+
  | name = 2017 United Kingdom party elections
  | title = United Kingdom party leadership elections, 2017
+
  | title = 2017 United Kingdom party leadership elections
  | image = [[File:Crowned_Portcullis.svg|25px]]
+
  | image = [[File:Crowned Portcullis.svg|25px]]
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
 
  | bodyclass = hlist
 
  | bodyclass = hlist
  
 
  | list1 =
 
  | list1 =
* [[UK Independence Party leadership election, 2017|UKIP]]
+
* [[2017 Ulster Unionist Party leadership election|UUP]]
 +
* [[2017 UK Independence Party leadership election|UKIP]]
 +
* [[2017 Liberal Democrats leadership election|Liberal Democrats]]
 +
* [[2017 Scottish Labour Party leadership election|Scottish Labour]]
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:United Kingdom politics and government navigational boxes]]
+
[[Category:United Kingdom election navigational boxes]]
 
</noinclude>
 
</noinclude>

Latest revision as of 11:39, 11 October 2020

Initial visibility: currently defaults to autocollapse

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

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