Template:Infobox Settlement
ナビゲーションに移動
検索に移動
![]() | このテンプレートは16,000以上のページで使われています。 余計な混乱やサーバーへの負荷を避けるために、どんな変更でも最初はテンプレートのサンドボックス・サブページ、テストケース・サブページもしくはあなた自身の利用者スペースのページで試すべきです。そうすれば、試した変更を1度の編集でこのテンプレートに加えることができます。しかし、最初にあなたの提案した変更を、この項目のノートで議論するようにお願いします。 |
![]() | このテンプレートの記述は複雑な構成となっています。編集後の結果が予想できないか、または変更にともなう影響を修正する用意ができていない場合は編集をお控えください。練習や実験はテンプレートのサンドボックス・サブページ、テストケース・サブページもしくはあなた自身の利用者スペースのページでお願いします。 |
![]() | Luaモジュールを使用しています: |
このテンプレートは、行政区画(都市、町、村、コミュニティ等)の記事でInfoboxを生成するためのテンプレートであり、主に英語版からの翻訳で使われます。汎用性が高いためサイズが大きく無駄になる引数もあり、生成される表示が妥当では無い場合もあります。Category:行政区画の基礎情報テンプレート以下に該当するテンプレートが存在する場合は、そちらに置き換えて下さい。
使用方法
- 注意:数値は必ずコンマやスペースなしで入力してください。脚注は数値の引数ではなく、専用の引数に入力してください。このテンプレートは入力された数値を自動的に整形するので、整形されない数値がある場合はTemplate‐ノート:Infobox Settlementにて提起してください。
- 座標を入力する場合、全ての座標引数を入力してください。
* 全項目リスト - 質問はノートへ - 右の表示で表示されます。
* 基本項目リスト - 質問はノートへ - 右の表示で表示されます。
引数の名前と説明
名称と翻字 | ||
---|---|---|
引数 | 既定値 | 説明 |
name | 任意の文字列 | 日本語での一般的な名称。既定ではページ名を使用します |
official_name | 任意の文字列 | 日本語での公式名称。 |
other_name | 任意の文字列 | 以前の名称や知名度の高い名称が必要であれば記入してください。 例:ボンベイ(ムンバイ)、サイゴン(ホーチミン市) |
native_name | 任意の文字列 | 公用語での表記。 |
settlement_type | 任意の文字列 | 行政区画の種類。市(シティ)、町、村、ハムレット、ミュニシパリティ、リザベーション、その他どんな種類でも記入できます。If set, will be displayed under the names, provided that name is filled in. Might also be used as a label for total population/area (defaulting to City), if needed to distinguish from Urban or Metro (if urban and metro figures are not present, the label is Total unless total_type is set). |
total_type | 任意の文字列 | グレーター・ロンドンのような非標準ラベルで全体の総面積と人口を表示させるのに使います。This overrides other labels for total population/area. For no label, can be set to (this precise value also causes the total population to be displayed on the same line as the word Population). |
nickname | 任意の文字列 | 自治体の愛称を記入してください。 |
motto | 任意の文字列 | 自治体の標語を記入してください。 |
翻字 | ||
translit_lang1 | 任意の文字列 | 自治体の名称を翻字したものを記入してください。 |
translit_lang1_type | 任意の文字列 | |
translit_lang1_info | 任意の文字列 | |
translit_lang2 | 任意の文字列 | |
translit_lang2_type | 任意の文字列 | |
translit_lang2_info | 任意の文字列 | |
画像 | ||
引数 | 既定値 | 説明 |
風景の画像 | ||
image_skyline | 任意の文字列 | 自治体を代表する建物(庁舎など)や街の俯瞰などの画像を指定してください。 |
imagesize | 任意の文字列 | image_skylineのサイズを指定してください。既定値は250pxです。 |
image_caption | 任意の文字列 | image_skylineの表題を記入してください。 |
旗の画像 | ||
image_flag | 任意の文字列 | 自治体の旗の画像を指定してください。 |
flag_size | 任意の文字列 | 旗の画像のサイズを指定してください。既定値は100pxです。 |
flag_link | 任意の文字列 | |
印章の画像 | ||
image_seal | 任意の文字列 | 自治体の印章の画像を指定してください。 |
seal_size | 任意の文字列 | 印章の画像のサイズを指定してください。既定値は100pxです。 |
seal_link | 任意の文字列 | |
紋章の画像 | ||
image_shield | 任意の文字列 | 自治体の紋章の画像を指定してください。 |
shield_size | 任意の文字列 | 紋章の画像のサイズを指定してください。既定値は100pxです。 |
shield_link | 任意の文字列 | 紋章の記事があれば、記事名を記入することでリンクされます。 |
ロゴなどの画像 | ||
image_blank_emblem | 任意の文字列 | 自治体のロゴなどの画像を指定してください。 |
blank_emblem_type | 任意の文字列 | image_blank_emblemの種類を指定してください。既定値は「ロゴ」です。 |
blank_emblem_size | 任意の文字列 | image_blank_emblemのサイズを指定してください。既定値は100pxです。 |
blank_emblem_link | 任意の文字列 | |
地図 | ||
引数 | 既定値 | 説明 |
image_map | 任意の文字列 | 自治体の位置を示した地図の画像を指定してください。 |
mapsize | 任意の文字列 | 地図の画像のサイズを指定してください。既定値は250pxです。 |
map_caption | 任意の文字列 | 地図の画像の表題を記入してください。 |
image_map1 | 任意の文字列 | 2つ目の地図の画像を指定してください。 |
mapsize1 | 任意の文字列 | |
map_caption1 | 任意の文字列 | |
pushpin_map | 任意の文字列 | The name of a location map as per Template:Location map (eg. Indonesia or Russia). The coordinate fields (eg. latd and longd) position a pushpin coordinate marker and label on the map automatically. Example see: Padang, Indonesia |
pushpin_label_position | 任意の文字列 | The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is right. |
pushpin_mapsize | 任意の文字列 | Must be entered as only a number—no need for px. The default value is 200. |
pushpin_map_caption | 任意の文字列 | Fill out if a different caption from map_caption is desired. |
位置、区画、行政、設立の情報 | ||
引数 | 既定値 | 説明 |
subdivision_type | 任意の文字列 | 例:[[国の一覧|国]] と記入してください。 |
subdivision_name | 任意の文字列 | 国名をWikipedia:Template国名3レターコードで記入してください。 例:{{flag|JPN}} |
subdivision_type1 to subdivision_type4 |
任意の文字列 | 行政区画の種類を記入してください。例:州、県、郡 (日本の場合)[[都道府県]]、[[市町村]] |
subdivision_name1 to subdivision_name4 |
任意の文字列 | 自治体が属する行政区画の名称を記入してください。 例:東京都 |
seat_type | 任意の文字列 | 行政中心地の名称、標準では庁舎 例:都庁 |
seat | 任意の文字列 | 所在地 例:新宿区 |
parts_type | 任意の文字列 | The label for the smaller subdivisions (defaults to Boroughs). |
parts_style | 任意の文字列 | Set to list to display as a collapsible list, coll as a collapsed list, or para to use paragraph style. Default is list for up to 5 items, otherwise coll. |
parts | 任意の文字列 | Text or header of the list of smaller subdivisions. |
p1, p2, etc. | 任意の文字列 | (maximum p50) The smaller subdivisions to be listed. Example: Springfield |
government_footnotes | 任意の文字列 | If a reference(s) is available this where to put them using the <ref> </ref> tags and possibly the citing format at {{Cite web}} within the ref tags. |
government_type | 任意の文字列 | |
leader_party | 任意の文字列 | 自治体の首長の政党名を記入してください。 |
leader_title | 任意の文字列 | 自治体の首長の役職名を記入してください。 例:市長 |
leader_name | 任意の文字列 | 自治体の首長の名前を記入してください。 |
leader_title1 to leader_title4 |
任意の文字列 | |
leader_name1 to leader_name4 |
任意の文字列 | For long lists use {{Collapsible list}}. See Halifax for an example. |
established_title | 任意の文字列 | Example: First settled |
established_date | 任意の文字列 | |
established_title1 | 任意の文字列 | Example: Incorporated (town) |
established_date1 | 任意の文字列 | |
established_title2 | 任意の文字列 | Example: Incorporated (city) |
established_date2 | 任意の文字列 | |
established_title3 | 任意の文字列 | |
established_date3 | 任意の文字列 | |
founder | 任意の文字列 | The name of the settlement's founder |
named_for | 任意の文字列 | The source of the name of the settlement (a person, a place, et cetera) |
地理情報 | ||
These fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they should enter both values in their respective fields. | ||
引数 | 既定値 | 説明 |
unit_pref | 任意の文字列 | 通常、面積などは”メートル法表記(ヤード・ポンド法表記)”のように表示されますが、これを”ヤード・ポンド法表記(メートル法表記)”という表示に変換したい場合は "imperial" と指定してください。 ただし、subdivision_nameにアメリカ合衆国やイギリスを({{USA}},{{GBR}}のように)指定している場合、自動的に変換されます。 全ての値には、コンマ、スペース、単位を入れないでください。 |
area_footnotes | 任意の文字列 | <ref> </ref>タグで囲まれた{{Cite web}}など、面積の出典はこちらに記入してください。 |
area_magnitude | 任意の文字列 | Area magnitude of total_area in terms of m2. Should enter 1 E+6 for area of 1.0 km2. See 1 E+6 m2 |
area_total_dunam | 任意の文字列 | Total area in dunams, which is wiki-linked. Used in middle eastern places like Israel, Gaza, and the West Bank. Value must be entered in raw format, no commas or spaces. Auto-converted to display square kilometers and square miles if area_total_km2 and area_total_sq_mi are empty. Examples: Gaza and Ramallah |
area_total_km2 | 任意の文字列 | 面積 の数値を記入して下さい。 単位はkm²。 area_total_sq_miと相互に自動で単位変換されます。 Deprecated name =area_total |
area_land_km2 | 任意の文字列 | Land area in square kilometers—symbol: km2. Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_land_sq_mi is empty. Deprecated name =area_land |
area_water_km2 | 任意の文字列 | Water area in square kilometers—symbol: km2. Value must be entered in raw format, no comms or spaces. Auto-converted to display square miles if area_water_sq_mi is empty. Deprecated name =area_water |
area_total_sq_mi | 任意の文字列 | Total area in square miles—symbol: sq mi, which is wiki-linked. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_total_km2 is empty. Deprecated name =TotalArea_sq_mi |
area_land_sq_mi | 任意の文字列 | Land area in square miles—symbol: sq mi. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_land_km2 is empty. Deprecated name =LandArea_sq_mi |
area_water_sq_mi | 任意の文字列 | Water area in square miles—symbol: sq mi. Value must be entered in raw format, no comms or spaces. Auto-converted to display square kilometers if area_water_km2 is empty. Deprecated name =WaterArea_sq_mi |
area_water_percent | 任意の文字列 | percent of water without the "%" |
area_urban_km2 | 任意の文字列 | |
area_urban_sq_mi | 任意の文字列 | |
area_metro_km2 | 任意の文字列 | |
area_metro_sq_mi | 任意の文字列 | |
area_blank1_title | 任意の文字列 | Example see London |
area_blank1_km2 | 任意の文字列 | |
area_blank1_sq_mi | 任意の文字列 | |
area_blank2_title | 任意の文字列 | |
area_blank2_km2 | 任意の文字列 | |
area_blank2_sq_mi | 任意の文字列 | |
elevation_footnotes | 任意の文字列 | If reference(s) are available, this is where to put them, possibly using a citing format such as {{Cite web}}, within <ref> </ref> tags. |
elevation_m | 任意の文字列 | Raw number entered in meters. Will automatically convert to display elevation in feet if elevation_ft is empty. However, if a range in elevation (i.e. 5–50 m ) is desired, the editor must enter a converted range in the elevation_ft field to over-ride the automatic conversion. Deprecated name =elevation |
elevation_ft | 任意の文字列 | Raw number, entered in feet. Will automatically convert to display elevation in meters if elevation_m field is empty. However, if a range in elevation (i.e. 50–500 ft ) is desired, the editor must enter a converted range in the elevation_m field to over-ride the automatic conversion. |
elevation_max_m, elevation_max_ft, elevation_min_m, elevation_min_ft | 任意の文字列 | Used to give highest and/or lowest elevations, if available, instead of just a single value. Example: Halifax Regional Municipality |
coor_type | 任意の文字列 | If needed, to specify more exactly which coordinates are given (e.g. Town Hall). |
latd | 任意の文字列 | 緯度の「度」を整数で指定してください。小数で指定することもできますが、その場合は以下のlatm、lats、longm、longsの指定が無効となります。 |
latm | 任意の文字列 | 緯度の「分」を整数で指定してください。 |
lats | 任意の文字列 | 緯度の「秒」を整数か小数で指定してください。 |
latNS | 任意の文字列 | 北緯なら「N」、南緯なら「S」と記入してください。 |
longd | 任意の文字列 | 経度の「度」を整数で指定してください。 |
longm | 任意の文字列 | 経度の「分」を整数で指定してください。 |
longs | 任意の文字列 | 経度の「秒」を整数か小数で指定してください。 |
longEW | 任意の文字列 | 東経なら「E」、西経なら「W」と記入してください。 |
人口情報 | ||
The density fields have dual automatic unit conversion meaning that if only metric values are entered, the imperial values will be automatically converted and vice-versa. If an editor wishes to over-ride the automatic conversion, e.g. if the source gives both metric and imperial or if a range of values is needed, they can enter both values in their respective fields. To calculate density automatically, type auto in place of any density value. | ||
引数 | 既定値 | 説明 |
population_as_of | 任意の文字列 | 人口の統計日付を記入してください。 例:[[2013年]]([[平成]]25年)[[1月31日]]現在 |
population_footnotes | 任意の文字列 | <ref> </ref>タグで囲まれた{{Cite web}}など、人口の出典はこちらに記入してください。 |
population_total | 任意の文字列 | 人口 の数値を記入してください。 |
population_density_km2 | 任意の文字列 | 人口密度 - auto と記入してください。 population_total(人口) と area_total_km2(面積) が記入されると密度が自動計算されます。 単位は 人/km² で、population_density_sq_mi と相互に自動で単位変換されます。 |
population_density_sq_mi | 任意の文字列 | |
population_metro | 任意の文字列 | |
population_density_metro_km2 | 任意の文字列 | |
population_density_metro_sq_mi | 任意の文字列 | |
population_urban | 任意の文字列 | |
population_density_urban_km2 | 任意の文字列 | |
population_density_urban_sq_mi | 任意の文字列 | |
population_blank1_title | 任意の文字列 | 特定の地域の人口を表示します。 |
population_blank1 | 任意の文字列 | 人口 |
population_density_blank1_km2 | 任意の文字列 | 人口密度 |
population_density_blank1_sq_mi | 任意の文字列 | |
population_blank2_title | 任意の文字列 | blank1に同じ |
population_blank2 | 任意の文字列 | |
population_density_blank2_km2 | 任意の文字列 | |
population_density_blank2_sq_mi | 任意の文字列 | |
population_demonym | Not currently available | A demonym or gentilic is a word that denotes the members of a people or the inhabitants of a place. For example citizens in Liverpool are known as Liverpudlians. |
population_note | 任意の文字列 | A place for additional infomation such as the name of the source. See Windsor, Ontario for example. |
その他の情報 | ||
引数 | 既定値 | 説明 |
timezone | 任意の文字列 | 協定世界時(UTC)。 例:(日本の場合は) [[日本標準時|JST]] |
utc_offset | 任意の文字列 | タイムゾーンのオフセット数値。 例:(日本の場合は) [[UTC+9|+9]] |
timezone_DST | 任意の文字列 | 夏時間の協定世界時。 |
utc_offset_DST | 任意の文字列 | 夏時間タイムゾーンのオフセット数値。 |
postal_code_type | 任意の文字列 | 郵便番号やZIPコードなど、番号の種類を記入(日本の場合は [[郵便番号]] と記入)してください。 |
postal_code | 任意の文字列 | (日本の場合は郵便番号の)コード/番号/数値を記入してください。 例:100-0013 |
area_code | 任意の文字列 | 電話番号の市外局番を記入してください。例:03 |
registration_plate | 任意の文字列 | ナンバープレートの地域名を記入してください。 例:[[東京運輸支局|練馬]] |
blank_name | 任意の文字列 | 不足している情報を記載するための枠。情報の名前を記入してください。 |
blank_info | 任意の文字列 | 不足している情報を記載するための枠。情報の内容を記入してください。 |
blank1_name to blank6_name |
任意の文字列 | 不足している情報を記載するための枠です。6種類まで対応しています。 |
blank1_info to blank6_info |
任意の文字列 | |
twin1 to twin7 |
任意の文字列 | 姉妹都市名。 |
twin1_country to twin7_country |
任意の文字列 | その姉妹都市の属する国名。 |
footnotes | 任意の文字列 | この表に関する註釈。 |
website | 任意の文字列 | 自治体のウェブサイト。 |
使用例
日本語版例
英語版例
from en:Detroit, Michigan -- Note Pipe characters are in front of the line of cell data, instead of at the end of the line, which simplify the spacing:
{{Infobox Settlement |official_name = City of Detroit |nickname = Motor City, Motown, Rock City, The D |motto = "Speramus Meliora; Resurget Cineribus"<br />([[Latin]] for, "We Hope For Better Things; It Shall Rise From the Ashes") |image_skyline = DetroitSkyline.jpg |image_flag = Detroit flag.png |image_seal = Detroit Seal.png |image_map = Wayne County Michigan Incorporated and Unincorporated areas Detroit highlighted.svg |map_caption = Location in [[Wayne County, Michigan|Wayne County]], [[Michigan]] |subdivision_type = [[Countries of the world|Country]] |subdivision_type1 = [[U.S. state|State]] |subdivision_type2 = [[List of counties in Michigan|County]] |subdivision_name = [[United States]] |subdivision_name1 = [[Michigan]] |subdivision_name2 = [[Wayne County, Michigan|Wayne County]] |established_title = Founded |established_date = [[1701]] |established_title2 = Incorporation |established_date2 = [[1806]] |government_type = [[Mayor-council government|Strong Mayor-Council]] |leader_title =[[List of mayors of Detroit, Michigan|Mayor]] |leader_name =[[Kwame Kilpatrick]] (D) |area_magnitude = 1 E8 |area_total_sq_mi =143.0 |area_total_km2 = 370.2 |area_land_sq_mi = 138.8 |area_land_km2 = 359.4 |area_water_sq_mi = 4.2 |area_water_km2 = 10.8 |area_urban_sq_mi = 1295 |area_urban_km2 = 3354 |area_metro_km2 = 10135 |area_metro_sq_mi = 3913 |population_as_of=2006 |population_footnotes =<ref>{{cite web | url = http://www.census.gov/popest/estimates.php | title= US Census July 1, 2006 est}}</ref> |population_total = 871121 |population_urban = 3903377 |population_metro = 4468966 |population_density_sq_mi = 6856 |population_density_km2 = 2647 |timezone = [[Eastern Time Zone (North America)|EST]] |utc_offset = -5 |timezone_DST = [[Eastern Daylight Time|EDT]] |utc_offset_DST = -4 |latd = 42 | latm = 19 | lats = 53.76 | latNS = N |longd = 83 | longm = 2 | longs = 51 | longEW = W |coordinates_type = type:city_region:US |coordinates_display = inline,title |elevation_footnotes=<ref name=elevation>{{cite web | url ={{Gnis3|1617959}} | title=USGS detail on Detroit | accessdate=2007-02-18 }}</ref> |elevation_ft = 600 |elevation_m = 183 |website = http://www.detroitmi.gov |footnotes = }}
子テンプレート
このテンプレートには下記の子テンプレートがあります。
- {{Infobox Settlement/areadisp}}
- {{Infobox Settlement/densdisp}}
- {{Infobox Settlement/dunam}}
- {{Infobox Settlement/dunam/mag}}
- {{Infobox Settlement/impus}}
- {{Infobox Settlement/impus/mag}}
- {{Infobox Settlement/lengthdisp}}
- {{Infobox Settlement/link}}
- {{Infobox Settlement/metric}}
- {{Infobox Settlement/metric/mag}}
- {{Infobox Settlement/pref}}
追跡カテゴリ
- Category:テンプレート呼び出しエラーのあるページ/Template:Infobox Settlement/地域コード
- Category:テンプレート呼び出しエラーのあるページ/Template:Infobox Settlement/dot mapを使用しているページ
- Category:テンプレート呼び出しエラーのあるページ/Template:Infobox Settlement/image
- Category:テンプレート呼び出しエラーのあるページ/Template:Infobox Settlement/subdivision name
- Category:テンプレート呼び出しエラーのあるページ/Template:Infobox Settlement/不明な引数
この解説は、Template:Infobox Settlement/docから呼び出されています。 (編集 | 履歴) 編集者は、このテンプレートをサンドボックス (編集 | 差分)とテストケース (編集)で試すことができます。(解説) /docのサブページにカテゴリを追加してください。 このテンプレートのサブページ一覧。 |