Difference between revisions of "Template:Infobox protected area/sandbox/doc"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
imported>Thumperward
(merge)
 
Line 1: Line 1:
<noinclude>{{documentation subpage}}</noinclude>
+
#REDIRECT [[Template:Infobox protected area/doc]]
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
== Usage ==
 
 
 
This template is part of the [[Wikipedia:WikiProject Protected Areas|Protected Areas WikiProject]].
 
 
 
==== Template blank ====
 
 
 
These selected fields can be used to form a completely functional Infobox. The template can be pasted into a new article.  See below for a working examples.
 
 
 
<div style="width:20em; background:white; border:1px solid rgb(153, 153, 153); padding:1em;"><pre style="font-size: 90%;"><nowiki>
 
{{Infobox Protected area
 
| name                =
 
| iucn_category      =
 
| photo              =
 
| photo_caption      =
 
| photo_width        =
 
| map                =
 
| 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                =
 
}}
 
</nowiki></pre></div>
 
 
 
== Field descriptions ==
 
 
 
==== Version 2.0 fields ====
 
 
 
This table describes fields that are of general use in building infoboxes. There are other fields listed below that are for compatibility with infoboxes that existed before this template was updated.
 
 
 
{| class="wikitable" style="width: 97%;"
 
! style="width: 14%" | Field name || Description
 
|-
 
|<code>name</code> || Required. 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 <code>name = Mount Washington</code>,
 
|-
 
|<code>width</code> || Sets the overall width of the infobox. The default width is 305 pixels. This value value should seldom be changed.
 
|-
 
|<code>native_name</code> || The name of the protected place in the local language.
 
|-
 
|<code>iucn_category</code> || Strongly recommended. The [[World Commission on Protected Areas#IUCN Categories of Protected Area|IUCN]] category associated with the protected place. Valid values are Ia, Ib, II, III, IV, V, or VI. See [[#IUCN Categories|IUCN Categories]].
 
|-
 
|<code>photo</code> || The name of a photographic file to be displayed. No special formatting is needed
 
|-
 
|<code>photo_caption</code> || A caption that will appear below the photograph if one is required.
 
|-
 
|<code>photo_width</code> || Specifies the desired width of the photo if it appears out of proportion to the rest of the infobox. The default value is 288 pixels. Photographs with a horizontal orientation (landscape mode) will generally display well at the default setting. A phonograph with vertical orientation (portrait mode) may need to be adjusted to 180 to 220 pixels. For example <code>photo_width = 200</code>.
 
|-
 
|<code>map</code> || The name of the map to be displayed. See [[#Map display methods|Map display methods]].
 
|-
 
|<code>map_caption</code> || A caption that appears below the map if one is required.
 
|-
 
|<code>map_width</code> || Changes the display width the map if it appears out of proportion to the rest of the infobox. The default width is 288 pixels. A display error will occur in compatibility mode when the following two fields have assigned values.
 
|-
 
|<code>locator_x</code><br/><code>locator_y</code> || These two fields are seldom used when building new infoboxes. They specify the position of the location marker on some types of maps. They specify the coordinates of the marker in pixels.
 
|-
 
|<code>label</code> || Text that will display when the mouse pointer is over the marker. A text message will be displayed next to the marker if <code>label_position</code> is assigned a valid value other than <code>none</code>. If <code>label</code> is not specified then <code>name</code> is used.
 
|-
 
|<code>label_position</code> || Specifies the position of the label with respect to the marker. This is not currently functional in compatibility mode. Valid values are <code>left</code>, <code>right</code>, <code>top</code>, <code>bottom</code> and <code>none</code>. The default value is <code>none</code> which prevents the label from being displayed as visible text. See <code>label</code>.
 
|-
 
|<code>location</code> || The location of the protected place. Don't be too precise. County, state and country are good in the USA. If the place is in multiple counties just list the state and country.
 
|-
 
|<code>nearest_city</code> || Recommended if the city is not mentioned in the location field. It could be a city with a major airport or a large gateway town where supplies and lodging are available.
 
|-
 
|<code>coords</code> || For the {{tl|Coord}} template. Will not generate a location marker if a map is used. See [[#With no photograph or map|below]]. When this option is used <code>region</code>, <code>scale</code>, <code>source</code>, <code>format</code> and <code>display</code> fields are none functional but this data can be entered in the Coord template. <code>type</code> should be <code>mountain</code> and <code>display</code> should be <code>inline,title</code>.
 
|-
 
|<code>lat_d</code> || The degrees of latitude. This value can be specified as a [[Decimal degrees|decimal degree]] and when this format is used minutes and seconds should not be specified. See [[#With photograph only|below]].
 
|-
 
|<code>lat_m</code> || The minutes of latitude.
 
|-
 
|<code>lat_s</code> || The seconds of latitude.
 
|-
 
|<code>lat_NS</code> || N if north of the equator, S if south of the equator. Other values will be disregarded.
 
|-
 
|<code>long_d</code> || The degrees of longitude. This value can be specified as a [[Decimal degrees|decimal degree]] and when this format is used minutes and seconds should not be specified. See [[#With photograph only|below]].
 
|-
 
|<code>long_m</code> || The minutes of longitude.
 
|-
 
|<code>long_s</code> || The seconds of longitude.
 
|-
 
|<code>long_EW</code> || E if East of the prime meridian, W if west of the prime meridian. Other values will be disregarded.
 
|-
 
|<code>coords_ref</code> || Used with the <code>lat</code> and <code>long</code> fields above. Strongly recommended. Specify the citation reference for the coordinates using {{nowrap|<code><nowiki><ref>...</ref></nowiki></code>}} tags.
 
|-
 
|<code>region</code> || A location code. See [[ISO 3166-2:US]], [[ISO 3166-2]] and [[ISO 3166-1 alpha-2]]. For example US-OR is the code for Oregon. This computer readable code is recommended. It will not be displayed. See [[Wikipedia:GEO#region:R|region]].
 
|-
 
|<code>scale</code> || This value determines the zoom factor for external map websites. See [[Wikipedia:GEO#scale:N|scale]]. The default is 1:10,000.
 
|-
 
|<code>source</code> || Source of the data. See [[Wikipedia:GEO#source:S|source]]. For example [[Geographic Names Information System|GNIS]] or [[U.S. National Geodetic Survey|NGS]] or GNSS.
 
|-
 
|<code>format</code> || Determines the format of the coordinate display. Valid values are <code>dms</code> for degrees, minutes and seconds, and <code>dec</code> for [[decimal degrees]]. The default is <code>dms</code> and is recommended.
 
|-
 
|<code>display</code> || Determines where the coordinates will be displayed. Valid values are <code>inline</code> and <code>inline,title</code> and their variants. The default is <code>inline,title</code> and is recommended.
 
|-
 
|<code>area</code> || Area of the protected place. Usually in acres or square miles for US locations and square kilometres or hectares elsewhere. The {{tl|Convert}} template should be used.
 
|-
 
|<code>established</code> || The date the protected area was established. For example congress established Yosemite National Park on October 1, 1890.
 
|-
 
|<code>visitation_num</code> || The annual number of visitors in a recent year if known.
 
|-
 
|<code>visitation_year</code> || The year during which the number of visitors was counted.
 
|-
 
|<code>governing_body</code> || The agency or organization which owns or controls the protected area.
 
|-
 
|<code>world_heritage_site</code> || The year the protected area was designated a [[World Heritage Site]]. Few areas have this designation
 
|-
 
|<code>website</code> || The [[Uniform Resource Locator|URL]] of the official website for the protected area. The <code>url</code> field below is recommended. This field should be formatted as an external link. For example: {{nowrap|<code><nowiki>[http://www.example.org/ www.example.org]</nowiki></code>}}.
 
|-
 
|<code>url</code> || The preferred method of entry. The full URL should be given with no formatting. For example: {{nowrap|<code><nowiki>http://www.example.org/</nowiki></code>}}.
 
|}
 
 
 
==== Compatibility fields ====
 
 
 
These fields files should not be used if the updated syntax for photographs and maps is used. It is strongly recommended that new infoboxes use the new field names although these fields function in the same way they did before the template was updated. Note that the compatibility coordinate fields are simple aliases for the new field names. There is now an attempt to standardize such names across templates to avoid confusion.
 
 
 
{| class="wikitable" style="width: 97%;"
 
! style="width: 14%" | Field name || Description
 
|-
 
|<code>image</code> || If <code>location_x</code> and <code>location_y</code> this field can be used to display a map. Without x and y it can be used to display and image.
 
|-
 
|<code>base_width</code> || Specifies the width of the image or map displayed. The default width is 288 pixels. A display error will occur when <code>location_x</code> and <code>location_y</code> have assigned values and the size of the map is changed.
 
|-
 
|<code>caption</code> || A caption that appears below the image or map if one is required.
 
|-
 
|<code>lat_degrees</code> || Alias for <code>lat_d</code> above.
 
|-
 
|<code>lat_minutes</code> || Alias for <code>lat_m</code> above.
 
|-
 
|<code>lat_seconds</code> || Alias for <code>lat_s</code> above.
 
|-
 
|<code>lat_direction</code> || Alias for <code>lat_NS</code> above.
 
|-
 
|<code>long_degrees</code> || Alias for <code>long_d</code> above.
 
|-
 
|<code>long_minutes</code> || Alias for <code>long_m</code> above.
 
|-
 
|<code>long_seconds</code> || Alias for <code>long_s</code> above.
 
|-
 
|<code>long_direction</code> || Alias for <code>long_EW</code> above.
 
|}
 
 
 
== IUCN Categories ==
 
 
 
Depending on the value of the <code>iucn_category</code> field, one of the following banners will be displayed below the area 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;"><!--
 
  -->[[World Conservation Union|IUCN]] Category Ia ([[Nature reserve|Strict Nature Reserve]])</div>
 
|-
 
| <div style="background-color: #DACAA5;"><!--
 
  -->[[World Conservation Union|IUCN]] Category Ib ([[Wilderness area|Wilderness Area]])<div>
 
|-
 
| <div style="background-color: #CDE5B2;"><!--
 
  -->[[World Conservation Union|IUCN]] Category II ([[national park|National Park]])</div>
 
|-
 
| <div style="background-color: #BFFFBF;"><!--
 
  -->[[World Conservation Union|IUCN]] Category III ([[Natural Monument]])</div>
 
|-
 
| <div style="background-color: #B2E5CD;"><!--
 
  -->[[World Conservation Union|IUCN]] Category IV (Habitat/Species Management Area)</div>
 
|-
 
| <div style="background-color: #A5CADA;"><!--
 
  -->[[World Conservation Union|IUCN]] Category V (Protected Landscape/Seascape)</div>
 
|-
 
| <div style="background-color: #A8BDEC;"><!--
 
  -->[[World Conservation Union|IUCN]] Category VI (Managed Resource Protected Area)</div>
 
|}
 
 
 
== Map display methods ==
 
 
 
There are two mechanisms by which maps can be displayed.
 
 
 
==== Compatibility method ====
 
 
 
This method is maintained primarily for backward compatibility. It requires the user to determine x and y coordinates in [[pixel]]s that determine the location of the marker on the map. The sub-template {{tl|Superimpose}} uses these special coordinates to superimpose the marker image on the map image.
 
 
 
:<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 default width is 288 pixels but can be changed by setting <code>map_width</code> to a different value. The height of the map can most easily be determined by right clicking on a displayed map image and choosing <code>properties</code> from the drop down menu.
 
 
 
{{user:Droll/sandbox
 
| iucn_category  = Ib
 
| map            = US_Locator_Blank.svg
 
| map_width      = 288
 
| map_caption    = Map of the USA
 
| name            = Yosemite National Park
 
| 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
 
| website        = [http://www.nps.gov/yose/ www.nps.gov/yose]
 
| display        = inline
 
}}
 
<div style="width:45em; background:white; border:1px solid rgb(153, 153, 153); padding:1em;"><pre style="font-size: 90%;">
 
{{user:Droll/sandbox
 
| name            = Yosemite National Park
 
| iucn_category  = Ib
 
| map            = US_Locator_Blank.svg
 
| map_width      = 288
 
| 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
 
| website        = [http://www.nps.gov/yose/ www.nps.gov/yose]
 
}}
 
</pre></div>
 
 
 
In this example the width of the map image is 288px in width and 187px in height. Yosemite National Park is located about 20px from the left of the image and 84px from the top. The only way to obtain values for x and y is by guess, trial and error. You can experiment by pasting this example code into a [[Wikipedia:Sandbox|sandbox]] and substituting your own values.
 
 
 
Notice that changing the width of the map image will require new values for x and y to be calculated. This can be done using the following method.
 
 
 
: <code>new x = (new width * old x) / old width</code>
 
: <code>new y = (new height * old y) / old height</code>
 
{{clr}}
 
 
 
==== Version 2.0 method ====
 
 
 
If values for <code>locator_x</code> and <code>locator_y</code> are not specified and geographical coordinates are specified without the use of the {{tl|Coord}} template then the this template will determine the marker location on the map using the geographical coordinates. A set of [[equirectangular projection]] map templates are used. This map type looks different 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. In maps of smaller areas this difference is less critical.
 
 
 
Templates for use with this method can be found at [[Special:PrefixIndex/Template:Location_map|Location maps]]. Select the template you wish to use and click on the template name. Information about the map will be displayed including the border coordinates of the map and the name of the area covered. The name displayed on the template page is the value used when specifying the value of the <code>map</code> field. A map template for the Alberta, Canada can be found at [[Template:Location map Canada Alberta]] and the name given on that page is "Canada Alberta". For example:
 
 
 
{{user:Droll/sandbox
 
| 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
 
}}
 
<div style="width:45em; background:white; border:1px solid rgb(153, 153, 153); padding:1em;"><pre style="font-size: 90%;"><nowiki>
 
{{user:Droll/sandbox
 
| 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]]
 
}}
 
</nowiki></pre></div>
 
{{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 use 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 in [[decimal digit]] or using degrees, minutes and second. 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><div style="text-align: center; float: left; width:18.5em">Example dms</div>
 
<div style="text-align: center; float: left; width:18.5em">Example dm</div>
 
<div style="text-align: center; float: left; width:18.5em">Example d</div></div>
 
{{clr}}
 
<pre style="width: 20em; float: left; margin-right: 1em; left; 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; left; font-size: 90%;">
 
| lat_d    = 33
 
| lat_m    = 39
 
| lat_NS    = S
 
| long_d    = 151
 
| long_m    = 12
 
| long_EW  = E
 
&nbsp;
 
&nbsp;
 
</pre>
 
<pre style="width: 20em; float: left; margin-right: 1em; left; font-size: 90%;">
 
| lat_d    = 33
 
| lat_NS    = S
 
| long_d    = 151
 
| long_EW  = E
 
&nbsp;
 
&nbsp;
 
&nbsp;
 
&nbsp;
 
</pre>
 
{{clr}}
 
<div style="text-align: center; float: left; width:18.5em">Example unsigned dd</div>
 
<div style="text-align: center; float: left; width:18.5em">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
 
&nbsp;
 
&nbsp;
 
</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 supply 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 since that is generally expected. This can be changed by setting {{nowrap|<code><nowiki>format=dec</nowiki></code>}}.
 
 
 
== Infobox examples ==
 
 
 
==== With map only ====
 
----
 
{{user:Droll/sandbox
 
| 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%;">
 
{{user:Droll/sandbox
 
| 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 ====
 
----
 
{{user:Droll/sandbox
 
| 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%;">
 
{{user:Droll/sandbox
 
| 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 ====
 
----
 
{{user:Droll/sandbox
 
| 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
 
}}
 
<pre style="max-width:50%; overflow:auto; font-size: 90%;">
 
{{Infobox Protected area/sandbox
 
| 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
 
}}
 
</pre>
 
{{clr}}
 
 
 
==== With photograph and map ====
 
----
 
{{user:Droll/sandbox
 
| 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>
 
| 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%;">
 
{{user:Droll/sandbox
 
| 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]]
 
}}
 
</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 place-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 see the microformat project.
 
 
 
For more information on microformats please visit [[Wikipedia:WikiProject Microformats|WikiProject Microformats]].
 
 
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
{{DEFAULTSORT:{{PAGENAME}}}}
 
</includeonly>
 

Latest revision as of 02:40, 11 October 2010