Difference between revisions of "Template:Edinburgh elections"

From blackwiki
Jump to navigation Jump to search
Line 5: Line 5:
 
|listclass = hlist
 
|listclass = hlist
  
|group1 = [[Edinburgh|Edinburgh Corporation]]
+
|group1 = [[Politics of Edinburgh|Edinburgh Corporation]]
 
|list1  =  
 
|list1  =  
 
*[[Edinburgh Corporation election, 1889|1889]]
 
*[[Edinburgh Corporation election, 1889|1889]]
Line 93: Line 93:
 
*[[Edinburgh Corporation election, 1973|1973]]
 
*[[Edinburgh Corporation election, 1973|1973]]
  
|group2 = [[City of Edinburgh|City of Edinburgh District Council]]  
+
|group2 = [[Politics of Edinburgh|City of Edinburgh District Council]]  
 
|list2 =
 
|list2 =
 
*[[City of Edinburgh District Council election, 1974|1974]]
 
*[[City of Edinburgh District Council election, 1974|1974]]
Line 111: Line 111:
 
*[[Lothian Regional Council election, 1994|1994]]
 
*[[Lothian Regional Council election, 1994|1994]]
  
|group4 = [[City of Edinburgh Council]]
+
|group4 = [[Politics of Edinburgh|City of Edinburgh Council]]
 
|list4 =
 
|list4 =
 
*[[City of Edinburgh Council election, 1995|1995]]
 
*[[City of Edinburgh Council election, 1995|1995]]

Revision as of 21:55, 1 August 2017

Initial visibility: currently defaults to autocollapse

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

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