Difference between revisions of "Template:Buildings and Structures in Edinburgh"

From blackwiki
Jump to navigation Jump to search
(doc)
Line 4: Line 4:
 
|state = {{{state|autocollapse}}}
 
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 +
 
|group1 = Public buildings:
 
|group1 = Public buildings:
 
|list1  =
 
|list1  =
Line 15: Line 16:
 
* [[Scottish Parliament Building]]
 
* [[Scottish Parliament Building]]
 
* [[St Andrew's House]]
 
* [[St Andrew's House]]
 +
 
|group2 = Churches and<br/>cathedrals:
 
|group2 = Churches and<br/>cathedrals:
 
|list2  =
 
|list2  =
Line 28: Line 30:
 
* [[South Leith Parish Church]]
 
* [[South Leith Parish Church]]
 
* [[Tron Kirk]]
 
* [[Tron Kirk]]
 +
 
|group3 = Castles:
 
|group3 = Castles:
 
|list3  =
 
|list3  =
Line 42: Line 45:
 
* [[Liberton Tower]]
 
* [[Liberton Tower]]
 
* [[Merchiston Castle]]
 
* [[Merchiston Castle]]
 +
 
|group4 = Other visitor<br/>attractions:
 
|group4 = Other visitor<br/>attractions:
 
|list4  =
 
|list4  =
Line 69: Line 73:
 
* [[Scottish National Gallery of Modern Art]]
 
* [[Scottish National Gallery of Modern Art]]
 
* [[Scottish National Portrait Gallery]]
 
* [[Scottish National Portrait Gallery]]
 +
 
|group5 = Sports:
 
|group5 = Sports:
 
|list5  =
 
|list5  =
Line 77: Line 82:
 
* [[Royal Commonwealth Pool]]
 
* [[Royal Commonwealth Pool]]
 
* [[Tynecastle Park]]
 
* [[Tynecastle Park]]
 +
 
|group6 = Performing arts:
 
|group6 = Performing arts:
 
|list6  =
 
|list6  =
Line 84: Line 90:
 
* [[Traverse Theatre]]
 
* [[Traverse Theatre]]
 
* [[Usher Hall]]
 
* [[Usher Hall]]
 +
 
|group7 = Commercial:
 
|group7 = Commercial:
 
|list7  =
 
|list7  =
Line 89: Line 96:
 
* [[Jenners]]
 
* [[Jenners]]
 
* [[Ocean Terminal, Edinburgh|Ocean Terminal]]
 
* [[Ocean Terminal, Edinburgh|Ocean Terminal]]
 +
 
|group8 = Transport:
 
|group8 = Transport:
 
|list8  =
 
|list8  =
Line 95: Line 103:
 
* [[South Bridge, Edinburgh|South Bridge]]
 
* [[South Bridge, Edinburgh|South Bridge]]
 
* [[Slateford Aqueduct]]
 
* [[Slateford Aqueduct]]
}}<noinclude>
+
 
 +
}}<noinclude>{{documentation|content=
 
{{collapsible option}}
 
{{collapsible option}}
 +
 
[[Category:Edinburgh templates]]
 
[[Category:Edinburgh templates]]
 
[[Category:Scotland templates]]
 
[[Category:Scotland templates]]
</noinclude>
+
}}</noinclude>

Revision as of 20:30, 22 September 2017

Template documentation

Initial visibility: currently defaults to autocollapse

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

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