模板: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. 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.

Usage

Delete any unneeded fields when using the full template syntax.

{{{name}}}
{{{native name}}}
{{{commune status}}}
[[File:{{{image}}}|{{{image size}}}|{{{caption}}}]]
{{{caption}}}
[[File:{{{image flag}}}|{{{image flag size}}}|border|{{{name}}}旗幟]]
[[{{{flag_link}}}|旗幟]]
格言:{{{city motto}}}
[[File:{{{map}}}|{{{map size}}}|{{{map caption}}}]]
{{{map caption}}}
國家 法國
{{{arrondissement}}}
社區{{{intercommunality}}}
{{{subdivisions entry}}}{{{subdivisions}}}
政府
 • 市長 ({{{term}}}) {{{mayor}}} ({{{party}}})
面積1 {{{area footnotes}}}
 • {{{total type}}}1 平方公里(0.4 平方英里)
人口({{{population date}}}){{{population footnotes}}}
 • {{{total type}}}123人
 • 排名{{{population ranking}}}
 • 密度123人/平方公里(319人/平方英里)
 • 市區 ({{{urban pop date}}}){{{urban pop}}}
 • 都會區 ({{{metro area pop date}}}){{{metro area pop}}}
居民稱謂{{{population demonym}}}
族裔分佈
 • {{{ethnic date}}}{{{ethnic}}}
時區CETUTC+01:00
 • 夏時制CESTUTC+02:00
郵政編碼{{{postal code}}}
INSEE{{{INSEE}}}
電話區號{{{dialling code}}}
省級選區{{{canton}}}
海拔{{{elevation footnotes}}}0—2米(0—7英尺)
(平均:1米)
網站{{{website}}}
1法國統計部門在計算土地面積時,不計算面積大於1平方公里的湖泊、池塘、冰川和河口。 2人口不重複計算」:擁有多重居住地的居民(如:學生和軍人)僅計算一次。
{{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                 = 
}}

參數

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

名稱

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, 巴黎 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.

圖像

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.

描述

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 巴黎 and 馬賽 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".

坐標

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.

大區和省

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.

省(波美拉尼亞)

For New Caledonia.

administrative subdivision

For French Polynesia.

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.

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.

市長

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

面積

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 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 不換行空格s (&nbsp;) or {{nowrap}} to prevent unhelpful text-wrapping in these lines. Do not include the 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).

時區

Only use this parameter for places in French Polynesia. For other places the time zone is derived from the INSEE code.

郵政編碼

The postal code(s) of the commune.

海拔高度

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.

網站

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

示例:巴黎

巴黎
Paris
市鎮 /
艾菲爾鐵塔(前景)和拉德芳斯商業區的摩天大樓(背景)。
艾菲爾鐵塔(前景)和拉德芳斯商業區的摩天大樓(背景)。
巴黎旗幟
旗幟
巴黎徽章
徽章
格言:市徽
(拉丁語: 她被海浪拋卻未沉沒)
巴黎在法國的位置
巴黎
巴黎
巴黎在巴黎的位置
巴黎
巴黎
坐標:48°51′24″N 2°21′03″E / 48.856667°N 2.350833°E / 48.856667; 2.350833
國家 法國
大區 法蘭西島大區
領土集體 巴黎
行政區劃
政府
 • 市長 (2008–2014) 貝特朗·德拉諾埃社會黨
面積1 [1]
 • 市鎮105.4 平方公里(40.7 平方英里)
 • 市區 (1999)2,723 平方公里(1,051 平方英里)
 • 都會區 (1999)14,518.3 平方公里(5,605.5 平方英里)
人口(2009年1月1日估計[2][3]
 • 市鎮2,203,817人
 • 排名法國第1名
 • 密度20,909人/平方公里(54,154人/平方英里)
 • 市區 (2006)10,142,983
 • 市區密度3,725人/平方公里(9,648人/平方英里)
 • 都會區 (2006)11,769,433
 • 都會區密度811人/平方公里(2,100人/平方英里)
居民稱謂Parisian (英語)
parisien(ne) (法語)
時區CETUTC+01:00
 • 夏時制CESTUTC+02:00
郵政編碼75001-75020, 75116
INSEE75056
網站www.paris.fr
1法國統計部門在計算土地面積時,不計算面積大於1平方公里的湖泊、池塘、冰川和河口。 2人口不重複計算」:擁有多重居住地的居民(如:學生和軍人)僅計算一次。
{{Infobox French commune
| name = 巴黎
| native name = Paris
| population_demonym = Parisian ([[英语]])<br />parisien(ne) ([[法语]])
| commune status = [[市镇 (法国)|市镇]] / [[省 (法国)|省]]
| total type =
| image = Panorama Paris December 2007.jpg
| caption = [[艾菲爾鐵塔]](前景)和[[拉德芳斯]]商业区的摩天大楼(背景)。
| 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 = ''[[巴黎市徽|市徽]]''<br />{{nowrap|([[拉丁语]]: 她被海浪抛却未沉没)}}
| coordinates = {{coord|48.856667|2.350833|format=dms}}
| mayor = [[贝特朗·德拉诺埃]]
| party = [[社会党 (法国)|社会党]]
| term = 2008–2014
| subdivisions entry = [[行政区划]]
| subdivisions = [[巴黎区份|区]]
| area km2 = 105.4
| area footnotes = <ref name="area">[http://www.statistiques-locales.insee.fr/Fiches%5CRS%5CDEP%5C75%5CCOM%5CRS_COM75056.pdf INSEE当地统计],包括[[布洛涅林苑]]与[[文森森林]]。</ref>
| population date = 2009年1月1日估计<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 = 法国第1名
| 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
  1. ^ INSEE INSEE當地統計,包括布洛涅林苑文森森林
  2. ^ La population par arrondissement de 1990 à 2009. Mairie de Paris. 2009-01-01 [2009-07-09] (French). 
  3. ^ Populations légales 2019. 法國國家統計與經濟研究所. 2023年4月27日. 

TemplateData

Wikipedia:模板數據 documentation used by Wikipedia:可視化編輯器 and other tools

Infobox French commune模板資料

沒有描述。

模板參數

參數描述類型狀態
Namename

English name of location

預設
Article Name
字串非必填
Native Namenative name

Native name of the location

字串非必填
Commune Statuscommune status

Fill to show sub-banner: eg. Type of settlement (City, Commune, Municipality)

字串非必填
Total Typetotal type

Fill to show Area/Population totals next to 'total type' value ''below'' Area/Population in each section line (normally on same line)

字串非必填
Image Flagimage flag

Image of the flag of commune

頁面名稱非必填
Image flag sizeimage flag size

Size of image of the flag of commune

非必填
City Mottocity motto

Motto of the city

字串非必填
Imageimage

Image of the place or any notable landmark

頁面名稱非必填
Captioncaption

Caption for the image

字串非必填
Mapmap

For overseas locations, provide an image for the map

頁面名稱非必填
Timezonetimezone

Timezone of the commune

字串非必填
Coordinatescoordinates

Coordinates of the location using {{coord}}

字串必填
Arrondissementarrondissement

The Arrondissement to which the location belongs

字串必填
Intercommunalityintercommunality

Intercommunality of the commune

字串必填
Mayormayor

Mayor of the commune

字串非必填
Termterm

The governing period of the mayor. Do not add references here, you can add these in the "mayor" parameter.

非必填
Elevation(meters)elevation m

Average elevation of commune above sea level in meters

數值非必填
Minimum Elevation(meters)elevation min m

Minimum elevation of the commune in meters

數值非必填
Maximum Elevation(meters)elevation max m

Maximum elevation of the commune in meters

數值非必填
Area (square km)area km2

Area of the commune in square kilometers

數值非必填
Populationpopulation

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 Datepopulation date

Date (year) on which population was counted

非必填
INSEEINSEE insee

INSEE code for the commune

數值必填
Postal codepostal code

Postal Code of the commune

數值非必填
Websitewebsite

Official website of the commune

字串非必填
Cantoncanton

沒有描述

字串非必填
image sizeimage size

沒有描述

不明非必填
flag linkflag link flag_link

沒有描述

不明非必填
image coat of armsimage coat of arms

Image of coat of arms of commune.

不明非必填
image coat of arms sizeimage coat of arms size

Size of image of coat of arms of commune

不明非必填
shield_linkshield_link

沒有描述

不明非必填
adjustable mapadjustable map

沒有描述

不明非必填
map sizemap size

沒有描述

不明非必填
map captionmap caption

沒有描述

不明非必填
provinceprovince

Used for places in New Caledonia

字串非必填
subdivisions entrysubdivisions entry

沒有描述

不明非必填
subdivisionssubdivisions

沒有描述

不明非必填
partyparty

沒有描述

不明非必填
area footnotesarea footnotes

沒有描述

不明非必填
urban popurban pop

Population of the (inner) urban area (''unité urbaine''). To be added to the central commune only

不明非必填
urban pop dateurban pop date

沒有描述

不明非必填
urban area dateurban area date

沒有描述

不明非必填
urban area km2urban area km2

沒有描述

不明非必填
metro area popmetro area pop

Population of the wider urban area (''aire urbaine''). To be added to the central commune only

不明非必填
metro area pop datemetro area pop date

沒有描述

不明非必填
metro area datemetro area date

沒有描述

不明非必填
metro area km2metro area km2

沒有描述

不明非必填
population footnotespopulation footnotes

沒有描述

不明非必填
population rankingpopulation ranking

沒有描述

不明非必填
population demonympopulation demonym demonym population_demonym

沒有描述

字串非必填
demonymdemonym

沒有描述

不明非必填
ethnicethnic

沒有描述

不明非必填
ethnic dateethnic date

沒有描述

不明非必填
time zonetime zone timezone

Name of the time zone

不明不建議使用
utc offsetutc offset utc_offset

Only for French Polynesia, for other places the time zone is derived from the INSEE code

不明非必填
time zone DSTtime zone DST time_zone_DST timezone_DST

沒有描述

字串不建議使用
utc offset DSTutc offset DST utc_offset_DST

沒有描述

不明不建議使用
dialling codedialling code

沒有描述

不明非必填
elevation footnoteselevation footnotes

沒有描述

不明非必填
footnotesfootnotes

沒有描述

不明非必填
map dot labelmap dot label

沒有描述

不明非必填
common namecommon name

沒有描述

不明非必填
Departmentdepartment

沒有描述

字串不建議使用
communecommune

Used for places that are part of a commune

字串非必填
typetype

Used for places that are part of a commune.

預設
Part
字串非必填
regionregion

沒有描述

不明不建議使用
administrative subdivisionadministrative subdivision

Used for places in French Polynesia

不明非必填

Microformat

該模板使用了hCard微格式標記,被標記的地名和位置可以被計算機讀取,以便自動對文章進行分類,或者通過專門的閱讀器獲得信息,以及把信息加入到地址簿。詳情請見維基百科:微格式專題

hCard使用的HTML class包括:

  • "adr"
  • "county-name"
  • "fn"
  • "label"
  • "locality"
  • "nickname"
  • "note"
  • "org"
  • "vcard"

請勿將這些class更名或刪除!

Tracking category

See also


例子

弗勒蘭吉安
Frelinghien
 法國市鎮
國家 法國
大區 上法蘭西大區
 諾爾省
里爾區
社區里爾城
政府
 • 市長 (2008年-2014年) Michel Pacaux
面積1
 • 市鎮11.27 平方公里(4.35 平方英里)
人口(1999年)[1]
 • 市鎮2,395人
 • 密度213人/平方公里(550人/平方英里)
時區CETUTC+01:00
 • 夏時制CESTUTC+02:00
郵政編碼59236
INSEE59252
省級選區阿爾芒蒂耶爾
海拔14—20米(46—66英尺)
(平均:17米)
1法國統計部門在計算土地面積時,不計算面積大於1平方公里的湖泊、池塘、冰川和河口。 2人口不重複計算」:擁有多重居住地的居民(如:學生和軍人)僅計算一次。

原始碼是:

{{Infobox French commune
|name = 弗勒蘭吉安
|native name=Frelinghien
|region = [[北部-加來海峽]]
|department = 諾爾省
|arrondissement = 里爾
|canton = 阿爾芒蒂耶爾
|INSEE = 59252
|postal code = 59236
|mayor = Michel Pacaux
|term = 2008年-2014年
|intercommunality = [[里爾大都會城市共同體|里爾城]]
|longitude = 2.935
|latitude = 50.7125
|elevation m = 18
|elevation min m = 14
|elevation max m = 20
|area km2 = 11.27
|population = 2395
|population date = 1999年
}}
  1. ^ Populations légales 2019. 法國國家統計與經濟研究所. 2023年4月27日.