Template:Infobox French subdivision/sandbox
{{{name}}} | |
---|---|
[[File:{{{image_skyline}}}|270x320px|{{{image_caption}}}]] | |
[[File:{{{image_flag}}}|100x100px|border|Flag of {{{name}}}]] [[File:{{{image_shield}}}|100x100px|Coat of arms of {{{name}}}]] | |
[[File:{{{image_map}}}|270x320px|{{{map_caption}}}]] | |
Country | France |
Region | {{{region}}} |
Department | {{{department}}} |
No. of communes | {{{nbcomm}}} |
Seat | {{{seat}}} |
Area | |
• Total | 100 km2 (40 sq mi) |
Population ({{{population_as_of}}}){{{population_footnotes}}} | |
• Total | {{{population}}} |
Website | {{{website}}} |
This is the template sandbox page for Template:Infobox French subdivision (diff). See also the companion subpage for test cases. |
This template is a customized wrapper for {{Infobox settlement}} and as such included in Category:Templates calling Infobox settlement. Any field from {{Infobox settlement}} can work so long as it is added to this template first. It will also emit the same hCard and Geo microformats as {{Infobox settlement}} . Questions? Just ask here or over at Template talk:Infobox settlement. |
This template uses Lua: |
Usage
[edit]This is a dedicated infobox for administrative divisions of France above the commune level. For communes and former communes please use {{Infobox French commune}}.
Selected parameters
[edit]The parameter "type" is the type of subdivision. Currently, the following types are supported:
- "metro" for métropole
- "CU" for communauté urbaine
- "CA" for communauté d'agglomération
- "CC" for communauté de communes
- "arr" for arrondissement
- "arrmun" for municipal arrondissement
- "canton" for canton
The parameters "region" and "department" are only needed for subdivisions that lie in more than one department (for instance Aix-Marseille-Provence Metropolis). For arrondissements and cantons, use the parameter "INSEE" (codes can be found at the INSEE website). For intercommunalities do not use the INSEE code, but fill in the department number (for instance "29" for Finistère) in the "INSEE" field.
TemplateData
[edit]TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox French subdivision in articles based on its TemplateData.
TemplateData for Infobox French subdivision Infobox for French subdivisions
|