Difference between revisions of "Template:Communes of France"

From blackwiki
Jump to navigation Jump to search
imported>Gnevin
imported>TonyTheTiger
(adding {{collapsible option}} and/or {{{state}}})
Line 2: Line 2:
 
|name  = Communes of France
 
|name  = Communes of France
 
|title =  [[Communes of France|Communes of]] [[France]] by [[Departments of France|department]]
 
|title =  [[Communes of France|Communes of]] [[France]] by [[Departments of France|department]]
 +
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
 
|list1 =  
 
|list1 =  
Line 104: Line 105:
 
* [[Communes of the Yvelines department|Yvelines]]
 
* [[Communes of the Yvelines department|Yvelines]]
 
}}<noinclude>
 
}}<noinclude>
 +
{{collapsible option}}
 
[[Category:France commune (country subdivision) templates| ]]
 
[[Category:France commune (country subdivision) templates| ]]
 
[[Category:WikiProject France templates]]
 
[[Category:WikiProject France templates]]

Revision as of 02:14, 5 March 2013

Initial visibility: currently defaults to autocollapse

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

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

bug:Templat:Komun ri Perancis de:Vorlage:Navigationsleiste Gemeinden nach Département eo:Ŝablono:Komunumoj de Francio eu:Txantiloi:Frantziako udalerri aurkibidea id:Templat:Komune dari departemen di Perancis la:Formula:Indices communium praefecturarum Franciae ms:Templat:Komun di Perancis pt:Predefinição:Comunas da França sl:Predloga:Communes of France sv:Mall:Frankrikes kommuner efter departement vi:Bản mẫu:Các thị trấn của Pháp