跳转到内容

Template:Infobox protected area/doc

维基百科,自由的百科全书

用法

[编辑]
{{{name}}}
{{{alt_name}}}
输入了未知IUCN分类
[[File:{{{photo}}}|{{{photo_width}}}|alt={{{alt}}}|{{{alt}}}]]
{{{photo_caption}}}
[[File:{{{logo}}}|frameless]]
{{{logo_caption}}}
[[File:{{{map_image}}}|{{{map_size}}}|alt={{{map_alt}}}|{{{map_alt}}}]]
{{{map_caption}}}
國家/地區{{{country}}}
位置{{{location}}}
最近城市{{{nearest_city}}}
坐标{{{coordinates}}}{{{coords_ref}}}
长度{{{length}}}
宽度{{{width}}}
面积{{{area}}}{{{area_ref}}}
海拔{{{elevation}}}
最高海拔{{{elevation_max}}}
最低海拔{{{elevation_min}}}
尺寸{{{dimensions}}}
指定{{{designation}}}
授权{{{authorized}}}
撤销{{{disestablished}}}
法令{{{law}}}
得名于{{{named_for}}}
設施{{{equipment}}}
交通方式{{{access}}}
访客量{{{visitation_num}}}   ({{{visitation_year}}}){{{visitation_ref}}}
管理机构{{{governing_body}}}
世界遗产地{{{world_heritage_site}}}
网站{{{website}}}
備註{{{remark}}}
{{{embedded1}}}
{{{embedded2}}}

空白模板:

基础参数 完整参数
{{Infobox protected area
| name = 
| alt_name = 
| iucn_category = 
| iucn_ref =
| logo = 
| logo_alt = 
| logo_upright = 
| logo_caption = 
| photo = 
| photo_width = 
| photo_alt = 
| photo_caption = 
| map = <!-- or | map_image = -->
| map_caption = 
| country = 
| location = 
| nearest_city = 
| coordinates = 
| area_ha = 
| designation = 
| authorized = 
| created = 
| designated = 
| established = 
| disestablished = 
| visitation_num = 
| visitation_year = 
| visitation_ref = 
| governing_body = 
| administrator = 
| operator = 
| owner = 
| world_heritage_site = 
| website =  
| website =  
| embedded = 
}}
{{Infobox protected area
| child = 
| name = 
| alt_name = 
| iucn_category = 
| iucn_ref = 
| photo = 
| photo_width = 
| photo_alt = 
| photo_caption = 
| logo = 
| alt = 
| logo_caption = 
| map = <!-- 或| map_image =  -->
| map_size = 
| map_width = 
| relief = 
| label = 
| label_position = 
| map_caption = 
| map_alt = 
| mark = 
| marker_size = 
| country = 
| location = 
| coordinates = 
| coords_ref = 
| nearest_city = 
| nearest_town = 
| area = 
| area_km2 = 
| area_sqmi = 
| area_acre = 
| area_ha = 
| area_ref = 
| length = 
| length_km = 
| length_mi = 
| width = 
| width_km = 
| width_mi = 
| elevation = 
| elevation_avg = 
| elevation_max = 
| elevation_min = 
| dimensions = 
| designation = 
| authorized = 
| created = 
| established = 
| designated = 
| disestablished = 
| law = 
| named_for = 
| equipment = 
| access = 
| visitation_num = 
| visitation_year = 
| visitation_ref = 
| governing_body = 
| administrator = 
| operator = 
| owner = 
| world_heritage_site = 
| website = 
| remark = 
| embedded = 
| embedded2 = 
}}

參數說明

[编辑]

下表列出本信息框模板的參數項。name為必填,其它參數為選填。

參數 說明
tablewidth 選填。信息框寬度,留空則預設為300px。
name 必填。The official name of the protected area which will be displayed at the top of the infobox. In most cases this should be the same as the article name less any disambiguation. For example if the article title is Mount Washington (New Hampshire) then name = Mount Washington.
alt_name 選填。其它名稱,例如在當地語言的名稱。
iucn_category Strongly recommended. The IUCN category associated with the protected area. 只有填 Ia, Ib, II, III, IV, V, or VI 才有效。見IUCN Categories
photo 圖像名稱。前面不用加File:。
photo_width 圖像寬度。The default and maximum value is 284 pixels. Images with a horizontal orientation (landscape mode) will generally display well at the default setting. An image with vertical orientation (portrait mode) may need to be adjusted to 180 or 220 pixels. For example photo_width = 200 and not photo_width = 200px.
photo_caption 圖像說明文字。
map The name of the map to be displayed. See Map display methods.
relief 如選擇顯示地形圖,填上任何數值,例如1。此項目在使用XY坐標方法時無效。見Map display methods.
map_width 地圖寬度。The default and maximum width is 284 pixels but usually the map should be much smaller. 例子:map_width = 200請勿在數字加px
map_caption 地圖說明文字。
locator_x
locator_y
Specify the position of the location marker on some types of maps. The coordinates of the marker in pixels based on a map width of 288 pixels. The template will scale these values for proper display.
label Text that will display when the mouse pointer is over the marker. A text message will be displayed next to the marker if label_position is assigned a valid value other than none. If label is not specified then name is used.
label_position Specifies the position of the label with respect to the marker. This is not functional when using the XY method for map display. Valid values are left, right, top, bottom and none. The default value is none which prevents the label from being displayed as visible text. See label.
country 保護區所在之國家。
location 保護區的位置。不要寫得十分仔細,例如美國填州、縣已足夠。如果在城市內就寫明州和該城市,如果橫跨多個縣則寫州即可。對於在其它國家的也如此類推。
nearest_city Recommended if the area is not within a city. It could be a city with a major airport or a large gateway town where supplies and lodging are available.
coordinates For the {{Coord}} template. See below. When this option is used type, region, scale, source, format and display fields are not functional but this data can be entered in the Coord template. The defaults should be type:landmark and display:inline,title. See below.
lat_d 緯度。This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified. See below.
lat_m 緯分
lat_s 緯秒
lat_NS N if north of the equator, S if south of the equator. Other values will be disregarded.
long_d 經度。This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified. See below.
long_m 經分
long_s 經秒
long_EW E if East of the prime meridian, W if west of the prime meridian. Other values will be disregarded.
coords_ref Can be used with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
type The type of area. See type for valid values. Type sets the default map scale. If the default map scale is not appropriate consider adding a scale field. The default is landmark.
scale Determines the zoom factor for external map websites. See scale. The value is 1:10,000 for the default type which is landmark. Using scale = 50000 will change the zoom to 1:50,000.
region A country code. See ISO 3166-2:US, ISO 3166-2 and ISO_3166-1二位字母代码. For example US-OR is the code for Oregon. This computer readable code is recommended. It will not be displayed. See region.
source Source of the coordinate data. See source. For example gnis or ngs, etc. Not all possible values are recognized.
format Determines the format of the coordinate display. Valid values are dms for degrees, minutes and seconds, and dec for decimal degrees. The default currently is dms. There are ongoing discussions about which format should be used.
display Determines where the coordinates will be displayed. Valid values are inline and inline,title and their variants. The default is inline,title and is recommended.
area Area of the protected area. Usually in acres or square miles for US locations and hectares or square kilometres elsewhere. The {{Convert}} template should be used. Very small areas might be specified in square feet, square yards or square metres.
established 保護區建立日期。For example congress established Yosemite National Park on October 1, 1890.
visitation_num 最近某年的年度參觀人數,如有。
visitation_year 上面參觀人數的年份
visitation_ref 列出上面參觀人數的資料來源。Highly recommended. Specify the a citation for the visitation data using <ref>...</ref> tags.
governing_body 管理或擁有該保護區的部門、組織
logo 標誌名稱。前面不用加File:。
logosize 標誌寬度。
logo_caption 標誌說明文字。
world_heritage_site 獲指定為世界遗产的年份。只有少數保護區適用。
url 官方網站。例如填: http://www.example.org/

IUCN Categories

[编辑]

Depending on the value of the iucn_category field, one of the following banners will be displayed below the name. Valid values are Ia, Ib, II, III, IV, V and VI. For more information read the World Commission on Protected Areas article,

IUCN分类II(国家公园
IUCN分类IV(生境和物种管理保护区)
IUCN分类V(陆地和海洋景观保护区)
IUCN分类VI(资源管理保护区)

Map display methods

[编辑]

Any image of a map showing the location of the protected area can be used. There are two mechanisms by which maps using a marker can be displayed.

XY coordinate method

[编辑]

First the x and y coordinates in pixels must be found based on a map with a width of 288 pixels. Use the upper left hand corner as the origin. The sub-template {{Superimpose}} uses these special coordinates to superimpose the marker on the map image showing the location of the protected area.

locator_x is distance to offset the marker from the left edge of the map image in pixels.
locator_x is distance to offset the marker from the top edge of the map image in pixels.

The maximum and default display width is 284 pixels but smaller maps can be displayed by setting map_width to a different value.

Yosemite National Park
Module:Location_map第527行Lua错误:找不到指定的位置图坐标,“Module:Location map/data/US_Locator_Blank.svg”或者“Template:Location map US_Locator_Blank.svg”都不存在
位置California, United States
最近城市Mariposa
面积761,266英畝(3,080.73平方公里)
建立October 1, 1890
访客量3,280,911   (2004)
管理机构National Park Service
世界遗产地1984
www.nps.gov/yose/
{{Infobox protected area
| name            = Yosemite National Park
| iucn_category   = Ib
| map             = US_Locator_Blank.svg
| map_caption     = Map of the USA
| locator_x       = 20
| locator_y       = 84
| location        = [[California]], [[United States]]
| nearest_city    = [[Mariposa, California|Mariposa]]
| lat_d           = 37.8499232
| long_d          = -119.5676663
| region          = US-CA
| scale           = 300000
| area            = {{convert|761266|acres|km2}}
| established     = October 1, 1890
| visitation_num  = 3,280,911
| visitation_year = 2004
| governing_body  = [[National Park Service]]
| world_heritage_site = 1984
| url             = http://www.nps.gov/yose/
}}

Yosemite National Park is located at locator_x = 20 from the left of the image and locator_y = 84 from the top. 您可以把這個示例原始碼貼在沙盒並且試用其它數值測試。

Automatic method

[编辑]

A marker can be superimposed on one of a set of special map templates. If values for locator_x and locator_y are not specified and geographical coordinates are specified without the use of the {{Coord}} template then a marker will be superimposed on the map selected from a set of map templates. These maps can be found at Category:地理位置圖模板. All of the names begin with the words "Location map" followed by the area covered. The name you need to specify is the area name. The map template for the for Alberta, Canada is Location map Canada Alberta. In this case specify map = Canada Alberta. For example:

Dry Island Buffalo Jump Provincial Park
Module:Location_map第439行Lua错误:No value was provided for longitude
位置Alberta, Canada
最近城市Three Hills and Red Deer
面积34.5 km2(13.3 sq mi)
建立December 15, 1970
管理机构Alberta Tourism, Parks, Recreation and Culture
{{Infobox protected area
| name            = Dry Island Buffalo Jump Provincial Park
| iucn_category   = III
| map             = Canada Alberta
| map_caption     = Map of Alberta, Canada 
| map_width       = 175
| location        = [[Alberta, Canada|Alberta]], [[Canada]]
| nearest_city    = [[Three Hills, Alberta|Three Hills]]
| lat_d           = 51.9438889
| long_d          = -112.9636110
| region          = CA
| area            = {{convert|34.5|km2|sqmi|abbr=on}}
| established     = December 15, 1970
| governing_body  = [[Alberta Tourism, Parks, Recreation and Culture]]
}}

The maps in this template set for large areas use equirectangular projection. Large scale maps look different using this projection than those with which most are familiar. Most maps use some other method of projection. Compare the two maps bellow. The second uses equirectangular projection.

For technical reasons it is much easier for the template to use the second map. The distortion of the of the 49th parallel north which defines most of the US–Canadian border can be clearly seen. If the first map were to be used the marker would not appear in the proper location. With maps of smaller areas this difference is less critical. If you want to use larger maps consider using the XY method.

Coordinate syntax

[编辑]

Coordinates can be entered as decimal digits or using degrees, minutes and seconds. There is also the option of using the {{Coord}} template but this is not recommended since it does not allow for map functionality. If no map is to be displayed then the Coord template will work fine.

Example dms
Example dm
Example d
| lat_d     = 33
| lat_m     = 39
| lat_s     = 3.6
| lat_NS    = S
| long_d    = 151
| long_m    = 12
| long_s    = 04
| long_EW   = E
| lat_d     = 33
| lat_m     = 39
| lat_NS    = S
| long_d    = 151
| long_m    = 12
| long_EW   = E
 
 
| lat_d     = 33
| lat_NS    = S
| long_d    = 151
| long_EW   = E
 
 
 
 
Example unsigned dd
Example signed dd
| lat_d     = 33.65100
| lat_NS    = S
| long_d    = 51.20100
| long_EW   = E
| lat_d     = -33.65100
| long_d    = 51.20100
 
 

The coord template can be used with the following syntax. More information can be found at Template:Coord.

{{coord|33|39|03.6|S|151|12|03.6|E|format=dms|region:AU_type:landmark|display=inline,title}}

For additional examples see Coordinate examples.

The coordinates for Canadian places can be found using Geographical Name Search Service (GNSS). Coordinates for United States places can be found using Geographic Names Information System (GNIS). Another tool that will supply coordinates for many locations around the world can be found at univers immedia which uses Google Maps. These sites and many others provide coordinates using decimal degreess which are used in the example above. Using decimal degrees simplifies data entry and accuracy. By default the coordinates are displayed in degree, minute, second format. This is being considered. This can be changed by setting format=dec.

示例

[编辑]

With map only

[编辑]

Ku-ring-gai Chase National Park
IUCN分类II(国家公园
Module:Location_map第439行Lua错误:No value was provided for longitude
位置New South Wales, Australia
最近城市Sydney
面积154 km2(38,000 acre)
建立October 1, 1967
访客量2 Million   (2001)
管理机构Department of Environment and Climate Change
{{Infobox protected area
| name            = Ku-ring-gai Chase National Park
| iucn_category   = II
| map             = Australia
| map_width       = 200
| location        = [[New South Wales]]. [[Australia]]
| nearest_city    = [[Sydney]]
| lat_d           = 33
| lat_m           = 39
| lat_s           = 3.6
| lat_NS          = S
| long_d          = 151
| long_m          = 12
| long_s          = 3.6
| long_EW         = E
| region          = AU
| area            = {{convert|154|km2|acre|abbr=on}}
| established     = October 1, 1967
| visitation_num  = 2 Million
| visitation_year = 2001
| governing_body  = [[Department of Environment and Climate Change (New South Wales)|Department of Environment and Climate Change]]
}}

With photograph only

[编辑]

Yosemite National Park
Yosemite Valley from Tunnel View
位置California, United States
最近城市Mariposa
面积761,266英畝(3,080.73平方公里)
建立October 1, 1890
访客量3,280,911   (2004)
管理机构National Park Service
世界遗产地1984
www.nps.gov/yose/
{{Infobox protected area
| name            = Yosemite National Park
| iucn_category   = Ib
| photo           = 100 1325.JPG
| photo_caption   = Yosemite Valley from Tunnel View
| location        = [[California]], [[United States]]
| nearest_city    = [[Mariposa, California|Mariposa]]
| lat_d           = 37.8499232
| long_d          = -119.5676663
| region          = US-CA
| scale           = 300000
| area            = {{convert|761266|acres|km2}}
| established     = October 1, 1890
| visitation_num  = 3,280,911
| visitation_year = 2004
| governing_body  = [[National Park Service]]
| world_heritage_site = 1984
| url             = http://www.nps.gov/yose/
}}

With no photograph or map

[编辑]

Harz National Park
Nationalparkverwaltung Harz
IUCN分类II(国家公园
位置Lower Saxony and Saxony-Anhalt, Germany
坐标51°47′00″N 10°34′00″E / 51.78333°N 10.56667°E / 51.78333; 10.56667
面积8,900公頃(22,000英畝)
建立1990, 1994, 2006
管理机构Nationalparkverwaltung Harz
{{Infobox protected area
| name            = Harz National Park
| native_name     = Nationalparkverwaltung Harz
| iucn_category   = II
| location        = [[Lower Saxony]] and [[Saxony-Anhalt]], [[Germany]]
| nearest_city    = 
| coordinates     = {{coord|51|47|00|N|10|34|00|E|region:DE_type:landmark|display=inline}}
| area            = {{convert|8900|ha|acre}}
| established     = 1990, 1994, 2006
| visitation_num  = 
| visitation_year = 
| governing_body  = Nationalparkverwaltung Harz
}}

With photograph and map

[编辑]

Dry Island Buffalo Jump Provincial Park
Panoramic view
Dry Island Buffalo Jump Provincial Park位置图
Dry Island Buffalo Jump Provincial Park位置图
Map of Alberta, Canada
位置Alberta, Canada
最近城市Three Hills
坐标51°56′10″N 112°57′41″W / 51.93611°N 112.96139°W / 51.93611; -112.96139[1]
面积34.5 km2(13.3 sq mi)
建立December 15, 1970
管理机构Alberta Tourism, Parks and Recreation
{{Infobox protected area
| name            = Dry Island Buffalo Jump Provincial Park
| photo           = Dry Island Provincial Park2.jpg
| photo_caption   = Panoramic view
| iucn_category   = III
| map             = Canada Alberta
| map_caption     = Map of Alberta, Canada 
| map_width       = 175
| location        = [[Alberta, Canada|Alberta]], [[Canada]]
| nearest_city    = [[Three Hills, Alberta|Three Hills]]
| coordinates     = {{coord|51|56|10|N|112|57|41|W| display = inline <!-- for documentation page only - not general practice -->}}
| coords_ref      = <ref name=gnss>
  {{cite web
  | url = http://gnss.nrcan.gc.ca/gnss-srt/searchName.jsp?language=en
  | title = Geographical Name Search Service
  | publisher = Natural Resources Canada
  | accessdate = 2009-04-26 }}</ref>
| region          = CA
| area            = {{convert|34.5|km2|sqmi|abbr=on}}
| established     = December 15, 1970
| governing_body  = [[Alberta Tourism, Parks and Recreation]]
}}
References

  1. ^ Geographical Name Search Service. Natural Resources Canada. [2009-04-26]. 

模板数据

[编辑]
模板数据
以下是该模板的模板数据,适用于可视化编辑器等工具。

Infobox protected area模板数据

无描述。

模板参数

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

参数描述类型状态
childchild

无描述

未知可选
namename

无描述

未知可选
alt_namealt_name

无描述

未知可选
native_namenative_name

无描述

未知可选
bannerbanner

无描述

未知可选
iucn_categoryiucn_category

无描述

未知可选
iucn_refiucn_ref

无描述

未知可选
imageimage

无描述

未知可选
photophoto

无描述

未知可选
image_sizeimage_size

无描述

未知可选
photo_widthphoto_width

无描述

未知可选
altalt

无描述

未知可选
photo_altphoto_alt

无描述

未知可选
captioncaption

无描述

未知可选
photo_captionphoto_caption

无描述

未知可选
logologo

无描述

未知可选
标志标志

无描述

未知可选
標誌標誌

无描述

未知可选
logo_sizelogo_size

无描述

未知可选
logo_uprightlogo_upright

无描述

未知可选
logo_altlogo_alt

无描述

未知可选
logo_captionlogo_caption

无描述

未知可选
mapmap

无描述

未知可选
map_sizemap_size

无描述

未知可选
mapsizemapsize

无描述

未知可选
map_widthmap_width

无描述

未知可选
AlternativeMapAlternativeMap

无描述

未知可选
reliefrelief

无描述

未知可选
labellabel

无描述

未知可选
label_positionlabel_position

无描述

未知可选
map_captionmap_caption

无描述

未知可选
map_altmap_alt

无描述

未知可选
markmark

无描述

未知可选
marker_sizemarker_size

无描述

未知可选
coordinatescoordinates

无描述

未知可选
coordscoords

无描述

未知可选
map_imagemap_image

无描述

未知可选
image_mapimage_map

无描述

未知可选
categorycategory

无描述

未知可选
countrycountry

无描述

未知可选
locationlocation

无描述

未知可选
nearest_citynearest_city

无描述

未知可选
nearest_townnearest_town

无描述

未知可选
area_km2area_km2

无描述

未知可选
area_sqmiarea_sqmi

无描述

未知可选
area_acrearea_acre

无描述

未知可选
area_haarea_ha

无描述

未知可选
length_kmlength_km

无描述

未知可选
length_milength_mi

无描述

未知可选
width_kmwidth_km

无描述

未知可选
width_miwidth_mi

无描述

未知可选
coords_refcoords_ref

无描述

未知可选
lengthlength

无描述

未知可选
widthwidth

无描述

未知可选
area_refarea_ref

无描述

未知可选
areaarea

无描述

未知可选
elevation_avgelevation_avg

无描述

未知可选
elevationelevation

无描述

未知可选
elevation_maxelevation_max

无描述

未知可选
elevation_minelevation_min

无描述

未知可选
dimensionsdimensions

无描述

未知可选
biomebiome

无描述

未知可选
geologygeology

无描述

未知可选
plantplant

无描述

未知可选
animalanimal

无描述

未知可选
designationdesignation

无描述

未知可选
authorizedauthorized

无描述

未知可选
createdcreated

无描述

未知可选
establishedestablished

无描述

未知可选
designateddesignated

无描述

未知可选
disestablisheddisestablished

无描述

未知可选
lawlaw

无描述

未知可选
named_fornamed_for

无描述

未知可选
equipmentequipment

无描述

未知可选
accessaccess

无描述

未知可选
visitation_numvisitation_num

无描述

未知可选
visitation_yearvisitation_year

无描述

未知可选
visitation_refvisitation_ref

无描述

未知可选
governing_bodygoverning_body

无描述

未知可选
administratoradministrator

无描述

未知可选
operatoroperator

无描述

未知可选
ownerowner

无描述

未知可选
world_heritage_siteworld_heritage_site

无描述

未知可选
websitewebsite

无描述

未知可选
urlurl

无描述

未知可选
remarkremark

无描述

未知可选
embedded1embedded1

无描述

未知可选
embeddedembedded

无描述

未知可选
embedded2embedded2

无描述

未知可选

微格式

[编辑]

The HTML mark up produced by this template includes an hCard microformat, which makes the area name and location parsable by computers, either acting automatically to catalogue article across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please visit WikiProject Microformats.

追踪分类

[编辑]