Difference between revisions of "Template:Infobox French commune/doc"
imported>Rrburke m (Reverted edits by 108.49.57.186 (talk): unexplained page blanking (HG)) |
imported>LlywelynII (Demonym section) |
||
| Line 11: | Line 11: | ||
{{((}}Infobox French commune | {{((}}Infobox French commune | ||
|name = | |name = | ||
| + | |population_demonym = | ||
|commune status = | |commune status = | ||
|total type = | |total type = | ||
| Line 53: | Line 54: | ||
===name=== | ===name=== | ||
English name of location. If this field is not specified, the article name is used. | English name of location. If this field is not specified, the article name is used. | ||
| + | |||
| + | ===demonym=== | ||
| + | The adjective describing the people and places of the region. Use the ''English'' demonym by default (e.g., <code>Parisian</code>, not Parisien). | ||
| + | |||
| + | If the French demonym is included, specify the respective languages in full or with a language code. For example: <code>Parisian (English)<br>Parisien (French)</code> or <code>Parisian (en)<br>Parisien (fr)</code>. Use [[non-breaking space]]s or {{tl|nowrap}} to prevent unhelpful text-wrapping in these lines. | ||
| + | |||
| + | Do not include other languages' demonyms. | ||
===native name=== | ===native name=== | ||
Revision as of 01:32, 1 March 2015
| This is a documentation subpage for Template:Infobox French commune. It contains usage information, categories and other content that is not part of the original template page. |
Template:Uses Infobox settlement
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.
Contents
- 1 Usage
- 2 Parameters
- 2.1 name
- 2.2 demonym
- 2.3 native name
- 2.4 commune status
- 2.5 total type
- 2.6 image flag, image coat of arms etc
- 2.7 city motto
- 2.8 image
- 2.9 caption
- 2.10 map, adjustable map
- 2.11 time zone
- 2.12 longitude, latitude
- 2.13 lat long
- 2.14 region and department
- 2.15 arrondissement
- 2.16 canton
- 2.17 subdivisions
- 2.18 intercommunality
- 2.19 mayor
- 2.20 elevation min m, elevation max m, elevation m
- 2.21 area km2
- 2.22 population
- 2.23 postal code
- 2.24 INSEE
- 2.25 website
- 3 Example: Paris
- 4 TemplateData
- 5 Microformat
- 6 See also
Usage
- Required parameters are displayed in orange. Delete any unneeded fields when using the full template syntax.
{{Infobox French commune
|name =
|population_demonym =
|commune status =
|total type =
|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.
demonym
The adjective describing the people and places of the region. Use the English demonym by default (e.g., Parisian, not Parisien).
If the French demonym is included, specify the respective languages in full or with a language code. For example: Parisian (English) or
Parisien (French)Parisian (en). Use non-breaking spaces or {{nowrap}} to prevent unhelpful text-wrapping in these lines.
Parisien (fr)
Do not include other languages' demonyms.
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 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 [[Central European Time|CET]]/[[Central European Summer Time|CEST]] ([[UTC+1]]/[[UTC+2|+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"). Note: Adding references to commune, urban and metro population numbers 'breaks' the settlement template population density calculations for each respective area.
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
[[Category:Template:Pagetype with short description]]
Script error: No such module "If empty". | |
|---|---|
![]() | |
| Motto(s): Script error: No such module "If empty". | |
Location of Paris Lua error in Module:Infobox_mapframe at line 185: attempt to index field 'wikibase' (a nil value). | |
| Country | France |
| Region | Île-de-France |
| Department | Paris |
| Subdivisions | 20 arrondissements |
| Government | |
| • Mayor (2008–2014) | Bertrand Delanoë (Template:Polparty) |
| Area 1[1] | 105.4 km2 (Template:Round sq mi) |
| • Urban (1999) | 2,723 km2 (Template:Round sq mi) |
| • Metro (1999) | 14,518.3 km2 (Template:Round sq mi) |
| Population (January 1, 2009 estimate[2]) | 2,203,817 |
| • Rank | 1st in France |
| • Density | Template:Round/km2 (Template:Round/sq mi) |
| • Urban (2006) | 10,142,983 |
| • Urban density | Template:Round/km2 (Template:Round/sq mi) |
| • Metro (2006) | 11,769,433 |
| • Metro density | Template:Round/km2 (Template:Round/sq mi) |
| Script error: No such module "If empty". | |
| Time zone | UTC+01:00 (CET) |
| • Summer (DST) | UTC+02:00 (CEST) |
| INSEE/Postal code | 75056 /75001-75020, 75116 |
| Script error: No such module "If empty". | |
| Website | paris.fr |
| 1 French Land Register data, which excludes lakes, ponds, glaciers > 1 km2 (0.386 sq mi or 247 acres) and river estuaries. | |
Expression error: Unrecognized punctuation character "[".Template:Ns0Template:Ns0Template:Ns0Template:Ns0 <pre.raw style="border:0px;overflow:auto;"> {{Infobox French commune |name = Paris |commune status = [[Communes of France|Commune]] / [[Departments of France|Department]] |total type = |image = Panorama Paris December 2007.jpg |caption = The [[Eiffel Tower]] (foreground) and the skyscrapers of the<br />[[La Défense]] business district (background). |image flag = Flag of Paris.svg |image flag size = 85px |image coat of arms = Grandes Armes de Paris.svg |image coat of arms size = 120px |flag legend = [[Flag of Paris|City flag]] |coat of arms legend = [[Coat of arms of Paris|City coat of arms]] |city motto = ''[[Fluctuat nec mergitur]]'' (Latin: She is tossed by the waves but is not sunk) |latitude = 48.856667 |longitude = 2.350833 |time zone = CET <small>(UTC +1)</small> |mayor = [[Bertrand Delanoë]] |party = [[Socialist Party (France)|PS]] |term = 2008–2014 |subdivisions entry = [[Administrative division|Subdivisions]] |subdivisions = [[Arrondissements of Paris|20 arrondissements]] |area km2 = 105.4 |area footnotes = <ref name="area">[http://www.statistiques-locales.insee.fr/Fiches%5CRS%5CDEP%5C75%5CCOM%5CRS_COM75056.pdf INSEE local statistics], including [[Bois de Boulogne]] and [[Bois de Vincennes]].</ref> |population date = January 1, 2009 estimate<ref name="pop">{{cite web |url=http://www.paris.fr/portail/accueil/Portal.lut?page_id=5427&document_type_id=5&document_id=8717&portlet_id=11661 |title=La population par arrondissement de 1990 à 2009 |date=2009-01-01 |publisher=Mairie de Paris |language=French |accessdate=2009-07-09}}</ref> |INSEE=75056 |postal code=75001-75020, 75116 |population = 2203817 |population ranking = [[List of communes in France with over 20,000 inhabitants (1999 census)|1st in France]] |urban area km2 = 2,723 |urban area date = 1999 |urban pop = 10,142,983 |urban pop date = 2006 |metro area km2 = 14518.3 |metro area date = 1999 |metro area pop = 11,769,433 |metro area pop date = 2006 |website = [http://www.paris.fr paris.fr] }}
- Footnotes
- ↑ INSEE local statistics, including Bois de Boulogne and Bois de Vincennes.
- ↑ "La population par arrondissement de 1990 à 2009" (in French). Mairie de Paris. 2009-01-01. Retrieved 2009-07-09.
TemplateData
Syntax error in JSON.
Microformat
See also
