模板:Infobox protected area
![]() | 參數native_name 不建議使用。請改用alt_name 。 |
用法
空白模板:
{{Infobox protected area | tablewidth = | name = | iucn_category = | photo = | photo_caption = | photo_width = | map = | relief = | map_caption = | map_width = | country = | location = | nearest_city = | coordinates = | coords_ref = | area = | established = | visitation_num = | visitation_year = | governing_body = | logo = | logosize = | logo_caption = | 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 .
|
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 Category Ia (Strict Nature Reserve)
|
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 | |
---|---|
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 |
{{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.
| 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
| 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 | |
---|---|
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 |
{{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 | |
位置 | Lower Saxony and Saxony-Anhalt, Germany |
座標 | 51°47′00″N 10°34′00″E / 51.78333°N 10.56667°E |
面積 | 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 | |
位置 | Alberta, Canada |
最近城市 | Three Hills |
座標 | 51°56′10″N 112°57′41″W / 51.93611°N 112.96139°W[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]] }}
- ^ 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.
|
上述文件嵌入自Template:Infobox protected area/doc。 (編輯 | 歷史) 編者可以在本模板的沙盒 (編輯 | 差異)和測試樣例 (建立)頁面進行實驗。 請在/doc子頁面中添加分類。本模板的子頁面。 |