Difference between revisions of "Template:Lists of places in Scotland"

From blackwiki
Jump to navigation Jump to search
imported>Plucas58
(Created page with '{{Navbox | name = Lists of places in Scotland | title = Lists of places in Scotland | state = {{{state<includeonly>|collapsed</includeonly>}}} | listclas...')
 
imported>Crowsus
(Amend link)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
  | name = Lists of places in Scotland
 
  | name = Lists of places in Scotland
  | title = Lists of places in [[Scotland]]
+
  | title = Lists of places in [[Scotland]] by [[Subdivisions of Scotland|local council area]]
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
 
  | state = {{{state<includeonly>|collapsed</includeonly>}}}
 
  | listclass = hlist
 
  | listclass = hlist
 
| group1 = [[Subdivisions of Scotland|Council areas]]
 
 
  | list1 =
 
  | list1 =
 
* [[List of places in Aberdeen|City of Aberdeen]]
 
* [[List of places in Aberdeen|City of Aberdeen]]
* [[List of places in Aberdeenshire|Aberdeenshire]]
+
* [[List of places in Aberdeenshire|Aberdeenshire]]
 
* [[List of places  in Angus|Angus]]
 
* [[List of places  in Angus|Angus]]
 
* [[List of places  in Argyll and Bute|Argyll and Bute]]
 
* [[List of places  in Argyll and Bute|Argyll and Bute]]
Line 18: Line 16:
 
* [[List of places in East Lothian|East Lothian]]
 
* [[List of places in East Lothian|East Lothian]]
 
* [[List of places in East Renfrewshire|East Renfrewshire]]
 
* [[List of places in East Renfrewshire|East Renfrewshire]]
* [[List of places in Edinburgh|City of Edinburgh]]
+
* [[Template:Areas of Edinburgh|City of Edinburgh]]
 
* [[List of places in Falkirk|Falkirk]]
 
* [[List of places in Falkirk|Falkirk]]
 
* [[List of places in Fife|Fife]]
 
* [[List of places in Fife|Fife]]

Latest revision as of 15:07, 28 March 2020

Initial visibility: currently defaults to autocollapse

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

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