模板:Infobox protected area/doc
此页面是Template:Infobox protected area的模板文档。 此页面可能包含了模板的使用说明、分类和其他内容。 |
参数native_name 不建议使用。请改用alt_name 。 |
用法
编辑{{{name}}} | |
---|---|
{{{alt_name}}} | |
输入了未知IUCN分类 | |
[[File:{{{photo}}}|{{{photo_width}}}|alt={{{alt}}}|{{{alt}}}]] | |
[[File:{{{logo}}}|frameless]] | |
[[File:{{{map_image}}}|{{{map_size}}}|alt={{{map_alt}}}|{{{map_alt}}}]] | |
国家/地区 | {{{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分类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 |
{{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
.
示例
编辑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 | |
---|---|
位置 | 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 | |
---|---|
位置 | 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].
模板数据
编辑模板数据
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
无描述。
|
微格式
编辑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.