Template:Infobox French commune/doc

This infobox is meant for communes (the lowest level of administrative division) in France. This is an empty infobox with all available fields. The contents of the parameter fields, and which are optional, are explained below.

Usage
Delete any unneeded fields when using the full template syntax.



Parameters
Note that the field name is case-sensitive; it should be lower case (apart from INSEE). Some lesser used fields are not discussed (yet) in this overview.

Delete any unneeded fields when using the full template syntax.

Required parameters

 * coordinates
 * arrondissement
 * canton
 * population
 * INSEE

name
English name of location. If this field is not specified, the article name is used.

native name
French name of location. Use only if French name is different from English name (e.g. Dunkirk—Dunkerque). Sometimes used for regional languages, such as Breton and Catalan.

commune status
If you want a sub-banner to appear. Defaults to empty. Can be anything—for example, Paris can use it to describe its status as both a commune and department.

total type
If this is left empty, area and population totals will appear on the same line as the respective title. If you indicate something different (for example, 'commune'), that title will appear as a sub-title for both area and population sections.

image
A representative picture of the location: skyline, notable landmark, etc. The image used should preferably be wider than it is tall, to keep the infobox as compact as possible. The plain image file name should be given, e.g. Vieux port de Marseille 2.jpg.

caption
The caption for this picture (optional).

image flag, image coat of arms, etc.
The official flag and coat of arms of the commune. See the infoboxes of Paris and Marseille for examples.

city motto
The official city motto (probably only applicable for the largest cities).

map, adjustable map
Avoid, except for overseas departments and territories. For locations in metropolitan (=European) France, an automatic map is generated if the coordinates are given in coordinates (see below). For locations in the overseas departments and territories (e.g. French Guiana, New Caledonia, Réunion), this automatic map will give strange results. In these cases, manual location maps ("map", "adjustable map").


 * "map": Specify only the file name of the map image, e.g. "Cayenne.PNG".
 * "adjustable map": Specify the file name of the map image, e.g. "adjustable map=Cayenne.PNG", and the width in the field "map size", e.g. "map size=200px".

coordinates
Required. Geographical coordinates of location. Give location in decimals. Northern hemisphere and eastern hemisphere have positive numbers. The coordinates are used for map calculation. If the coordinates are not available in French or Dutch ("Nederlands") Wikipedia, you can look them up at the website of Lion1906 (you can search by entering the INSEE number or the name of the commune in "Recherche rapide", results under "Informations géographiques", use the numbers labeled "Degrés". Average elevation and area are also given).

INSEE
The INSEE (French national statistics institute) code of the commune. The region and the department to which the location belongs are retrieved using this code and a subtemplate. The INSEE code is also used to provide a link to the census results for the commune.

region and department
DEPRECATED: The region and the department to which the location belongs are retrieved using the (required!) INSEE code and a subtemplate. The fields "region" and "department" are no longer used.

province
For New Caledonia.

arrondissement
Required. The arrondissement to which the location belongs. No wikilinks required. Some overseas locations are not part of an arrondissement. The largest cities (e.g. Paris, Lyon, Marseille) are subdivided into arrondissements themselves. In those cases, use the "subdivisions" field instead.

canton
Required. The canton to which the location belongs. No wikilinks required. Some overseas locations are not part of a canton. Some locations, usually the larger cities, are subdivided into cantons themselves. In those cases, use the "subdivisions" field instead.

intercommunality
Many communes cooperate in an intercommunality.

subdivisions
Some locations, usually the larger cities, are subdivided into arrondissements or cantons. In those cases, fill in something like "subdivisions=9 arrondissements". A link to an article about these subdivisions can also go here.

mayor
The mayor of the commune. Optionally, the governing period of the mayor can be given in the field "term", and the party in the field "party".

area km2
The area of the commune in square kilometres. Don't use a comma for decimal separator, but use a point (12.34 instead of 12,34): commas give bad results in the population density calculation. The template will also calculate the area in square miles.

population
The population of the commune. Don't use thousands separators like points or spaces (e.g. 5.678 or 34 567): they give bad results in the population density calculation. The census year should be given in the field "date-population" (French version: "date-sans"). You can also add references and footnotes in the field "date-population" (not in "population"). Note: Adding references to commune, urban and metro population numbers 'breaks' the settlement template population density calculations for each respective area.

population_demonym
The adjective describing the people and places of the region. Use the English demonym by default (e.g.,, not "Parisien").

If the French demonym is included, specify the respective languages in full or via language code. Use the correct capitalization common to each respective language. For example: or. Use non-breaking spaces (&amp;nbsp;) or nowrap to prevent unhelpful text-wrapping in these lines. Do not include the feminine form as a separate demonym, but do include it as an alternative style of the French demonym if possible:.

Do not include other languages' demonyms unless they are notable (e.g., Breton names only for Breton places).

time zone
For metropolitan France, this could be CET/CEST (UTC+1/+2).

postal code
The postal code(s) of the commune.

elevation min m, elevation max m, elevation m
The minimum, maximum, and average elevation of the commune above sea level in metres. The metres will be converted to feet, and both are displayed.

website
The official website of the commune. Please follow the guidelines at WP:LINKS.

Example: Paris



 * Footnotes

TemplateData
{	"params": { "name": { "required": false, "label": "Name", "type": "string", "description": "English name of location", "default": "Article Name" },		"native name": { "required": false, "label": "Native Name", "type": "string", "description": "Native name of the location" },		"commune status": { "required": false, "label": "Commune Status", "type": "string", "description": "Fill to show sub-banner: eg. Type of settlement (City, Commune, Municipality) " },		"total type": { "required": false, "label": "Total Type", "type": "string", "description": "Fill to show Area/Population totals next to 'total type' value below Area/Population in each section line (normally on same line)" },		"image flag": { "required": false, "label": "Image Flag", "type": "wiki-page-name", "description": "Image of the flag of commune" },		"image flag size": { "required": false, "label": "Image flag size", "type": "line", "description": "Size of image of the flag of commune" },		"image court of arms": { "required": false, "label": "Image court of arms", "type": "wiki-page-name", "description": "Image of court of arms of commune." },		"image court of arms size": { "required": false, "label": "Image court of arms size", "type": "line", "description": "Size of image of court of arms of commune " },		"city motto": { "required": false, "label": "City Motto", "type": "string", "description": "Motto of the city" },		"image": { "required": false, "label": "Image", "type": "wiki-page-name", "description": "Image of the place or any notable landmark" },		"caption": { "required": false, "label": "Caption", "type": "string", "description": "Caption for the image" },		"map": { "required": false, "label": "Map", "type": "wiki-page-name", "description": "For overseas locations, provide an image for the map" },		"timezone": { "required": false, "label": "Timezone", "type": "string", "description": "Timezone of the commune" },		"coordinates": { "required": true, "label": "Coordinates", "type": "string", "description": "Coordinates of the location using °N, °W" },		"arrondissement": { "required": true, "label": "Arrondissement", "type": "string", "description": "The Arrondissement to which the location belongs" },		"intercommunality": { "required": true, "label": "Intercommunality", "type": "string", "description": "Intercommunality of the commune" },		"mayor": { "required": false, "label": "Mayor", "type": "string", "description": "Mayor of the commune" },		"term": { "required": false, "label": "Term", "type": "line", "description": "The governing period of the mayor" },		"elevation m": { "required": false, "label": "Elevation(meters)", "type": "number", "description": "Average elevation of commune above sea level in meters" },		"elevation min m": { "required": false, "label": "Minimum Elevation(meters)", "type": "number", "description": "Minimum elevation of the commune in meters" },		"elevation max m": { "required": false, "label": "Maximum Elevation(meters)", "type": "number", "description": "Maximum elevation of the commune in meters" },		"area km2": { "required": false, "label": "Area(square km)", "type": "number", "description": "Area of the commune in square kilometers" },		"population": { "required": true, "label": "Population", "type": "number", "description": "Population of the commune" },		"population date": { "required": false, "label": "Population Date", "type": "line", "description": "Date on which population was counted" },		"INSEE": { "required": true, "label": "INSEE", "type": "number", "description": "INSEE code for the commune" },		"postal code": { "required": false, "label": "Postal code", "type": "number", "description": "Postal Code of the commune" },		"website": { "required": false, "label": "Website", "type": "string", "description": "Official website of the commune" },		"canton": { "label": "Canton", "type": "string" },		"image size": {}, "flag link": {}, "image coat of arms": {}, "image coat of arms size": {}, "shield_link": {}, "adjustable map": {}, "map size": {}, "map caption": {}, "province": {}, "intercomm": {}, "intercom details": {}, "subdivisions entry": {}, "subdivisions": {}, "party": {}, "overseas collectivity": {}, "area footnotes": {}, "urban area date": {}, "urban area km2": {}, "metro area date": {}, "metro area km2": {}, "population footnotes": {}, "population ranking": {}, "urban pop date": {}, "urban pop": {}, "metro area pop date": {}, "metro area pop": {}, "population demonym": { "aliases": [ "demonym" ],			"type": "string" },		"demonym": {}, "ethnic": {}, "ethnic date": {}, "time zone": {}, "utc offset": {}, "time zone DST": { "aliases": [ "time_zone_DST" ],			"type": "string" },		"utc offset DST": { "aliases": [ "utc_offset_DST" ]		},		"insee": {}, "dialling code": {}, "elevation footnotes": {}, "footnotes": {}, "area_km2": {}, "area": {}, "sans": {}, "map dot label": {}, "common name": {}, "region": { "label": "Region", "type": "string", "deprecated": "Unused, remove. Region is derived from INSEE" },		"department": { "label": "Department", "type": "string", "deprecated": "Unused, remove. Department is derived from INSEE" }	} }