Difference between revisions of "Template:Districts of Graubünden"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>SwitzerlandFan
m
 
(4 intermediate revisions by 4 users not shown)
Line 2: Line 2:
 
|name  = Districts of Graubünden
 
|name  = Districts of Graubünden
 
|title = {{flagicon|Graubünden}} Districts of [[Graubünden]]
 
|title = {{flagicon|Graubünden}} Districts of [[Graubünden]]
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
Line 22: Line 23:
 
* [[Municipalities of the canton of Graubünden]]
 
* [[Municipalities of the canton of Graubünden]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:Switzerland districts navigational boxes|Graubünden]]
 
[[Category:Switzerland districts navigational boxes|Graubünden]]
  
[[de:Vorlage:Navigationsleiste Bezirke des Kantons Graubünden]]
 
[[eo:Ŝablono:Navigilo:Distriktoj de Kantono Grizono]]
 
[[fr:Modèle:Palette Districts du canton des Grisons]]
 
[[it:Template:Grigioni]]
 
[[lmo:Mudel:Distret del Canton Grison]]
 
[[nl:Sjabloon:Navigatie kanton Graubünden]]
 
[[rm:Model:Grischun]]
 
[[ru:Шаблон:Округа Граубюндена]]
 
[[war:Template:Mga distrito han Graubünden]]
 
 
</noinclude>
 
</noinclude>

Latest revision as of 21:28, 8 September 2017

Initial visibility: currently defaults to autocollapse

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

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