跳转到内容

Template:Infobox park

被永久保护的模板
维基百科,自由的百科全书
文档图示 模板文档[查看] [编辑] [历史] [清除缓存]

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

对于归入世界自然保护联盟(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 用当地语言表示的名称。如果不止一个,请使用{{plainlist}}分隔。
native_name_lang ISO 639-2语言代码,如“fr ”表示法语。如果不止一个,请使用{{lang}}代替。
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在北京的位置
Infobox park
在北京市的位置
地图

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

{{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模板数据

无描述。

模板参数[编辑模板数据]

此模板首选参数换行的代码块格式。

参数描述类型状态
childchild embed

无描述

未知可选
namename 名稱 名称

无描述

未知可选
alt_namealt_name 別名 other_name 别名

无描述

未知可选
native_namenative_name 原名

无描述

未知可选
native_name_langnative_name_lang

无描述

未知可选
logologo

无描述

未知可选
logo_sizelogo_size

无描述

未知可选
logo_uprightlogo_upright

无描述

未知可选
logo_altlogo_alt

无描述

未知可选
logo_captionlogo_caption

无描述

未知可选
imageimage 圖片 图片 photo

无描述

未知可选
qidqid

无描述

未知可选
image_sizeimage_size photo_width 圖片大小 图片大小 圖片尺寸

无描述

未知可选
uprightupright

无描述

未知可选
image_altimage_alt photo_alt alt

无描述

未知可选
captioncaption image_caption photo_caption 圖片說明 图片说明

无描述

未知可选
image_mapimage_map map_image

无描述

未知可选
map_sizemap_size 地图尺寸 地圖尺寸

无描述

未知可选
map_altmap_alt

无描述

未知可选
map_captionmap_caption 地圖說明 地图说明 pushpin_map_caption

无描述

未知可选
typetype 分类 分類 类型 類型

无描述

未知可选
mottomotto 铭牌 銘牌

无描述

未知可选
countrycountry 國家 国家

无描述

未知可选
locationlocation 地點 地点

无描述

未知可选
nearest_citynearest_city nearest_town

无描述

未知可选
grid_ref_UKgrid_ref_UK

无描述

未知可选
grid_ref_Irelandgrid_ref_Ireland

无描述

未知可选
coordinatescoordinates 坐标 坐標 coords 座標 經緯度

无描述

未知可选
coords_refcoords_ref

无描述

未知可选
areaarea 面积 面積

无描述

未知可选
elevationelevation 海拔高度

无描述

未知可选
formerformer 前身

无描述

未知可选
authorizedauthorized 認可 认可

无描述

未知可选
createdcreated 建造

无描述

未知可选
establishedestablished 设立时间 設立時間

无描述

未知可选
designateddesignated 指定

无描述

未知可选
openingopening 落成 建成

无描述

未知可选
openedopened 开放 開放

无描述

未知可选
closedclosed 关闭 關閉

无描述

未知可选
founderfounder 创办人 創辦人 建立者

无描述

未知可选
designerdesigner 建筑师 建築師 设计者 設計者

无描述

未知可选
etymologyetymology

无描述

未知可选
ownerowner 持有者

无描述

未知可选
administratoradministrator 行政管理者

无描述

未知可选
managermanager 管理者

无描述

未知可选
operatoroperator 營運者 营运者

无描述

未知可选
visitation_numvisitation_num 年游客数 年遊客數 visitors

无描述

未知可选
visitation_yearvisitation_year

无描述

未知可选
visitation_refvisitation_ref

无描述

未知可选
openopen 開放時間 开放时间

无描述

未知可选
statusstatus 狀態 状态

无描述

未知可选
awardsawards 获奖 獲獎

无描述

未知可选
camp_sitescamp_sites 營地 营地

无描述

未知可选
pathspaths

无描述

未知可选
hiking_trailshiking_trails

无描述

未知可选
terrainterrain

无描述

未知可选
habitathabitat

无描述

未知可选
waterwater 水域

无描述

未知可选
vegetationvegetation

无描述

未知可选
plantsplants

无描述

未知可选
speciesspecies 物种 物種

无描述

未知可选
collectionscollections 群體 群体

无描述

未知可选
designationdesignation

无描述

未知可选
disturbancedisturbance 骚乱 騷亂

无描述

未知可选
budgetbudget 預算 预算

无描述

未知可选
parkingparking 停車場 停车场 parking_lot

无描述

未知可选
transporttransport 交通方式

无描述

未知可选
publictransitpublictransit

无描述

未知可选
facilitiesfacilities

无描述

未知可选
free_labelfree_label

无描述

未知可选
free_datafree_data

无描述

未知可选
other_infoother_info 備註 备注

无描述

未知可选
websitewebsite 官方网站 官方網站

无描述

未知可选
urlurl

无描述

未知可选
embeddedembedded

无描述

未知可选
mapframemapframe

无描述

未知可选
map_labelmap_label

无描述

未知可选
location_maplocation_map map_type 地圖 地图 map locmapin

无描述

未知可选
map_widthmap_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更名或删除。

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

追踪分类