Template:Infobox protected area: Difference between revisions
(per edit request on talk page - include "disestablished" parameter to prevent "established" parameter hacks) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 02:53, 15 February 2024
Warning | This template is used on approximately 14,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
File:Lua-Logo.svg | This template uses Lua: |
This template can be used to generate an infobox for a protected area. It is part of the Protected areas WikiProject.
Usage
The "basic usage" templates includes selected parameters which can be used to form a completely functional infobox. The "full usage" template includes all of the extra parameters which may be added. Either can be pasted into a new article. See below for working examples.
{{{name}}} | |
---|---|
{{{alt_name}}} | |
An unknown IUCN category was entered. | |
[[File:{{{photo}}}|{{{photo_width}}}|alt={{{photo_alt}}}]] | |
Lua error in Module:Location_map at line 411: Malformed coordinates value. | |
Location | {{{location}}} |
Nearest city | {{{nearest_city}}} |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found.{{{coords_ref}}} |
Length | {{{length}}} |
Width | {{{width}}} |
Area | {{{area}}}{{{area_ref}}} |
Elevation | {{{elevation}}} or {{{elevation_avg}}}, {{{elevation_min}}}, {{{elevation_max}}} |
Dimensions | {{{dimensions}}} |
Designation | {{{designation}}} |
Authorized | {{{authorized}}} |
Disestablished | {{{disestablished}}} |
Named for | {{{named_for}}} |
Visitors | {{{visitation_num}}} (in {{{visitation_year}}}){{{visitation_ref}}} |
Governing body | {{{governing_body}}} |
World Heritage site | {{{world_heritage_site}}} |
Website | {{{website}}} |
{{{embedded}}} | |
{{{embedded2}}} |
Basic usage | Full usage |
---|---|
<syntaxhighlight lang="wikitext" style="overflow:auto;">
</syntaxhighlight> |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
</syntaxhighlight> |
Parameter descriptions
This table describes all parameters which can be used in building infoboxes. Only the name
parameter must be assigned a value.
Field name | Description |
---|---|
name |
Required. The official name of the protected area. It 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 |
If there is a common English name for the area use for the name parameter. This parameter can be used to display the name in the local language or for an alternate English name if it is commonly used. If you would like to italicize the text use wiki markup.
|
iucn_category |
Strongly recommended. The IUCN category associated with the protected area. Valid values are Ia, Ib, II, III, IV, V, or VI. See IUCN Categories. |
iucn_ref |
A reference for the iucn_category. |
photo |
The name of an image file to be displayed. No special formatting is needed. |
photo_width |
Can be used to change the display width the image. The default and maximum value is 284px. 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 180px or 220px. For example photo_width=200 and not photo_width=200px .
|
photo_alt |
Alt text for the photo, for visually impaired readers. See WP:ALT. |
photo_caption |
The caption which will appear below the image if one is required. |
map |
The name of the location map to be displayed. See Map display methods. To use a static image, use |map_image=
|
map_image |
The file name of a static map image to be displayed. To use a location map, use |map= .
|
map_width |
Width to display the map image in pixels. The default and maximum is 284, but usually the map should be much smaller. For example: map_width=200 (not map_width=200px ). If a location map template is used the map size might be scaled automatically if no width is specified.
|
map_alt |
Alternative text for the map image, see WP:ALT. |
map_caption |
Text to be displayed below the map image, if required. |
AlternativeMap |
Use an alternative map for the location map, where available. For additional information, see Template:Location map#AlternativeMap parameter. |
relief |
When the geographical coordinates method is used (see Map display methods), any non-blank value (yes , 1 , etc.) will cause the template to display a relief map image, where available. For additional information, see Template:Location map#Relief parameter.
|
label |
A text message that will be displayed next to the marker. Works with label_position below.
|
label_position |
Specifies the position of a label with respect to the marker. This is not functional when using the XY method for map display. It must be assigned a value or no label will not display. Valid values are left , right , top and bottom . See label above.
|
mark |
The image to use for the marker. The default is Red pog.svg, unless map=us locator blank.svg in which case the default is Green pog.svg. See Template:Location map for more information.
|
marker_size |
The display width of the marker image in pixels. The default value is 8. |
location |
The location of the protected area. Don't be too precise. County, state and country are good in the USA. If the area is within a city specify the city, state and country. If the area is in multiple counties just list the state and country. For areas in other countries adjust accordingly. |
nearest_city nearest_town |
Recommended if the area is not within a city or town. It could be a city with a major airport or a large gateway town where supplies and lodging are available. Use the most appropriate parameter. |
coordinates coords |
For the {{coord}} template. The parameters |format=dms and |display=inline,title are recommended. Its coordinates can be used with the location map. (Unless a value for type: is provided, the template will automatically use type:landmark . See the {{Coord}} page for more info.)
|
coords_ref |
Can be used with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
|
length |
Length of protected area, e.g., length of a trail. The {{Convert}} template should be used. |
length_km length_mi |
Length of protected area, with automatic conversion to metric/imperial units. |
width |
Width of protected area. Can be used with |length= to describe rough shape. The {{Convert}} template should be used.
|
width_km width_mi |
Width of protected area, with automatic conversion to metric/imperial units. |
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. |
area_km2 area_sqmi area_acre area_ha |
Area of the protected area, with automatic conversion to metric/imperial units. Preferred to using bare |area=
|
area_ref |
Reference to reliable source for area value. |
elevation |
Elevation of the protected area. |
dimensions |
Dimensions of the protected area. |
designation |
The legal protection offered to the park. |
authorized created designated established |
The date the protected area was created. See below. Use {{Start date}}. For example, for Yosemite National Park, use {{Start date|1890|10|1}}. |
disestablished |
The date when the area became no longer protected, if any. |
named_for |
|
visitation_num |
The number of visitors in a recent year if known. |
visitation_year |
The year during which the number of visitors was counted. |
visitation_ref |
Used with the visitation parameters above. Highly recommended. Specify the a citation for the visitation data using <ref>...</ref> tags.
|
governing_body administrator operator owner |
The agency or organization which controls or owns the protected area. See below. |
world_heritage_site |
The year the protected area was designated a World Heritage Site. Few areas have this designation. If the article uses {{Infobox World Heritage Site}} then this parameter should not be used. |
website url |
The full URL of the official website with no formatting. For example: http://www.example.org/ . Use |website= to display it with the label "Website" or use |url= to display it with no label.
|
child |
Set to "yes" if this infobox is embedded inside another infobox. |
embedded embedded1 |
Another infobox to place within this infobox. It will show up at the bottom. It needs to have its "embed" or "child" parameter set to 1 or yes, as appropriate. |
embedded2 |
A second embedded infobox. |
Alternate parameters
A few cells allow alternate parameter names which can be used to generate an appropriate label. Editors should probably not be overly concerned with using the correct label unless using the wrong label would be a blatant error.
Authorized | authorized |
---|
Created | created |
---|
Designated | designated |
---|
Established | established |
---|
Protected areas are often created as the result of a governmental procedure. For example, in the United States, national parks are established by an act of congress, National Monuments are usually created by presidential proclamation, and wilderness areas are designated by an act of congress. National Park Service Affiliated Areas are authorized.
authorized
→ Authorizedcreated
→ Createddesignated
→ Designatedestablished
→ Established
Governing body | governing_body |
---|
Administrator | administrator |
---|
Operator | operator |
---|
Owner | owner |
---|
Some areas are privately owned, and it might be inappropriate to use the label Governing body. For example, the Aleutian World War II National Historic Area is affiliated with the National Park Service but is owned by the Ounalashka Corporation. Chimney Rock National Historic Site is operated by the Nebraska State Historical Society.
governing_body
→ Governing bodyadministrator
→ Administratoroperator
→ Operatorowner
→ Owner
Website | website |
---|
url |
The website can be displayed with or without a label.
website
→ Websiteurl
→ (no label)
IUCN Categories
Depending on the value of the iucn_category
parameter, 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 IUCN protected area categories article. If you cannot find the correct code in a reliable source, leave blank.
IUCN category IV (habitat/species management area)
|
IUCN category V (protected landscape/seascape)
|
IUCN category VI (protected area with sustainable use of natural resources)
|
Examples
With map only
Ku-ring-gai Chase National Park | |
---|---|
Lua error in Module:Location_map at line 411: Malformed coordinates value. | |
Location | New South Wales, Australia |
Nearest city | Sydney |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 154 km2 (59 sq mi) |
Established | October 1, 1967 |
Visitors | 2 million (in 2001) |
Governing body | NSW National Parks & Wildlife Service |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Ku-ring-gai Chase National Park | |
---|---|
Lua error in Module:Location_map at line 411: Malformed coordinates value. | |
Location | New South Wales, Australia |
Nearest city | Sydney |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 154 km2 (59 sq mi) |
Established | October 1, 1967 |
Visitors | 2 million (in 2001) |
Governing body | NSW National Parks & Wildlife Service |
</syntaxhighlight>
With photograph only
Yosemite National Park | |
---|---|
Mountain valley with sheer cliff on its left side, and a waterfall cascading into its right, with a clear blue sky above and many green trees below | |
Location | California, United States |
Nearest city | Mariposa |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 761,266 acres (3,080.73 km2) |
Established | October 1, 1890 |
Visitors | 3,280,911 (in 2004) |
Governing body | National Park Service |
World Heritage site | 1984 |
www |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Yosemite National Park | |
---|---|
Mountain valley with sheer cliff on its left side, and a waterfall cascading into its right, with a clear blue sky above and many green trees below | |
Location | California, United States |
Nearest city | Mariposa |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 761,266 acres (3,080.73 km2) |
Established | October 1, 1890 |
Visitors | 3,280,911 (in 2004) |
Governing body | National Park Service |
World Heritage site | 1984 |
www |
</syntaxhighlight>
With no photograph or map
Harz National Park | |
---|---|
Nationalparkverwaltung Harz | |
Location | Lower Saxony and Saxony-Anhalt, Germany |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 8,900 ha (34 sq mi) |
Established | 1990, 1994, 2006 |
Governing body | Nationalparkverwaltung Harz |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Harz National Park | |
---|---|
Nationalparkverwaltung Harz | |
Location | Lower Saxony and Saxony-Anhalt, Germany |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 8,900 ha (34 sq mi) |
Established | 1990, 1994, 2006 |
Governing body | Nationalparkverwaltung Harz |
</syntaxhighlight>
With photograph and map
Dry Island Buffalo Jump Provincial Park | |
---|---|
A green valley with a river and a road running somewhat parallel to the river | |
Lua error in Module:Location_map at line 411: Malformed coordinates value. | |
Location | Alberta, Canada |
Nearest city | Three Hills |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 34.5 km2 (13.3 sq mi) |
Established | December 15, 1970 |
Governing body | Alberta Tourism, Parks and Recreation |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Dry Island Buffalo Jump Provincial Park | |
---|---|
A green valley with a river and a road running somewhat parallel to the river | |
Lua error in Module:Location_map at line 411: Malformed coordinates value. | |
Location | Alberta, Canada |
Nearest city | Three Hills |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 34.5 km2 (13.3 sq mi) |
Established | December 15, 1970 |
Governing body | Alberta Tourism, Parks and Recreation |
</syntaxhighlight>
With embedded alternate map
Black Forest National Park | |
---|---|
File:Nationalpark-Schwarzwald-Lageplan.png | |
Location | Baden-Württemberg, Germany |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Lua error in Module:Location_map at line 411: Malformed coordinates value. |
<syntaxhighlight lang="wikitext" style="overflow:auto;">
Black Forest National Park | |
---|---|
File:Nationalpark-Schwarzwald-Lageplan.png | |
Location | Baden-Württemberg, Germany |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Lua error in Module:Location_map at line 411: Malformed coordinates value. |
</syntaxhighlight>
Map display methods
Any image of a map showing the location of the protected area can be used.
Display a marker on a map using a template and geographic coordinates
A marker can be superimposed on a map using one of a set of special map templates. To display a marker, the geographic coordinates must be specified using the {{Coord}} template inside the |coordinates=
parameter. See the documentation for {{Location map}}. The parameters for this template map to a subset of the parameters used by {{Location map}}. A map template can be found using these sources:
- List of templates – Many of the listed items are redirects and a few templates may not function as expected.
- Category:Location map templates - templates sorted by category.
- Special:WhatLinksHere/Template:Location map/Info – a search that might help.
- Special:PrefixIndex/Module:Location map/data/ – another search that might help.
- Special:Prefixindex/Template:Location map – another search that might help.
All of the names begin with the words "Location map" followed by the area covered. The value you need to specify is the area name. The map template for Canada is Location map/data/Canada. In this case specify |map=Canada
.
Four Corners, Canada | |
---|---|
Lua error in Module:Location_map at line 411: Malformed coordinates value. | |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
<syntaxhighlight lang="wikitext">
Four Corners, Canada | |
---|---|
Lua error in Module:Location_map at line 411: Malformed coordinates value. | |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
By default, {{Coord}} displays in the infobox only in the page title. Parameter |display=inline,title
can be added to make the coordinates display at the top of the page as well.
TemplateData
TemplateData documentation used by VisualEditor and other tools
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See a monthly parameter usage report for Template:Infobox protected area in articles based on its TemplateData.
TemplateData for Infobox protected area No description.
|
Microformat
The articles created using this template include an hCard microformat. For more information read this.
Tracking categories
See also
- {{Infobox park}}