本模板為英國地區信息框模板,專門用於英國的人類居住區。
此模板使用Lua语言: |
本模板使用以下模板样式: |
英文維基百科的“Examples”頁面提供了一些使用範例。
{{Infobox UK place | official_name = | 中文名 = | local_name = 英文名称请填入此处 | country = | crown_dependency = | region = | region1 = | static_image = | static_image_name = | static_image_width = | static_image_caption = | static_image_alt = | static_image_2 = | static_image_2_name = | static_image_2_width = | static_image_2_caption = | static_image_2_alt = | area_total_sq_mi = | area_total_km2 = | area_footnotes= | population = | population_ref = | population_density = | os_grid_reference = | map_type = | map_alt = | longitude = | latitude = | label_position = | scale = | post_town = | post_town1 = | post_town2 = | postcode_area = | postcode_area1 = | postcode_area2 = | postcode_district = | postcode_district1 = | postcode_district2 = | dial_code = | dial_code1 = | dial_code2 = | constituency_westminster = | constituency_westminster1 = | constituency_westminster2 = | constituency_westminster3 = | civil_parish = | civil_parish1 = | london_distance_mi = | london_distance_km = | london_distance = | london_direction = | belfast_distance_mi = | belfast_distance_km = | belfast_distance = | belfast_direction = | cardiff_distance_mi = | cardiff_distance_km = | cardiff_distance = | cardiff_direction = | dublin_distance_mi = | dublin_distance_km = | dublin_distance = | dublin_direction = | edinburgh_distance_mi = | edinburgh_distance_km = | edinburgh_distance = | edinburgh_direction = | douglas_distance_mi = | douglas_distance_km = | douglas_distance = | douglas_direction = | charingX_distance_mi = | charingX_distance_km = | charingX_distance = | charingX_direction = | gaelic_name = | scots_name = | unitary_scotland = | unitary_scotland1 = | lieutenancy_scotland = | lieutenancy_scotland1 = | constituency_scottish_parliament = | constituency_scottish_parliament1 = | constituency_scottish_parliament2 = | welsh_name = | community_wales = | unitary_wales = | unitary_wales1 = | lieutenancy_wales = | lieutenancy_wales1 = | constituency_welsh_assembly = | constituency_welsh_assembly1 = | constituency_welsh_assembly2 = | irish_name = | irish_grid_reference = | unitary_northern_ireland = | unitary_northern_ireland1 = | unitary_northern_ireland2 = | lieutenancy_northern_ireland = | lieutenancy_northern_ireland1 = | lieutenancy_northern_ireland2 = | constituency_ni_assembly = | constituency_ni_assembly1 = | manx_name = | manx_parish = | manx_shedding = | constituency_manx_parliament = | metropolitan_borough = | metropolitan_borough1 = | metropolitan_county = | metropolitan_county1 = | shire_district = | shire_district1 = | shire_county = | shire_county1 = | unitary_england = | unitary_england1 = | lieutenancy_england = | lieutenancy_england1 = | london_borough = | london_borough1 = | london_borough2 = | london_borough3 = | london_borough4 = | cornish_name = | other_language_name = | other_language = | language = | language1 = | language2 = | website = | hide_services = }}
功能 | 必填參數 |
---|---|
基本功能 | |
地圖 |
|
緊急服務 | 可用“hide_services=yes”隱藏此項
|
郵政 | |
歐洲議會選區 |
|
倫敦議會選區 |
|
頁尾列表(此項已停用) |
|
以下內容一般需要填入 |
---|
可選功能 | 必填字段 |
---|---|
Other language names | gaelic_name 或 scots_name 或 welsh_name 或 irish_name 或 cornish_name 或 manx_name |
Any other language name | other_language 和 other_language_name
|
Languages spoken | language |
Static image(s) |
|
Map label position |
|
Area |
|
Population figures | |
Distance from capitals | 用“belfast”“cardiff”“douglas”“dublin”“edinburgh”或“london”代替“
|
Distance within London | 與上述的“Distance from capitals”相同 |
Civil parish 或 Community |
|
Website link |
|
跨過邊界的地方 |
---|
很多地點橫跨數個郵鎮、選區或其他地區。當這種情況發生時,使用其自身所在區域:
|
本模板產生的HTML記號包含了HCard 微格式,能夠讓電腦解析地點名稱和位置,具有可自動將文章分類至適當類別的功能。在HCard中有Geo微格式,能讓電腦分析经纬度資料,因此可在地圖上查詢,或下載至全球定位系统(GPS)裝置。關於微格式的更多使用資訊,請參閱維基百科的微格式專題。
hCard 使用以下的 HTML class:
adr
county-name
fn
label
locality
nickname
note
org
Geo由{{coord}}產生,並使用以下的HTML class:
geo
latitude
longtitude
请勿将这些class更名或删除。
當指定經緯度數值時,請避免太過詳細。
上述文档嵌入自Template:Infobox UK place/doc。 (编辑 | 历史) 编者可以在本模板的沙盒 (创建 | 镜像)和测试样例 (创建)页面进行实验。 请在/doc子页面中添加分类。本模板的子页面。 |