Difference between revisions of "Template:Duluth, Minnesota"

From blackwiki
Jump to navigation Jump to search
imported>Dwscomet
m
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
Line 2: Line 2:
 
|name = Duluth, Minnesota
 
|name = Duluth, Minnesota
 
|title = [[Twin Ports]], [[Minnesota]]-[[Wisconsin]]
 
|title = [[Twin Ports]], [[Minnesota]]-[[Wisconsin]]
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|basestyle = background:#99CCFF;
 
|basestyle = background:#99CCFF;
Line 33: Line 34:
 
|below = <small>*</small>[[civil township#Midwestern, central and western states|town]] <sup><small>‡</small></sup>[[village#Incorporated villages|village]] °[[city]] <sup><small>§</small></sup>[[Census-designated place|CDP]]
 
|below = <small>*</small>[[civil township#Midwestern, central and western states|town]] <sup><small>‡</small></sup>[[village#Incorporated villages|village]] °[[city]] <sup><small>§</small></sup>[[Census-designated place|CDP]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Wisconsin Metro-and-µpolitan templates|D]]
 
[[Category:Wisconsin Metro-and-µpolitan templates|D]]
 
[[Category:Metropolitan areas of Wisconsin]]
 
[[Category:Metropolitan areas of Wisconsin]]
 
[[Category:Metropolitan areas of Minnesota]]
 
[[Category:Metropolitan areas of Minnesota]]
 
</noinclude>
 
</noinclude>

Revision as of 17:47, 22 April 2013

Initial visibility: currently defaults to autocollapse

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

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