Difference between revisions of "Template:Localities in Snowy Valleys Council"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(→‎TemplateData: change format from "block" to "inline")
imported>Cydebot
m (Robot - Speedily moving category New South Wales Local Government Areas navigational boxes‎ to Category:New South Wales local government area templates per CFDS.)
Line 91: Line 91:
 
}}<noinclude>
 
}}<noinclude>
 
{{collapsible option}}
 
{{collapsible option}}
[[Category:New South Wales Local Government Areas navigational boxes|Snowy Valleys Council]]
+
[[Category:New South Wales local government area templates|Snowy Valleys Council]]
  
 
== TemplateData ==
 
== TemplateData ==

Revision as of 21:05, 29 November 2018

Initial visibility: currently defaults to autocollapse

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

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

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Localities in Snowy Valleys Council

Navigation box of towns in Snowy Valleys Council

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Statestate

This parameter may be used to set the template's initial visibility: if "collapsed" the content is hidden and only the title bar is visible (with [show] link), if "expanded" the content and title bar are fully visible (with [hide] link), and if "autocollapse" the template is collapsed when the page contains other collapsible items.

Default
autocollapse
Example
expanded
Stringoptional