Difference between revisions of "Template:Departments of France"

From blackwiki
Jump to navigation Jump to search
imported>Dekimasu
(per page moves)
imported>CocoricoPolynesien
(Updated template : Corse-du-Sud and Haute-Corse were merged in 2018, Saint Pierre was department 975 but is now an overseas collectivity. 96 was Tunisia before independence and was never reassigned)
Line 1: Line 1:
 
{{Navbox
 
{{Navbox
 
| name    = Departments of France
 
| name    = Departments of France
| title  = [[Departments of France]]
+
| title  = {{flagdeco|France|1794}} [[Departments of France]]
 
| listclass = hlist
 
| listclass = hlist
| state  = {{{state<includeonly>|collapsed</includeonly>}}}
+
 
 +
|group1 = [[Departments of France|Metropolitan]]
 
| list1  =  
 
| list1  =  
 
* 01 [[Ain]]
 
* 01 [[Ain]]
Line 24: Line 25:
 
* 18 [[Cher (department)|Cher]]
 
* 18 [[Cher (department)|Cher]]
 
* 19 [[Corrèze]]
 
* 19 [[Corrèze]]
* 2A [[Corse-du-Sud]]
+
* 20 [[Corse]]
* 2B [[Haute-Corse]]
 
 
* 21 [[Côte-d'Or]]
 
* 21 [[Côte-d'Or]]
 
* 22 [[Côtes-d'Armor]]
 
* 22 [[Côtes-d'Armor]]
Line 102: Line 102:
 
* 95 [[Val-d'Oise]]  
 
* 95 [[Val-d'Oise]]  
  
;[[Overseas department]]s
+
|group2 = [[Overseas department|Overseas]]
: 971 [[Guadeloupe]]
+
| list2  =
: 972 [[Martinique]]
+
* 971 [[Guadeloupe]]
: 973 [[French Guiana]]
+
* 972 [[Martinique]]
: 974 [[Réunion]]
+
* 973 [[French Guiana]]
: 976 [[Mayotte]]
+
* 974 [[Réunion]]
 +
* 976 [[Mayotte]]
 +
 
 +
|group3 = Special
 +
|group3style = background:#ffe475;
 +
|list3style = background:#ffe475;
 +
| list3  =
 +
* 69M [[Lyon Metropolis|Lyon]] <small>''(Metropolis with territorial collectivity statute)''</small>
  
;Metropolis with territorial collectivity statute
+
|group4 = Formers
: 69M [[Lyon Metropolis|Lyon]]
+
|list4=
 +
* 2A [[Corse-du-Sud]]
 +
* 2B [[Haute-Corse]]
 +
* 975 [[Saint Pierre and Miquelon]]
 
}}
 
}}
 
<noinclude>
 
<noinclude>

Revision as of 15:26, 7 July 2019

Initial visibility: currently defaults to autocollapse

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

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