跳至內容

模板:Infobox park/doc

維基百科,自由的百科全書

本模版用於各種公園、自然保護區及花園。

對於歸入世界自然保護聯盟(IUCN)保護地分類的自然保護區,請使用{{Infobox protected area}}。對於中華人民共和國國家公園、國家森林公園、國家濕地公園等,請使用{{中國自然保護地}}。

用法

[編輯]
{{{name}}}
{{{alt_name}}}
[[File:{{{image}}}|{{{image_size}}}|alt={{{image_alt}}}|upright={{{upright}}}|{{{image_alt}}}]]
{{{caption}}}
基本資料
類型{{{type}}}
銘牌{{{motto}}}
國家/地區{{{country}}}
位置{{{location}}}
最近城鎮{{{nearest_city}}}
OS格網{{{grid_ref_UK}}}
OSI/OSNI格網{{{grid_ref_Ireland}}}
座標{{{coordinates}}}{{{coords_ref}}}
面積{{{area}}}
海拔高度{{{elevation}}}
前身{{{former}}}
認可{{{authorized}}}
關閉{{{closed}}}
創辦人{{{founder}}}
設計者{{{designer}}}
詞源{{{etymology}}}
所有者{{{owner}}}
行政管理者{{{administrator}}}
訪客數{{{visitation_num}}}({{{visitation_year}}}年){{{visitation_ref}}}
開放時間{{{open}}}
狀態{{{status}}}
獲獎{{{awards}}}
營地{{{camp_sites}}}
小徑{{{paths}}}
地域{{{terrain}}}
水域{{{water}}}
植被{{{vegetation}}}
物種{{{species}}}
群體{{{collections}}}
指定{{{designation}}}
威脅{{{disturbance}}}
預算{{{budget}}}
停車場{{{parking}}}
連接交通{{{transport}}}
設施{{{facilities}}}
{{{free_label}}}{{{free_data}}}
網站{{{website}}}
{{{embedded}}}

基本參數

[編輯]

將下列模板內容拷貝粘貼到你寫的頁面上。

{{Infobox park
| 名称       = 
| 图片       = 
| 图片说明   = 
| 地图       = 
| 坐标       = 
| 分类       = 
| 国家       =
| 地点       = 
| 海拔高度   = 
| 面积       = 
| 前身       = 
| 建造       = 
| 建立者     = 
| 行政管理者 = 
| 开放时间   = 
| 状态       = 
| 物种       = 
| 植物       = 
| 官方网站   = 
}}
{{Infobox park
| 名稱       = 
| 圖片       = 
| 圖片說明   = 
| 地圖       = 
| 坐標       = 
| 分類       = 
| 國家       =
| 地點       = 
| 海拔高度   = 
| 面積       = 
| 前身       = 
| 建造       = 
| 建立者     = 
| 行政管理者 = 
| 開放時間   = 
| 狀態       = 
| 物種       = 
| 植物       = 
| 官方網站   = 
}}
{{Infobox park
|name          = 
|image         = 
|image_size    = 
|alt           = 
|image_caption = 
|type          = 
|country       =
|location      = 
|coordinates   = {{Coord|NNNNN|NNNNN|type:landmark|display=inline,title}}
|locmapin      = 
|district_map  =
|map_width     = 
|map_caption   = 
|area          =
|opened        = {{Start date|YYYY}}
|operator      = 
|visitation_num = 
|status        =
|facilities    =
|parking       =
|transport     =
|website       =
}}

完整參數

[編輯]
{{Infobox park
| child = 
| name = 
| alt_name = 
| native_name = <!-- 根据其国家语系的名字,非拉丁字母系的外文名(如日文,韩文或俄文等)如果多于一个,请使用{{Plainlist}}和{{lang}}模板,并省略native_name_lang -->
| native_name_lang = <!-- 指明外文名之语系,以正确显示文字(如日文、韩文、俄文等)注意:是 ISO-639 语言代码,不是中文 -->
| image = 
| image_size = 
| upright = 
| image_alt = 
| caption = 
| location_map = 
| type = 
| motto = 
| country = 
| location = 
| nearest_city = 
| grid_ref_UK = 
| grid_ref_Ireland = 
| coordinates = <!-- 使用 {{Coord|display=inline,title}} -->
| coords_ref = 
| area = 
| elevation = 
| former = 
| authorized = 
| created = 
| established = 
| designated = 
| opening = 
| opened = 
| closed = 
| founder = 
| designer = 
| etymology = 
| owner = 
| administrator = 
| manager = 
| operator = 
| visitation_num = 
| visitation_year = 
| visitation_ref = 
| open = 
| status = 
| awards = 
| camp_sites = 
| paths = 
| hiking_trails = 
| terrain = 
| habitat = 
| water = 
| vegetation = 
| plants = 
| species = 
| collections = 
| designation = 
| disturbance = 
| budget = 
| parking = 
| transport = 
| publictransit = 
| facilities = 
| free_label = 
| free_data = 
| website = <!-- 使用 {{URL|example.com}} -->
| embedded = 
}}

參數說明

[編輯]
參數名稱 說明
name 公園名稱。它將顯示在信息框的頂部。在大多數情況下應與條目名稱相同。
alt_name 該參數可用於顯示全名(如果與name不同)或常用的別名。
native_name 用當地語言表示的名稱。如果不止一個,請使用{{native name list}}。
native_name_lang ISO 639-2語言代碼,如「fr 」表示法語。如果不止一個,請使用{{native name list}}代替。
image 要顯示的圖像文件的名稱。僅文件名即可,不需要特殊的格式。
image_size 圖像大小。默認為250px,最大為325px。橫幅照片該參數留空即可獲得良好的顯示效果,而豎幅照片可能需要調整為180px或更小。
image_alt 圖像的替代文本,供視障讀者使用。參見WP:ALT.
image_caption 圖像說明。
map 位置圖的名稱,參見{{Location map}}。
map_image 地圖圖像的文件名。
map_width 地圖大小。
map_alt 地圖的替代文本。參見WP:ALT
map_caption 地圖說明。對於位置圖可自動生成說明。
relief 指定任意值時,位置圖顯示為地形圖。
type 公園類型。
location 公園的位置,不必過度詳細。
motto
nearest_city
nearest_town
附近城鎮,如果該公園不在城市或城鎮內時使用。
grid_ref_UK 英國網格參考
grid_ref_Ireland 愛爾蘭網格參考
coordinates 坐標,使用{{coord}}模板,並推薦填寫|format=dms以及|display=inline,title
coords_ref 坐標的參考資料,使用 <ref>...</ref>標籤。
area 公園的面積,使用{{convert}}模板,常用公制單位為平方千米、公頃、平方米。
elevation 公園的海拔(如果值得記錄),使用{{convert}}模板
authorized
created
established
designated
opened
opening
公園創建日期,使用{{start date}}。
  • authorized→認可
  • created→建造
  • established→建立
  • designated→指定
  • opened→落成
  • opening→開放
closed 公園關閉或撤銷的日期。
founder 創辦人。
designer 設計者。
etymology 公園名稱的詞源。應該非常簡短,詳細說明請放在條目正文中。
owner 所有者。
administrator
manager
operator
  • administrator→行政管理者
  • manager→管理者
  • operator→營運者
visitation_num 最近一年的遊客人數。
visitation_year 統計遊客人數的年份。
visitation_ref 遊客人數的參考資料,使用 <ref>...</ref>標籤。
open 公園開放的時間。
status 公園的現狀。例如「修繕中」。
awards 公園獲得的獎項,例如英國的綠旗獎。
camp_sites 營地。
hiking_trails
paths
步道。
terrain
habitat
地形或棲息地的類型。
water 水域
plants
vegetation
植被
species 物種
collections
designation 指定
disturbance 公園面臨的威脅,如伐木、城市開發。
budget 業主/運營商的年度支出計劃。
parking 公園停車設施的信息(如停車位或停車場的數量)。
publictransit
transport
最近的公共交通站。
free_label 可定製的標籤。
free_data free_label一起使用的數據字段。
other_info
facilities
website 官方網站,使用{{URL}}。
embedded 用於在該模板中嵌入另一個模板。
child 用於將此模板嵌入到另一個模板中。

示例

[編輯]
頤和園
City lake, about 200 m in diameter, with a fountain in the center that shoots water about 25 m high. A few small pleasure craft are in the lake. In the background are trees and buildings.
頤和園
基本資料
類型公共公園
位置北京海淀區
座標39°59′51.00″N 116°16′8.04″E / 39.9975000°N 116.2689000°E / 39.9975000; 116.2689000
面積100公頃
開放2000年
營運者Townsville city council
訪客數1,000,000
狀態全年開放
網站www.example.net
地圖
Infobox park/doc在北京的位置
Infobox park/doc
在北京市的位置
地圖

右邊的例子就使用了下面的代碼。

{{Infobox park
|name          = 颐和园
|image         = Marble Boat 4017.jpg
|image_size    = 200
|alt           = City lake, about 200 m in diameter, with a fountain in the center that shoots water about 25 m high. A few small pleasure craft are in the lake. In the background are trees and buildings.
|image_caption = 頤和園
|type          = 公共公園
|location      = [[北京]]海淀區
|coordinates   = {{coord|39|59|51.00|N|116|16|8.04|E|type:landmark|display=inline}}
|locmapin      = China Beijing
|map_width     = 200
|map_caption   = 在北京市的位置
|area          = 100公頃
|opened        = 2000年
|operator      = Townsville city council
|visitation_num = 1,000,000
|status        = 全年開放
|website       = [http://www.example.net www.example.net]
}}

模板數據

[編輯]
模板數據
以下是該模板的模板資料,適用於視覺化編輯器等工具。

Infobox park模板資料

本模版用於各種公園、自然保護區及花園。

模板參數

此模板以參數區塊格式為優先。

參數描述類型狀態
是否嵌入child embed

沒有描述

布林值非必填
名稱name 名稱 名稱

公園名稱。它將顯示在信息框的頂部。在大多數情況下應與條目名稱相同。

建議
別名alt_name 別名 other_name 別名

該參數可用於顯示全名(如果與name不同)或常用的別名。

非必填
原文名native_name 原名

用當地語言表示的名稱。如果不止一個,請使用{{native name list}}。

非必填
原文名語言native_name_lang

ISO 639-2語言代碼,如「fr 」表示法語。如果不止一個,請使用{{native name list}}代替。

非必填
標誌logo

沒有描述

檔案非必填
標誌大小logo_size

沒有描述

非必填
標誌縮放logo_upright

沒有描述

非必填
標誌替代文字logo_alt

沒有描述

非必填
標誌說明logo_caption

沒有描述

非必填
圖像image 圖片 圖片 photo

要顯示的圖像文件的名稱。僅文件名即可,不需要特殊的格式。

檔案建議
qidqid

沒有描述

非必填
圖像大小image_size photo_width 圖片大小 圖片大小 圖片尺寸

圖像大小。默認為250px,最大為325px。橫幅照片該參數留空即可獲得良好的顯示效果,而豎幅照片可能需要調整為180px或更小。

預設
250px
非必填
圖像縮放upright

沒有描述

非必填
圖像替代文字image_alt photo_alt alt

圖像的替代文本,供視障讀者使用。參見WP:ALT.

非必填
圖像說明caption image_caption photo_caption 圖片說明 圖片說明

圖像說明。

建議
地圖圖像image_map map_image

地圖圖像的文件名。

檔案非必填
地圖圖像大小map_size 地圖尺寸 地圖尺寸

地圖大小。

非必填
地圖圖像替代文字map_alt

地圖的替代文本。參見WP:ALT。

非必填
地圖圖像說明map_caption 地圖說明 地圖說明 pushpin_map_caption

地圖說明。對於位置圖可自動生成說明。

非必填
類型type 分類 分類 類型 類型

公園類型。

建議
銘牌motto 銘牌 銘牌

沒有描述

非必填
國家/地區country 國家 國家

沒有描述

非必填
位置location 地點 地點

公園的位置,不必過度詳細。

建議
最近城鎮nearest_city nearest_town

附近城鎮,如果該公園不在城市或城鎮內時使用。

非必填
OS格網grid_ref_UK

沒有描述

非必填
OSI/OSNI格網grid_ref_Ireland

沒有描述

非必填
坐標coordinates 坐標 坐標 coords 座標 經緯度

坐標,使用{{coord}}模板,並推薦填寫|format=dms以及|display=inline,title。

模板建議
坐標參考資料coords_ref

坐標的參考資料,使用 <ref>...</ref>標籤。

非必填
面積area 面積 面積

公園的面積,使用{{convert}}模板,常用公制單位為平方千米、公頃、平方米。

建議
海拔高度elevation 海拔高度

公園的海拔(如果值得記錄),使用{{convert}}模板

非必填
前身former 前身

沒有描述

非必填
認可時間authorized 認可 認可

公園創建日期,使用{{start date}}。

非必填
建造時間created 建造

沒有描述

非必填
建立時間established 設立時間 設立時間

沒有描述

非必填
指定時間designated 指定

沒有描述

非必填
落成時間opening 落成 建成

沒有描述

非必填
開放時間opened 開放 開放

沒有描述

非必填
關閉時間closed 關閉 關閉

公園關閉或撤銷的日期。

非必填
創辦人founder 創辦人 創辦人 建立者

沒有描述

非必填
設計者designer 建築師 建築師 設計者 設計者

沒有描述

非必填
詞源etymology

公園名稱的詞源。應該非常簡短,詳細說明請放在條目正文中。

非必填
所有者owner 持有者

沒有描述

非必填
行政管理者administrator 行政管理者

沒有描述

非必填
管理者manager 管理者

沒有描述

非必填
營運者operator 營運者 營運者

沒有描述

非必填
訪客數visitation_num 年遊客數 年遊客數 visitors

最近一年的遊客人數。

非必填
訪客數年份visitation_year

統計遊客人數的年份。

數值非必填
訪客數參考資料visitation_ref

遊客人數的參考資料,使用 <ref>...</ref>標籤。

非必填
開放時間open 開放時間 開放時間

公園開放的時間。

非必填
狀態status 狀態 狀態

公園的現狀。例如「修繕中」。

非必填
獲獎awards 獲獎 獲獎

公園獲得的獎項,例如英國的綠旗獎。

非必填
營地camp_sites 營地 營地

沒有描述

非必填
小徑paths

沒有描述

非必填
健行步道hiking_trails

沒有描述

非必填
地域terrain

沒有描述

非必填
棲息地habitat

沒有描述

非必填
水域water 水域

沒有描述

非必填
植被vegetation

沒有描述

非必填
植物plants

沒有描述

非必填
物種species 物種 物種

沒有描述

非必填
群體collections 群體 群體

沒有描述

非必填
指定designation

沒有描述

非必填
威脅disturbance 騷亂 騷亂

公園面臨的威脅,如伐木、城市開發。

非必填
預算budget 預算 預算

業主/運營商的年度支出計劃。

非必填
停車場parking 停車場 停車場 parking_lot

公園停車設施的信息(如停車位或停車場的數量)。

非必填
連接交通transport 交通方式

沒有描述

非必填
公共交通publictransit

沒有描述

非必填
設施facilities

沒有描述

非必填
自定義標籤free_label

沒有描述

非必填
自定義內容free_data

沒有描述

非必填
備註other_info 備註 備註

沒有描述

非必填
網站website 官方網站 官方網站

官方網站,使用{{URL}}。

非必填
嵌入module embedded

用於在該模板中嵌入另一個模板。

模板非必填
mapframemapframe

沒有描述

非必填
地圖標籤map_label

沒有描述

非必填
位置圖location_map map_type 地圖 地圖 map locmapin

位置圖的名稱,參見{{Location map}}。

非必填
位置圖大小map_width

沒有描述

數值非必填
map_reliefmap_relief relief

指定任意值時,位置圖顯示為地形圖。

布林值非必填
mapframe-custommapframe-custom

沒有描述

非必填
mapframe-zoommapframe-zoom

沒有描述

數值非必填
mapframe-widthmapframe-width

沒有描述

數值非必填
mapframe-heightmapframe-height

沒有描述

數值非必填
mapframe-stroke-colormapframe-stroke-color

沒有描述

非必填
mapframe-stroke-colourmapframe-stroke-colour

沒有描述

非必填
mapframe-stroke-widthmapframe-stroke-width

沒有描述

數值非必填
mapframe-markermapframe-marker

沒有描述

非必填
mapframe-marker-colormapframe-marker-color

沒有描述

非必填
mapframe-marker-colourmapframe-marker-colour

沒有描述

非必填
mapframe-latmapframe-lat

沒有描述

非必填
mapframe-latitudemapframe-latitude

沒有描述

非必填
mapframe-longmapframe-long

沒有描述

非必填
mapframe-longitudemapframe-longitude

沒有描述

非必填

微格式

[編輯]

本模板產生的HTML記號包含了HCard 微格式,能夠讓電腦解析地點名稱和位置,具有可自動將文章分類至適當類別的功能。在HCard中有Geo微格式,能讓電腦分析經緯度資料,因此可在地圖上查詢,或下載至全球定位系統(GPS)裝置。關於微格式的更多使用資訊,請參閱維基百科的微格式專題

hCard 使用以下的 HTML class:

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

Geo由{{coord}}產生,並使用以下的HTML class:

  • geo
  • latitude
  • longtitude

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

當指定經緯度數值時,請避免太過詳細。

追蹤分類

[編輯]