Difference between revisions of "Template:Hamilton, Ontario"

From blackwiki
Jump to navigation Jump to search
imported>Fat pig73
imported>Lamacha9617
(Implementing talk page edit requested by 162.208.168.92 – add image of flag to template)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name  = Hamilton, Ontario
 
| name  = Hamilton, Ontario
| title  = [[Hamilton, Ontario]]
+
| title  = [[File:Flag of Hamilton.svg|30px]] [[Hamilton, Ontario]]
 
| state  = {{{state|autocollapse}}}
 
| state  = {{{state|autocollapse}}}
 
| listclass = hlist
 
| listclass = hlist
Line 144: Line 144:
 
* [[Hamilton–Brantford–Cambridge Trails]]
 
* [[Hamilton–Brantford–Cambridge Trails]]
 
* [[Mohawk Sports Park]]
 
* [[Mohawk Sports Park]]
* [[Parkdale Park, Hamilton|Parkdale Park]]
 
 
* [[Pier 4 Park]]
 
* [[Pier 4 Park]]
* [[Sam Manson Park (Hamilton, Ontario)|Sam Manson Park]]
 
  
 
}}<noinclude>
 
}}<noinclude>

Latest revision as of 00:37, 28 December 2020

Initial visibility: currently defaults to autocollapse

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

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