Difference between revisions of "Template:Lists of administrative divisions"

From blackwiki
Jump to navigation Jump to search
imported>Hallel
(+interwikis)
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{collapse_state}}})
Line 2: Line 2:
 
|name  = Lists of country subdivisions
 
|name  = Lists of country subdivisions
 
|title = Lists of administrative [[country subdivision]]s
 
|title = Lists of administrative [[country subdivision]]s
 +
|state = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
  
Line 11: Line 12:
 
|below = [[Table of administrative divisions by country]]
 
|below = [[Table of administrative divisions by country]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:Country subdivision templates| ]]
 
[[Category:Country subdivision templates| ]]
 
[[Category:Lists of country subdivisions|τ]]
 
[[Category:Lists of country subdivisions|τ]]

Revision as of 15:47, 3 May 2013

Initial visibility: currently defaults to autocollapse

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

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

ja:Template:国の指標 ko:틀:나라 목록 lv:Veidne:Valstu uzskaitījumi pt:Predefinição:Listas de países ru:Шаблон:Списки стран sr:Шаблон:Спискови држава zh:Template:各国列表