「模板:Pp-protected」:修訂間差異

出自微國家百科
imported>ChiEmpire
imported>ChiEmpire
無編輯摘要
 
(未顯示同一使用者於中間所作的 6 次修訂)
第1行: 第1行:
<noinclude>{{documentation subpage}}</noinclude>
<noinclude>{{documentation subpage}}</noinclude>
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
{{notice
  | 參數<code>native_name</code>不建議使用。請改用<code>alt_name</code>。
}}
== IUCN Categories ==
Depending on the value of the <code>iucn_category</code> 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,
{| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;"
|-
| <div style="background-color: #E7AF97;"><!--
  -->[[國際自然保護聯盟|IUCN]] Category Ia ([[Nature reserve|Strict Nature Reserve]])</div>
|-
| <div style="background-color: #DACAA5;"><!--
  -->[[國際自然保護聯盟|IUCN]] Category Ib ([[Wilderness area|Wilderness Area]])<div>
|-
| <div style="background-color: #CDE5B2;"><!--
  -->[[國際自然保護聯盟|IUCN]] Category II ([[national park|National Park]])</div>
|-
| <div style="background-color: #BFFFBF;"><!--
  -->[[國際自然保護聯盟|IUCN]] Category III ([[Natural Monument]])</div>
|-
| <div style="background-color: #B2E5CD;"><!--
  -->[[國際自然保護聯盟|IUCN]] Category IV (Habitat/Species Management Area)</div>
|-
| <div style="background-color: #A5CADA;"><!--
  -->[[國際自然保護聯盟|IUCN]] Category V (Protected Landscape/Seascape)</div>
|-
| <div style="background-color: #A8BDEC;"><!--
  -->[[國際自然保護聯盟|IUCN]] Category VI (Managed Resource Protected Area)</div>
|}
== 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 [[pixel]]s 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 {{tl|Superimpose}} uses these special coordinates to superimpose the marker on the map image showing the location of the protected area.
:<code>locator_x</code> is distance to offset the marker from the left edge of the map image in pixels.
:<code>locator_x</code> 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 <code>map_width</code> to a different value.
{{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/
}}
<pre style="font-size:90%; width:60%">
{{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/
}}
</pre>
Yosemite National Park is located at <code>locator_x = 20</code> from the left of the image and <code>locator_y = 84</code> from the top. 您可以把這個示例原始碼貼在[[:Wikipedia:沙盒|沙盒]]並且試用其它數值測試。
{{clr}}
==== Automatic method ====
A marker can be superimposed on one of a set of special map templates. If values for <code>locator_x</code> and <code>locator_y</code> are <u>not</u> specified and geographical coordinates are specified <u>without</u> the use of the {{tl|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 [[Template:Location map Canada Alberta|Location map Canada Alberta]]. In this case specify <code>map = Canada Alberta</code>. For example:
{{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]] and [[Red Deer, Alberta|Red Deer]]
| 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]]
| display        = inline
}}
<pre style="font-size:90%; width:60%;">
{{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]]
}}
</pre>
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 [[Map projection|method of projection]]. Compare the two maps bellow. The second uses equirectangular projection.
<div style="float: left; margin-right: 20px">
[[File:US Locator Blank.svg|300px]]
</div>
<div style="float: left;">
[[File:USA location map.svg|300px]]
</div>
{{clr}}
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.
{{clr}}
<!--
== Markers ==
There are two optional fields not mentioned above. They are <code>marker</code> and <code>marker_size</code>. The default marker is red and has a size of 7 pixels. It is created by shrinking the image [[:file:Red_pog.svg|Red pog.svg]] to 7 pixels. Other images can be found on [[commons:Category:Map pointer|Wikimedia Commons]]. Since this is an encyclopedia users are advised to select appropriate markers only. For example to use a Green marker enter {{nowrap|<code><nowiki>marker = Green pog.svg</nowiki></code>}}. To make it a bit larger enter {{nowrap|<code><nowiki>marker_size = 9</nowiki></code>}}.
-->
== Coordinate syntax ==
Coordinates can be entered as [[decimal digit]]s or using degrees, minutes and seconds. There is also the option of using the {{tl|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.
<div style="text-align: center; width: 20em; float: left; margin-right: 1em; font-size: 90%;">Example dms</div>
<div style="text-align: center; width: 20em; float: left; margin-right: 1em; font-size: 90%;">Example dm</div>
<div style="text-align: center; width: 20em; float: left; margin-right: 1em; font-size: 90%;">Example d</div>
{{clr}}
<pre style="width: 20em; float: left; margin-right: 1em; font-size: 90%;">
| 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
</pre>
<pre style="width: 20em; float: left; margin-right: 1em; font-size: 90%;">
| lat_d    = 33
| lat_m    = 39
| lat_NS    = S
| long_d    = 151
| long_m    = 12
| long_EW  = E
 
 
</pre>
<pre style="width: 20em; float: left; margin-right: 1em; font-size: 90%;">
| lat_d    = 33
| lat_NS    = S
| long_d    = 151
| long_EW  = E
 
 
 
 
</pre>
{{clr}}
<div style="text-align: center; width: 20em; float: left; margin-right: 1em; left; font-size: 90%;">Example unsigned dd</div>
<div style="text-align: center; width: 20em; float: left; margin-right: 1em; left; font-size: 90%;">Example signed dd</div>
{{clr}}
<pre style="width: 20em; float: left; margin-right: 1em; left; font-size: 90%;">
| lat_d    = 33.65100
| lat_NS    = S
| long_d    = 51.20100
| long_EW  = E
</pre>
<pre style="width: 20em; float: left; font-size: 90%;">
| lat_d    = -33.65100
| long_d    = 51.20100
 
 
</pre>
{{clr}}
The coord template can be used with the following syntax. More information can be found at [[Template:Coord]].
<pre style="width: 65em; font-size: 90%;">
{{coord|33|39|03.6|S|151|12|03.6|E|format=dms|region:AU_type:landmark|display=inline,title}}
</pre>
For additional examples see [[Template:Infobox protected area/sandbox/coordinate examples|Coordinate examples]].
The coordinates for Canadian places can be found using [http://gnss.nrcan.gc.ca/gnss-srt/searchName.jsp?language=en Geographical Name Search Service] (GNSS). Coordinates for United States places can be found using [http://geonames.usgs.gov/pls/gnispublic Geographic Names Information System] (GNIS).  Another tool that will supply coordinates for many locations around the world can be found at [http://pagesperso-orange.fr/universimmedia/geo/loc.htm univers immedia] which uses Google Maps. These sites and many others provide coordinates using [[decimal degrees]]s 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 {{nowrap|<code><nowiki>format=dec</nowiki></code>}}.
== Infobox examples ==
==== With map only ====
----
{{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
| display        = inline
| 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]]
}}
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
{{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]]
}}
</pre>
{{clr}}
==== With photograph only ====
----
{{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
| display        = inline
| 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/
}}
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
{{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/
}}
</pre>
{{clr}}
==== With no photograph or map ====
----
{{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
}}
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
{{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
}}
</pre>
{{clr}}
==== With photograph and map ====
----
{{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>
| display        = inline
| region          = CA
| area            = {{convert|34.5|km2|sqmi|abbr=on}}
| established    = December 15, 1970
| governing_body  = [[Alberta Tourism, Parks and Recreation]]
}}
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
{{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]]
}}
</pre>
{{clr}}
<div style="font-size: medium;">References</div>
----
{{reflist}}
== 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)|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 [[Wikipedia:WikiProject Microformats|WikiProject Microformats]].
{{Buildings and structures infobox templates}}
<includeonly>{{Sandbox other||<!-- 本行下加入模板的分類,跨維基連結加入Wikidata(參見[[Wikipedia:Wikidata]]) -->
[[Category:IUCN保护区信息框模板|Protected area]]
}}</includeonly>

於 2023年8月15日 (二) 21:50 的最新修訂