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

 *  Required parameters are displayed in orange . Delete any unneeded fields when using the full template syntax.

{{Infobox French commune |name                   = |native name            = |image flag             = |image flag size        = |flag legend            = |image coat of arms     = |image coat of arms size = |coat of arms legend    = |city motto             = |image                  = |caption                = |map                    = |adjustable map         = |time zone              = |longitude             = |latitude              = |arrondissement        = |canton                = |subdivisions entry     = |subdivisions           = |intercommunality       = |mayor                  = |term                   = |elevation m            = |elevation min m        = |elevation max m        = |area km2               = |population            = |population date        = |INSEE                 = |postal code            = |website                = }}

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.

Required parameters are displayed in orange. Delete any unneeded fields when using the full template syntax.

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.

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).

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).

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 the "longitude" and "latitude" fields (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".

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

longitude, latitude
Needed. Geographical coordinates of location. Give location in decimals. Northern hemisphere and eastern hemisphere have positive numbers. The coordinates are used for map calculation, and they are also shown next to the title, in degree-minute-second format (with a link to external map websites). Do not enter degree-minute-second format data in this field, because the map cannot be calculated with those, and they are not shown in the title either. 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).

lat long
Avoid. This field has been replaced by the "longitude" and "latitude" fields.

region and department
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.

arrondissement
Needed. 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
Needed. 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.

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.

intercommunality
Many communes cooperate in an intercommunality.

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

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.

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").

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

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.

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

Example: Paris



 * Footnotes