Difference between revisions of "Template:Communes of France"

From blackwiki
Jump to navigation Jump to search
imported>ASDFGH
imported>Markussep
m
 
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
|name  = Communes of France
 
|name  = Communes of France
|title =  [[Communes of France|Communes of]] [[France]] by [[Departments of France|department]] and [[Metropolitan Lyon|metropolitan region]]
+
|title =  [[Communes of France|Communes of]] [[France]] by [[Departments of France|department]] and [[Lyon Metropolis|metropolitan region]]
 
|state    = {{{state|autocollapse}}}
 
|state    = {{{state|autocollapse}}}
 
|listclass = hlist
 
|listclass = hlist
Line 75: Line 75:
 
* 68 [[Communes of the Haut-Rhin department|Haut-Rhin]]
 
* 68 [[Communes of the Haut-Rhin department|Haut-Rhin]]
 
* 69 [[Communes of the Rhône department|Rhône]]
 
* 69 [[Communes of the Rhône department|Rhône]]
* 69M [[Communes of Metropolitan Lyon|Lyon]]
+
* 69M [[Communes of the Lyon Metropolis|Lyon]]
 
* 70 [[Communes of the Haute-Saône department|Haute-Saône]]
 
* 70 [[Communes of the Haute-Saône department|Haute-Saône]]
 
* 71 [[Communes of the Saône-et-Loire department|Saône-et-Loire]]
 
* 71 [[Communes of the Saône-et-Loire department|Saône-et-Loire]]

Latest revision as of 07:32, 23 August 2017

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.