Difference between revisions of "Template:Infobox French commune/doc"
imported>ThePromenader (Updating doc with changes) |
imported>Markussep m (→time zone) |
||
| (57 intermediate revisions by 18 users not shown) | |||
| Line 1: | Line 1: | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
| − | <!-- | + | <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> |
| − | + | {{High-use| 37304 }} | |
{{Uses Infobox settlement}} | {{Uses Infobox settlement}} | ||
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Coordinates|Module:Check for unknown parameters}} | ||
| − | This infobox is meant for communes (the lowest level of administrative division) in France. | + | 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. This infobox now also supports settlements that are part of a commune, for instance former communes that were merged into a ''commune nouvelle''. See the parameter {{para|commune}} for a manual. |
{{TOC limit|2}} | {{TOC limit|2}} | ||
==Usage== | ==Usage== | ||
| − | + | Delete any unneeded fields when using the full template syntax. | |
| − | + | ||
| − | + | {{Parameter names example | |
| − | + | | name | |
| − | + | | native name | |
| − | + | | commune status | |
| − | + | | total type | |
| − | + | | image | |
| − | + | | image size | |
| − | + | | caption | |
| − | + | | image flag | |
| − | + | | image flag size | |
| − | + | | flag_link | |
| − | + | | image coat of arms | |
| − | + | | image coat of arms size | |
| − | + | | shield_link | |
| − | + | | city motto | |
| − | + | | map | |
| − | + | | adjustable map | |
| − | + | | map size | |
| − | + | | map caption | |
| − | + | | INSEE | |
| − | + | | arrondissement | |
| − | + | | canton | |
| − | + | | intercommunality | |
| − | + | | type | |
| − | + | | commune | |
| − | + | | subdivisions entry | |
| − | + | | subdivisions | |
| − | + | | party | |
| − | + | | mayor | |
| − | + | | term | |
| − | + | | area km2 = 1 | |
| − | + | | area footnotes | |
| − | + | | urban area date | |
| − | + | | metro area date | |
| − | + | | population date | |
| + | | population ranking | ||
| + | | urban pop date | ||
| + | | urban pop | ||
| + | | metro area pop date | ||
| + | | metro area pop | ||
| + | | population | ||
| + | | population footnotes | ||
| + | | population demonym | ||
| + | | ethnic | ||
| + | | ethnic date | ||
| + | | utc offset | ||
| + | | postal code | ||
| + | | dialling code | ||
| + | | elevation m = 1 | ||
| + | | elevation min m = 0 | ||
| + | | elevation max m = 2 | ||
| + | | elevation footnotes | ||
| + | | website | ||
| + | }} | ||
| + | |||
| + | <pre style="overflow:auto;"> | ||
| + | {{Infobox French commune | ||
| + | | name = | ||
| + | | native name = | ||
| + | | commune status = | ||
| + | | total type = | ||
| + | | image = | ||
| + | | image size = | ||
| + | | caption = | ||
| + | | image flag = | ||
| + | | image flag size = | ||
| + | | flag_link = | ||
| + | | image coat of arms = | ||
| + | | image coat of arms size = | ||
| + | | shield_link = | ||
| + | | city motto = | ||
| + | | map = | ||
| + | | adjustable map = | ||
| + | | map size = | ||
| + | | map caption = | ||
| + | | coordinates = <!-- use {{Coord}} --> | ||
| + | | INSEE = | ||
| + | | province = <!-- New Caledonia only --> | ||
| + | | administrative subdivision = <!-- French Polynesia only --> | ||
| + | | arrondissement = | ||
| + | | canton = | ||
| + | | intercommunality = | ||
| + | | commune = <!-- for settlements that are part of a commune --> | ||
| + | | type = <!-- for settlements that are part of a commune --> | ||
| + | | subdivisions entry = | ||
| + | | subdivisions = | ||
| + | | party = | ||
| + | | mayor = | ||
| + | | term = | ||
| + | | area km2 = | ||
| + | | area footnotes = | ||
| + | | urban area date = | ||
| + | | urban area km2 = | ||
| + | | metro area date = | ||
| + | | metro area km2 = | ||
| + | | population date = | ||
| + | | population ranking = | ||
| + | | urban pop date = | ||
| + | | urban pop = | ||
| + | | metro area pop date = | ||
| + | | metro area pop = | ||
| + | | population = | ||
| + | | population demonym = | ||
| + | | ethnic = | ||
| + | | ethnic date = | ||
| + | | utc offset = <!-- French Polynesia only --> | ||
| + | | postal code = | ||
| + | | dialling code = | ||
| + | | elevation m = | ||
| + | | elevation min m = | ||
| + | | elevation max m = | ||
| + | | elevation footnotes = | ||
| + | | website = | ||
| + | }} | ||
| + | </pre> | ||
==Parameters== | ==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. | 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=== | ===name=== | ||
| Line 55: | Line 143: | ||
===native name=== | ===native name=== | ||
| − | French name of location. Use only if French name is different from English name (e.g. | + | 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=== | ===commune status=== | ||
| − | If you want a sub-banner to appear. Defaults to empty. Can be | + | 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=== | ===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. | 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=== | ===image=== | ||
| Line 74: | Line 156: | ||
===caption=== | ===caption=== | ||
The caption for this picture (optional). | 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=== | ===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 | + | '''Avoid, except for overseas departments and territories.''' For locations in metropolitan (=European) France, an automatic map is generated if the coordinates are given in {{para|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". | + | * "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". | + | * "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 [http://www.lion1906.com/ 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. For settlements that are part of a commune, use any number that starts with the department number, for instance the INSEE code of the commune, the former commune, or just the department number (e.g. 77 for a place in Seine-et-Marne). It does not show, but it is used to display the correct region, department and detailed map. | |
| − | === | + | ===region and department=== |
| − | + | DEPRECATED: The region and the department to which the location belongs are retrieved using the (required!) INSEE code. The fields "region" and "department" are no longer used. | |
| − | === | + | ===province=== |
| − | + | For New Caledonia. | |
| − | === | + | ===administrative subdivision=== |
| − | + | For French Polynesia. | |
| − | === | + | ===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=== |
| − | Some locations, usually the larger cities, are subdivided into | + | '''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=== | ===intercommunality=== | ||
Many communes cooperate in an intercommunality. | Many communes cooperate in an intercommunality. | ||
| + | |||
| + | ===commune, type=== | ||
| + | For settlements that are part of a commune. "commune" is the commune the settlement is part of, "type" is the type of settlement, for instance ''commune déléguée'' or ''commune associée''. Default type is ''part''. | ||
| + | |||
| + | ===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=== | ===mayor=== | ||
| − | The mayor of the commune. | + | The mayor of the commune. The governing period of the mayor (currently 2020–2026) should be given in the field "term". Optionally, the political affiliation of the mayor can be given in the field "party". |
| − | |||
| − | |||
| − | |||
===area km2=== | ===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. | 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 " | + | 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 "population date". You can add references and footnotes in the field "population footnotes" (not in "population"). '''Note:''' Adding references to commune, urban and metro population numbers 'breaks' the settlement template population density calculations for each respective area. For existing communes (i.e. not former communes) the template {{tl|France metadata Wikidata}} should be used, which retrieves the most recent population data from Wikidata. For example: |
| + | <pre>|population = {{France metadata Wikidata|population_total}} | ||
| + | |population date = {{France metadata Wikidata|population_as_of}} | ||
| + | |population footnotes = {{France metadata Wikidata|population_footnotes}}</pre> | ||
| + | |||
| + | ===population_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 via [[:wikt:Wiktionary:List of languages|language code]]. Use the correct capitalization common to each respective language. For example: {{nowrap|<code><nowiki>Parisian (English)<br>parisien (French)</nowiki></code>}} or {{nowrap|<code><nowiki>Parisian (en)<br>parisien (fr)</nowiki></code>}}. Use [[non-breaking space]]s (&nbsp;) or {{tl|nowrap}} to prevent unhelpful text-wrapping in these lines. Do not include the [[feminine gender|feminine form]] as a separate demonym, but do include it as an alternative style of the French demonym if possible: <code>parisien(ne)</code>. | ||
| + | |||
| + | Do not include other languages' demonyms unless they are [[WP:NOTABILITY|notable]] (e.g., Breton names only for Breton places). | ||
| + | |||
| + | ===time zone=== | ||
| + | Only use this parameter for places in French Polynesia. For other places the time zone is derived from the INSEE code. | ||
===postal code=== | ===postal code=== | ||
The postal code(s) of the commune. | The postal code(s) of the commune. | ||
| − | === | + | ===elevation min m, elevation max m, elevation m=== |
| − | The | + | 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=== | ===website=== | ||
| Line 129: | Line 233: | ||
<!-- Displayed as an infobox --> | <!-- Displayed as an infobox --> | ||
{{Infobox French commune | {{Infobox French commune | ||
| − | |name = Paris | + | | name = Paris |
| − | |commune status = [[Communes of France|Commune]] / [[Departments of France|Department]] | + | | population_demonym = Parisian ([[English language|en]])<br />parisien(ne) ([[French language|fr]]) |
| − | |total type = | + | | commune status = [[Communes of France|Commune]] / [[Departments of France|Department]] |
| − | |image = Panorama Paris December 2007.jpg | + | | total type = |
| − | |caption = The [[Eiffel Tower]] (foreground) and the skyscrapers of the<br />[[La Défense]] business district (background). | + | | image = Panorama Paris December 2007.jpg |
| − | |image flag = Flag of Paris.svg | + | | caption = The [[Eiffel Tower]] (foreground) and the skyscrapers of the<br />[[La Défense]] business district (background). |
| − | |image flag size = 85px | + | | image flag = Flag of Paris with coat of arms.svg |
| − | |image coat of arms = Grandes Armes de Paris.svg | + | | image flag size = 85px |
| − | |image coat of arms size = 120px | + | | image coat of arms = Grandes Armes de Paris.svg |
| − | | | + | | image coat of arms size = 120px |
| − | | | + | | flag_link = Flag of Paris |
| − | |city motto = ''[[Fluctuat nec mergitur]]'' (Latin: She is tossed by the waves but is not sunk) | + | | shield_link = Coat of arms of Paris |
| − | | | + | | city motto = ''[[Fluctuat nec mergitur]]''<br />{{nowrap|([[Latin]]: She is tossed by the waves but is not sunk)}} |
| − | | | + | | coordinates = {{coord|48.856667|2.350833|format=dms}} |
| − | | | + | | mayor = [[Bertrand Delanoë]] |
| − | |mayor = [[Bertrand Delanoë]] | + | | party = [[Socialist Party (France)|PS]] |
| − | |party = [[Socialist Party (France)|PS]] | + | | term = 2008–2014 |
| − | |term = | + | | subdivisions entry = [[Administrative division|Subdivisions]] |
| − | |subdivisions entry = [[Administrative division|Subdivisions]] | + | | subdivisions = [[Arrondissements of Paris|20 arrondissements]] |
| − | |subdivisions = [[Arrondissements of Paris|20 arrondissements]] | + | | area km2 = 105.4 |
| − | |area km2 = 105.4 | + | | area footnotes = <ref name="area">[https://www.insee.fr/fr/statistiques/1405599?geo=COM-75056 INSEE local statistics], including [[Bois de Boulogne]] and [[Bois de Vincennes]].</ref> |
| − | |area footnotes = <ref name="area">[ | + | | population date = January 1, 2009 estimate<ref name="pop">{{cite web |
| − | |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 |
| − | |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 |
| − | |title=La population par arrondissement de 1990 à 2009 | + | | date=2009-01-01 |
| − | |date=2009-01-01 | + | | publisher=Mairie de Paris |
| − | |publisher=Mairie de Paris | + | | language=French |
| − | |language=French | + | | accessdate=2009-07-09}}</ref> |
| − | |accessdate=2009-07-09}}</ref> | + | | INSEE = 75056 |
| − | |INSEE=75056 | + | | postal code = 75001-75020, 75116 |
| − | |postal code=75001-75020, 75116 | + | | population = 2203817 |
| − | |population = 2203817 | + | | population ranking = [[List of communes in France with over 20,000 inhabitants (1999 census)|1st in France]] |
| − | |population ranking = [[List of communes in France with over 20,000 inhabitants (1999 census)|1st in France]] | + | | urban area km2 = 2,723 |
| − | |urban area km2 = 2,723 | + | | urban area date = 1999 |
| − | |urban area date = 1999 | + | | urban pop = 10,142,983 |
| − | |urban pop = 10,142,983 | + | | urban pop date = 2006 |
| − | |urban pop date = 2006 | + | | metro area km2 = 14518.3 |
| − | |metro area km2 = 14518.3 | + | | metro area date = 1999 |
| − | |metro area date = 1999 | + | | metro area pop = 11,769,433 |
| − | |metro area pop = 11,769,433 | + | | metro area pop date = 2006 |
| − | |metro area pop date = 2006 | + | | website = {{URL|http://www.paris.fr/}} |
| − | |website = | ||
}} | }} | ||
| + | |||
<!-- Displayed as infobox code --> | <!-- Displayed as infobox code --> | ||
| − | <pre | + | <pre style="overflow:auto;"> |
{{Infobox French commune | {{Infobox French commune | ||
| − | |name = Paris | + | | name = Paris |
| − | |commune status = [[Communes of France|Commune]] / [[Departments of France|Department]] | + | | population_demonym = Parisian ([[English language|en]])<br />parisien(ne) ([[French language|fr]]) |
| − | |total type = | + | | commune status = [[Communes of France|Commune]] / [[Departments of France|Department]] |
| − | |image = Panorama Paris December 2007.jpg | + | | total type = |
| − | |caption = The [[Eiffel Tower]] (foreground) and the skyscrapers of the<br />[[La Défense]] business district (background). | + | | image = Panorama Paris December 2007.jpg |
| − | |image flag = Flag of Paris.svg | + | | caption = The [[Eiffel Tower]] (foreground) and the skyscrapers of the<br />[[La Défense]] business district (background). |
| − | |image flag size = 85px | + | | image flag = Flag of Paris with coat of arms.svg |
| − | |image coat of arms = Grandes Armes de Paris.svg | + | | image flag size = 85px |
| − | |image coat of arms size = 120px | + | | image coat of arms = Grandes Armes de Paris.svg |
| − | | | + | | image coat of arms size = 120px |
| − | | | + | | flag_link = Flag of Paris |
| − | |city motto = ''[[Fluctuat nec mergitur]]'' (Latin: She is tossed by the waves but is not sunk) | + | | shield_link = Coat of arms of Paris |
| − | | | + | | city motto = ''[[Fluctuat nec mergitur]]''<br />{{nowrap|([[Latin]]: She is tossed by the waves but is not sunk)}} |
| − | | | + | | coordinates = {{coord|48.856667|2.350833|format=dms}} |
| − | | | + | | mayor = [[Bertrand Delanoë]] |
| − | |mayor = [[Bertrand Delanoë]] | + | | party = [[Socialist Party (France)|PS]] |
| − | |party = [[Socialist Party (France)|PS]] | + | | term = 2008–2014 |
| − | |term = | + | | subdivisions entry = [[Administrative division|Subdivisions]] |
| − | |subdivisions entry = [[Administrative division|Subdivisions]] | + | | subdivisions = [[Arrondissements of Paris|20 arrondissements]] |
| − | |subdivisions = [[Arrondissements of Paris|20 arrondissements]] | + | | area km2 = 105.4 |
| − | |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> |
| − | |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 |
| − | |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 |
| − | |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 |
| − | |title=La population par arrondissement de 1990 à 2009 | + | | date=2009-01-01 |
| − | |date=2009-01-01 | + | | publisher=Mairie de Paris |
| − | |publisher=Mairie de Paris | + | | language=French |
| − | |language=French | + | | accessdate=2009-07-09}}</ref> |
| − | |accessdate=2009-07-09}}</ref> | + | | INSEE = 75056 |
| − | |INSEE=75056 | + | | postal code = 75001-75020, 75116 |
| − | |postal code=75001-75020, 75116 | + | | population = 2203817 |
| − | |population = 2203817 | + | | population ranking = [[List of communes in France with over 20,000 inhabitants (1999 census)|1st in France]] |
| − | |population ranking = [[List of communes in France with over 20,000 inhabitants (1999 census)|1st in France]] | + | | urban area km2 = 2,723 |
| − | |urban area km2 = 2,723 | + | | urban area date = 1999 |
| − | |urban area date = 1999 | + | | urban pop = 10,142,983 |
| − | |urban pop = 10,142,983 | + | | urban pop date = 2006 |
| − | |urban pop date = 2006 | + | | metro area km2 = 14518.3 |
| − | |metro area km2 = 14518.3 | + | | metro area date = 1999 |
| − | |metro area date = 1999 | + | | metro area pop = 11,769,433 |
| − | |metro area pop = 11,769,433 | + | | metro area pop date = 2006 |
| − | |metro area pop date = 2006 | + | | website = {{URL|http://www.paris.fr/}} |
| − | |website = | + | }} |
| − | }} | + | </pre> |
| − | |||
| − | |||
;Footnotes | ;Footnotes | ||
{{reflist}} | {{reflist}} | ||
| + | {{Clear}} | ||
==TemplateData== | ==TemplateData== | ||
| + | {{collapse top|[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} | ||
| + | {{TemplateData header|noheader=1}} | ||
<templatedata> | <templatedata> | ||
{ | { | ||
| Line 232: | Line 337: | ||
"type": "string", | "type": "string", | ||
"description": "English name of location", | "description": "English name of location", | ||
| − | + | "default": "Article Name" | |
}, | }, | ||
"native name": { | "native name": { | ||
| Line 240: | Line 345: | ||
"description": "Native name of the location" | "description": "Native name of the location" | ||
}, | }, | ||
| − | + | "commune status": { | |
"required": false, | "required": false, | ||
"label": "Commune Status", | "label": "Commune Status", | ||
"type": "string", | "type": "string", | ||
| − | "description": "Fill to show sub-banner: eg. Type of settlement (City, Commune, Municipality) " | + | "description": "Fill to show sub-banner: eg. Type of settlement (City, Commune, Municipality) " |
}, | }, | ||
| − | + | "total type": { | |
"required": false, | "required": false, | ||
"label": "Total Type", | "label": "Total Type", | ||
"type": "string", | "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)" | + | "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": { | "image flag": { | ||
| Line 263: | Line 368: | ||
"type": "line", | "type": "line", | ||
"description": "Size of image of the flag of commune" | "description": "Size of image of the flag of commune" | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
"city motto": { | "city motto": { | ||
| Line 306: | Line 399: | ||
"description": "Timezone of the commune" | "description": "Timezone of the commune" | ||
}, | }, | ||
| − | " | + | "coordinates": { |
"required": true, | "required": true, | ||
| − | "label": " | + | "label": "Coordinates", |
| − | "type": " | + | "type": "string", |
| − | "description": " | + | "description": "Coordinates of the location using {{coord}}" |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}, | }, | ||
"arrondissement": { | "arrondissement": { | ||
| Line 340: | Line 427: | ||
"label": "Term", | "label": "Term", | ||
"type": "line", | "type": "line", | ||
| − | "description": "The governing period of the mayor" | + | "description": "The governing period of the mayor. Do not add references here, you can add these in the \"mayor\" parameter." |
}, | }, | ||
"elevation m": { | "elevation m": { | ||
| Line 362: | Line 449: | ||
"area km2": { | "area km2": { | ||
"required": false, | "required": false, | ||
| − | "label": "Area(square km)", | + | "label": "Area (square km)", |
"type": "number", | "type": "number", | ||
"description": "Area of the commune in square kilometers" | "description": "Area of the commune in square kilometers" | ||
| Line 370: | Line 457: | ||
"label": "Population", | "label": "Population", | ||
"type": "number", | "type": "number", | ||
| − | "description": "Population of the commune" | + | "description": "Population of the commune. For existing communes (i.e. not former communes) the template France metadata Wikidata should be used, which retrieves the most recent population data from Wikidata" |
}, | }, | ||
"population date": { | "population date": { | ||
| Line 376: | Line 463: | ||
"label": "Population Date", | "label": "Population Date", | ||
"type": "line", | "type": "line", | ||
| − | "description": "Date on which population was counted" | + | "description": "Date (year) on which population was counted" |
}, | }, | ||
"INSEE": { | "INSEE": { | ||
| Line 382: | Line 469: | ||
"label": "INSEE", | "label": "INSEE", | ||
"type": "number", | "type": "number", | ||
| − | "description": "INSEE code for the commune" | + | "description": "INSEE code for the commune", |
| + | "aliases": [ | ||
| + | "insee" | ||
| + | ] | ||
}, | }, | ||
"postal code": { | "postal code": { | ||
| Line 395: | Line 485: | ||
"type": "string", | "type": "string", | ||
"description": "Official website of the commune" | "description": "Official website of the commune" | ||
| + | }, | ||
| + | "canton": { | ||
| + | "label": "Canton", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "image size": {}, | ||
| + | "flag link": { | ||
| + | "aliases": [ | ||
| + | "flag_link" | ||
| + | ] | ||
| + | }, | ||
| + | "image coat of arms": { | ||
| + | "description": "Image of coat of arms of commune." | ||
| + | }, | ||
| + | "image coat of arms size": { | ||
| + | "description": "Size of image of coat of arms of commune " | ||
| + | }, | ||
| + | "shield_link": {}, | ||
| + | "adjustable map": {}, | ||
| + | "map size": {}, | ||
| + | "map caption": {}, | ||
| + | "province": { | ||
| + | "description": "Used for places in New Caledonia", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "subdivisions entry": {}, | ||
| + | "subdivisions": {}, | ||
| + | "party": {}, | ||
| + | "overseas collectivity": {}, | ||
| + | "area footnotes": {}, | ||
| + | "urban pop": { | ||
| + | "description": "Population of the (inner) urban area (''unité urbaine''). To be added to the central commune only" | ||
| + | }, | ||
| + | "urban pop date": {}, | ||
| + | "urban area date": {}, | ||
| + | "urban area km2": {}, | ||
| + | "metro area pop": { | ||
| + | "description": "Population of the wider urban area (''aire urbaine''). To be added to the central commune only" | ||
| + | }, | ||
| + | "metro area pop date": {}, | ||
| + | "metro area date": {}, | ||
| + | "metro area km2": {}, | ||
| + | "population footnotes": {}, | ||
| + | "population ranking": {}, | ||
| + | "population demonym": { | ||
| + | "aliases": [ | ||
| + | "demonym", | ||
| + | "population_demonym" | ||
| + | ], | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "demonym": {}, | ||
| + | "ethnic": {}, | ||
| + | "ethnic date": {}, | ||
| + | "time zone": { | ||
| + | "aliases": [ | ||
| + | "timezone" | ||
| + | ], | ||
| + | "description": "Name of the time zone", | ||
| + | "deprecated": "Time zones are derived from the INSEE code" | ||
| + | }, | ||
| + | "utc offset": { | ||
| + | "aliases": [ | ||
| + | "utc_offset" | ||
| + | ], | ||
| + | "description": "Only for French Polynesia, for other places the time zone is derived from the INSEE code" | ||
| + | }, | ||
| + | "time zone DST": { | ||
| + | "aliases": [ | ||
| + | "time_zone_DST", | ||
| + | "timezone_DST" | ||
| + | ], | ||
| + | "type": "string", | ||
| + | "deprecated": "Time zones are derived from the INSEE code" | ||
| + | }, | ||
| + | "utc offset DST": { | ||
| + | "aliases": [ | ||
| + | "utc_offset_DST" | ||
| + | ], | ||
| + | "deprecated": "Time zones are derived from the INSEE code" | ||
| + | }, | ||
| + | "dialling code": {}, | ||
| + | "elevation footnotes": {}, | ||
| + | "footnotes": {}, | ||
| + | "map dot label": {}, | ||
| + | "common name": {}, | ||
| + | "department": { | ||
| + | "label": "Department", | ||
| + | "type": "string", | ||
| + | "deprecated": "Unused, remove. Department is derived from INSEE" | ||
| + | }, | ||
| + | "commune": { | ||
| + | "description": "Used for places that are part of a commune", | ||
| + | "type": "string" | ||
| + | }, | ||
| + | "type": { | ||
| + | "description": "Used for places that are part of a commune.", | ||
| + | "type": "string", | ||
| + | "default": "Part" | ||
| + | }, | ||
| + | "region": { | ||
| + | "deprecated": "The region and the department to which the location belongs are retrieved using the (required!) INSEE code." | ||
| + | }, | ||
| + | "administrative subdivision": { | ||
| + | "description": "Used for places in French Polynesia" | ||
} | } | ||
} | } | ||
} | } | ||
| − | |||
</templatedata> | </templatedata> | ||
| + | {{collapse bottom}} | ||
| − | ==Microformat== | + | == Microformat == |
{{UF-hcard-place}} | {{UF-hcard-place}} | ||
| − | ==See also== | + | == Tracking category == |
| + | * {{clc|Pages using infobox French commune with unknown parameters}} | ||
| + | |||
| + | == See also == | ||
{{About French nav boxes}} | {{About French nav boxes}} | ||
| − | + | <includeonly>{{sandbox other|| | |
| − | <includeonly> | + | <!-- Categories below this line; interwikis at Wikidata --> |
| − | |||
| − | |||
| − | <!--Categories--> | ||
[[Category:French subdivision infobox templates|Communes]] | [[Category:French subdivision infobox templates|Communes]] | ||
| − | [[Category:Templates with coordinates fields | + | [[Category:Templates with coordinates fields]] |
| − | + | [[Category:Templates that add a tracking category]] | |
| − | + | }}</includeonly> | |
| − | [[ | ||
| − | </includeonly> | ||
Latest revision as of 12:42, 1 February 2021
| 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. |
| This template is used on approximately 37,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
Template:Uses Infobox settlement
| This template uses Lua: |
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. This infobox now also supports settlements that are part of a commune, for instance former communes that were merged into a commune nouvelle. See the parameter |commune= for a manual.
Contents
- 1 Usage
- 2 Parameters
- 2.1 Required parameters
- 2.2 name
- 2.3 native name
- 2.4 commune status
- 2.5 total type
- 2.6 image
- 2.7 caption
- 2.8 image flag, image coat of arms, etc.
- 2.9 city motto
- 2.10 map, adjustable map
- 2.11 coordinates
- 2.12 INSEE
- 2.13 region and department
- 2.14 province
- 2.15 administrative subdivision
- 2.16 arrondissement
- 2.17 canton
- 2.18 intercommunality
- 2.19 commune, type
- 2.20 subdivisions
- 2.21 mayor
- 2.22 area km2
- 2.23 population
- 2.24 population_demonym
- 2.25 time zone
- 2.26 postal code
- 2.27 elevation min m, elevation max m, elevation m
- 2.28 website
- 3 Example: Paris
- 4 TemplateData
- 5 Microformat
- 6 Tracking category
- 7 See also
Usage
Delete any unneeded fields when using the full template syntax.
Template:Parameter names example
{{Infobox French commune
| name =
| native name =
| commune status =
| total type =
| image =
| image size =
| caption =
| image flag =
| image flag size =
| flag_link =
| image coat of arms =
| image coat of arms size =
| shield_link =
| city motto =
| map =
| adjustable map =
| map size =
| map caption =
| coordinates = <!-- use {{Coord}} -->
| INSEE =
| province = <!-- New Caledonia only -->
| administrative subdivision = <!-- French Polynesia only -->
| arrondissement =
| canton =
| intercommunality =
| commune = <!-- for settlements that are part of a commune -->
| type = <!-- for settlements that are part of a commune -->
| subdivisions entry =
| subdivisions =
| party =
| mayor =
| term =
| area km2 =
| area footnotes =
| urban area date =
| urban area km2 =
| metro area date =
| metro area km2 =
| population date =
| population ranking =
| urban pop date =
| urban pop =
| metro area pop date =
| metro area pop =
| population =
| population demonym =
| ethnic =
| ethnic date =
| utc offset = <!-- French Polynesia only -->
| postal code =
| dialling code =
| elevation m =
| elevation min m =
| elevation max m =
| elevation footnotes =
| 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.
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. For settlements that are part of a commune, use any number that starts with the department number, for instance the INSEE code of the commune, the former commune, or just the department number (e.g. 77 for a place in Seine-et-Marne). It does not show, but it is used to display the correct region, department and detailed map.
region and department
DEPRECATED: The region and the department to which the location belongs are retrieved using the (required!) INSEE code. The fields "region" and "department" are no longer used.
province
For New Caledonia.
administrative subdivision
For French Polynesia.
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.
commune, type
For settlements that are part of a commune. "commune" is the commune the settlement is part of, "type" is the type of settlement, for instance commune déléguée or commune associée. Default type is part.
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. The governing period of the mayor (currently 2020–2026) should be given in the field "term". Optionally, the political affiliation of the mayor can be given 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 "population date". You can add references and footnotes in the field "population footnotes" (not in "population"). Note: Adding references to commune, urban and metro population numbers 'breaks' the settlement template population density calculations for each respective area. For existing communes (i.e. not former communes) the template {{France metadata Wikidata}} should be used, which retrieves the most recent population data from Wikidata. For example:
|population = {{France metadata Wikidata|population_total}}
|population date = {{France metadata Wikidata|population_as_of}}
|population footnotes = {{France metadata Wikidata|population_footnotes}}
population_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 via language code. Use the correct capitalization common to each respective language. For example: Parisian (English)<br>parisien (French) or Parisian (en)<br>parisien (fr). Use non-breaking spaces ( ) 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: parisien(ne).
Do not include other languages' demonyms unless they are notable (e.g., Breton names only for Breton places).
time zone
Only use this parameter for places in French Polynesia. For other places the time zone is derived from the INSEE code.
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
[[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). | |
| Lua error in Module:Location_map at line 399: Malformed coordinates value. | |
| Coordinates: Lua error: callParserFunction: function "#coordinates" was not found. | |
| 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) |
| Demonym(s) | 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 | Template:URL |
| 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:Ns0
{{Infobox French commune
| name = Paris
| population_demonym = Parisian ([[English language|en]])<br />parisien(ne) ([[French language|fr]])
| 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 with coat of arms.svg
| image flag size = 85px
| image coat of arms = Grandes Armes de Paris.svg
| image coat of arms size = 120px
| flag_link = Flag of Paris
| shield_link = Coat of arms of Paris
| city motto = ''[[Fluctuat nec mergitur]]''<br />{{nowrap|([[Latin]]: She is tossed by the waves but is not sunk)}}
| coordinates = {{coord|48.856667|2.350833|format=dms}}
| 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 = {{URL|http://www.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
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Infobox French commune No description.
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Microformat
Tracking category
See also
