模板:Infobox protected area

維基百科,自由的百科全書
跳至導覽 跳至搜尋
文件圖示 模板文件[檢視] [編輯] [歷史] [清除快取]

當前與英文版對應模板代碼相同的版本為{{Infobox protected area 2}},用法與本模板大致相同,不同之處在於地圖部分的顯示會有所區別。

用法[編輯]

This template is part of the Protected Areas WikiProject.

These selected fields can be used to form a completely functional Infobox. The template can be pasted into a new article. See below for working examples.

空白模板:

{{Infobox protected area
| tablewidth = 
| name = 
| iucn_category = 
| photo = 
| photo_caption = 
| photo_width = 
| map = 
| relief = 
| map_caption = 
| map_width = 
| location = 
| nearest_city = 
| lat_d = 
| lat_m = 
| lat_s = 
| lat_NS = 
| long_d = 
| long_m = 
| long_s = 
| long_EW = 
| coords_ref =
| region = 
| area = 
| established = 
| visitation_num = 
| visitation_year = 
| governing_body = 
| world_heritage_site = 
| url = 
}}

參數說明[編輯]

下表列出本信息框模板的參數項。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.
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.
coords For the {{Coord}} template. Will not generate a location marker if a map is used. 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 管理或擁有該保護區的部門、組織
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 Category Ib (Wilderness Area)
IUCN Category II (National Park)
IUCN Category III (Natural Monument)
IUCN Category IV (Habitat/Species Management Area)
IUCN Category V (Protected Landscape/Seascape)
IUCN Category VI (Managed Resource Protected Area)

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
IUCN分類Ib(荒野區
Yosemite National Park位置圖
Map of the USA
位置 California, United States
最近城市 Mariposa
坐標 37°51′00″N 119°34′04″W / 37.8499232°N 119.5676663°W / 37.8499232; -119.5676663座標37°51′00″N 119°34′04″W / 37.8499232°N 119.5676663°W / 37.8499232; -119.5676663
面積 761,266英畝(3,080.73平方公里)
建立時間 October 1, 1890
參觀人數 3,280,911(2004)
主管團體 National Park Service
世界遺產地 1984
官網
{{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
IUCN分類III(天然紀念物
Dry Island Buffalo Jump Provincial Park位置圖
Dry Island Buffalo Jump Provincial Park位置圖
Map of Alberta, Canada
位置 Alberta, Canada
最近城市 Three Hills and Red Deer
坐標 51°56′38″N 112°57′49″W / 51.9438889°N 112.9636110°W / 51.9438889; -112.9636110
面積 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.

US Locator Blank.svg

USA location map.svg

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.

Infobox examples[編輯]

With map only[編輯]


Ku-ring-gai Chase National Park
IUCN分類II(國家公園
Ku-ring-gai Chase National Park位置圖
Ku-ring-gai Chase National Park位置圖
位置 New South Wales, Australia
最近城市 Sydney
坐標 33°39′3.6″S 151°12′3.6″E / 33.651000°S 151.201000°E / -33.651000; 151.201000
面積 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
IUCN分類Ib(荒野區
100 1325.JPG
Yosemite Valley from Tunnel View
位置 California, United States
最近城市 Mariposa
坐標 37°51′00″N 119°34′04″W / 37.8499232°N 119.5676663°W / 37.8499232; -119.5676663
面積 761,266英畝(3,080.73平方公里)
建立時間 October 1, 1890
參觀人數 3,280,911(2004)
主管團體 National Park Service
世界遺產地 1984
官網
{{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
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    = 
| coords          = {{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
IUCN分類III(天然紀念物
Dry Island Provincial Park2.jpg
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]]
| lat_d           = 51
| lat_m           = 56
| lat_s           = 10
| lat_NS          = N
| long_d          = 112
| long_m          = 57
| long_s          = 41
| long_EW         = W
| 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]. 

Microformat[編輯]

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.