Difference between revisions of "Template:Districts of Thurgau"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(use listclass = hlist in navbox as per WP:HLIST)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name  = Districts of Thurgau
 
|name  = Districts of Thurgau
 
|title = {{flagicon|Thurgau}} Districts of [[Thurgau]]
 
|title = {{flagicon|Thurgau}} Districts of [[Thurgau]]
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
Line 16: Line 17:
 
* [[Thurgau#Municipalities|Municipalities of Thurgau]]
 
* [[Thurgau#Municipalities|Municipalities of Thurgau]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
  
 
[[Category:Switzerland districts navigational boxes|Thurgau]]
 
[[Category:Switzerland districts navigational boxes|Thurgau]]

Revision as of 01:53, 16 March 2013

Initial visibility: currently defaults to autocollapse

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

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

de:Vorlage:Navigationsleiste Bezirke des Kantons Thurgau eo:Ŝablono:Navigilo:Distriktoj de Kantono Turgovio fr:Modèle:Palette District du canton de Thurgovie it:Template:Turgovia la:Formula:Turgoviae districtus lmo:Mudel:Distret del Canton Türgovia nl:Sjabloon:Navigatie kanton Thurgau ru:Шаблон:Округа Тургау vec:Modèl:Turgovia war:Template:Mga distrito han Thurgau