Difference between revisions of "Template:City of Preston buildings"

From blackwiki
Jump to navigation Jump to search
imported>Peter James
imported>Frietjes
(syntax update)
Line 1: Line 1:
 
{{navbox
 
{{navbox
|1          = {{{1}}}
+
|border      = {{{1|}}}
 
|name        = City of Preston buildings
 
|name        = City of Preston buildings
 
|state      = {{{state|autocollapse}}}
 
|state      = {{{state|autocollapse}}}
Line 10: Line 10:
 
|group1      = Grade I
 
|group1      = Grade I
 
|group1style = background: {{designation/colour|Grade I Listed Building}};
 
|group1style = background: {{designation/colour|Grade I Listed Building}};
|list1      = {{navbox subgroup
+
|list1      = {{navbox|subgroup
 
|list1  =  
 
|list1  =  
 
*[[Harris Museum]]
 
*[[Harris Museum]]
Line 22: Line 22:
 
|group2      = Grade II*
 
|group2      = Grade II*
 
|group2style = background: {{designation/colour|Grade II* Listed Building}};
 
|group2style = background: {{designation/colour|Grade II* Listed Building}};
|list2      = {{navbox subgroup
+
|list2      = {{navbox|subgroup
 
|list1  =  
 
|list1  =  
 
*[[Arkwright House, Preston|Arkwright House]]
 
*[[Arkwright House, Preston|Arkwright House]]
Line 31: Line 31:
  
 
|group2 = Places of worship
 
|group2 = Places of worship
|list2  ={{navbox subgroup
+
|list2  ={{navbox|subgroup
|evenodd = swap
 
 
|list1 =
 
|list1 =
 
*''Preston:'' [[Church of St George the Martyr, Preston|St George the Martyr]]
 
*''Preston:'' [[Church of St George the Martyr, Preston|St George the Martyr]]
Line 50: Line 49:
 
|group3      = Grade II
 
|group3      = Grade II
 
|group3style = background: {{designation/colour|Grade II Listed Building}};
 
|group3style = background: {{designation/colour|Grade II Listed Building}};
|list3      = {{navbox subgroup
+
|list3      = {{navbox|subgroup
|evenodd = swap
 
 
|list1  =  
 
|list1  =  
 
*[[Black Horse, Preston|Black Horse]]
 
*[[Black Horse, Preston|Black Horse]]
Line 63: Line 61:
 
*[[Ye Horns Inn]]
 
*[[Ye Horns Inn]]
 
|group2  = Places of worship
 
|group2  = Places of worship
|list2  = {{navbox subgroup
+
|list2  = {{navbox|subgroup
 
|list1 =
 
|list1 =
 
*''Preston:'' [[All Saints Church, Preston|All Saints]]
 
*''Preston:'' [[All Saints Church, Preston|All Saints]]
Line 88: Line 86:
  
 
|group4      = Unlisted
 
|group4      = Unlisted
|list4      = {{navbox subgroup
+
|list4      = {{navbox|subgroup
 
|list1  =  
 
|list1  =  
 
*[[Fishergate Shopping Centre]]
 
*[[Fishergate Shopping Centre]]
Line 121: Line 119:
  
 
|group6      = Lists
 
|group6      = Lists
|list6      = {{navbox subgroup
+
|list6      = {{navbox|subgroup
|evenodd = swap
 
 
|list1 =
 
|list1 =
 
*[[List of mills in Preston|Mills in Preston]]
 
*[[List of mills in Preston|Mills in Preston]]

Revision as of 18:59, 18 August 2017

Initial visibility: currently defaults to autocollapse

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

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

See also