Top Qs
Timeline
Chat
Perspective
Template:Infobox protected area/doc
From Wikipedia, the free encyclopedia
Remove ads
This template can be used to generate an infobox for a protected area. It is part of the Protected areas WikiProject.
![]() | This is a documentation subpage for Template:Infobox protected area. It may contain usage information, categories and other content that is not part of the original template page. |
![]() | 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. |
![]() | This template uses Lua: |
Remove ads
Usage
Summarize
Perspective
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.
Remove ads
Parameter descriptions
Summarize
Perspective
This table describes all parameters which can be used in building infoboxes. Only the name
parameter must be assigned a value.
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.
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
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
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) |
Mapframe maps
- Basic parameters:
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- The default value of the mapframe parameter is also modified by the internal onByDefault parameter. Default: yes, unless any of the other map parameters are present:
|map=
,|image_map=
,|map_image=
- The default value of the mapframe parameter is also modified by the internal onByDefault parameter. Default: yes, unless any of the other map parameters are present:
- mapframe-caption – Caption for the map. Default: blank (or if
|mapframe-geomask=
is set, "Location in geomask's label") - mapframe-custom – Use a custom map instead of the automatic mapframe. Specify either a
{{maplink}}
template, or another template that generates a mapframe map, or an image name. If used, the subsequent mapframe parameters will be ignored. Default: not specified - mapframe-id or id or qid – Id (Q-number) of Wikidata item to use. Default: item for current page
- mapframe-coordinates or mapframe-coord or coordinates or coord – Coordinates to use, instead of any on Wikidata. Use the {{Coord}} template, e.g.
|coord=
. Default: coordinates from Wikidata{{Coord|12.34|N|56.78|E}}
- mapframe-wikidata – Set to
yes
to show shape/line features from the wikidata item, if any, when|coord=
is set. Default: not specified
- mapframe – Specify yes or no to show or hide the map, overriding the default. Default: no
- Customise which features are displayed:
- mapframe-shape – Turn off display of shape feature by setting to
none
. Use an inverse shape (geomask) instead of a regular shape by setting toinverse
. Default: not specified - mapframe-point – Turn off display of point feature by setting to
none
. Force point marker to be displayed by setting toon
. Default: not specified - mapframe-line – Turn off display of line feature by setting to
none
. Default: not specified - mapframe-geomask – Wikidata item to use as a geomask (everything outside the boundary is shaded darker). Can either be a specific Wikidata item (Q-number), or a property that specifies the item to use (e.g.
P17
for country (P17),P131
for located in the administrative territorial entity (P131)). Default: not specified - mapframe-switcher – set to
auto
orgeomasks
orzooms
to enable Template:Switcher-style switching between multiple mapframes. Default: not specifiedauto
– switch geomasks found in location (P276) and located in the administrative territorial entity (P131) statements on the page's Wikidata item, searching recursively. E.g. an item's city, that city's state, and that state's country.geomasks
– switch between the geomasks specified as a comma-separated list of Wikidata items (Q-numbers) in the mapframe-geomask parameterzooms
– switch between "zoomed in"/"zoomed midway"/"zoomed out", where "zoomed in" is the default zoom (with a minimum of3
), "zoomed out" is1
, and "zoomed midway" is the average
- mapframe-shape – Turn off display of shape feature by setting to
- Other optional parameters:
- mapframe-frame-width or mapframe-width – Frame width. Default: 270
- mapframe-frame-height or mapframe-height – Frame height. Default: 200
- mapframe-shape-fill – Color used to fill shape features. Default: #5CE65C
- mapframe-shape-fill-opacity – Opacity level of shape fill, a number between 0 and 1. Default: 0.5
- mapframe-stroke-color or mapframe-stroke-colour – Color of line features, and outlines of shape features. Default: #008000
- mapframe-stroke-width – Width of line features, and outlines of shape features; default is "5". Default: 5
- mapframe-marker – Marker symbol to use for coordinates; see mw:Help:Extension:Kartographer/Icons for options. Default: natural
- Can also be set to
blank
to override any default marker symbol
- Can also be set to
- mapframe-marker-color or mapframe-marker-colour – Background color for the marker. Default: #62AB22
- mapframe-geomask-stroke-color or mapframe-geomask-stroke-colour – Color of outline of geomask shape. Default: #555555
- mapframe-geomask-stroke-width – Width of outline of geomask shape. Default: 2
- mapframe-geomask-fill – Color used to fill outside geomask features. Default: #606060
- mapframe-geomask-fill-opacity – Opacity level of fill outside geomask features, a number between 0 and 1. Default: 0.5
- mapframe-zoom – Set the zoom level, from "1" (map of earth) to "18" (maximum zoom in), to be used if the zoom level cannot be determined automatically from object length or area. Default: Determined using {{map zoom}} based on any of the parameters:
|geohack-type=
,|area_sqmi=
,|area_km2=
,|area_ha=
,|area_acre=
,|length_km=
,|length_mi=
,|width_km=
,|width_mi=
- mapframe-length_km or mapframe-length_mi or mapframe-area_km2 or mapframe-area_mi2 – Determine zoom level by passing in object's length (in kilometres or miles) or area (in square kilometres or square miles). Default: not specified
- mapframe-frame-coordinates or mapframe-frame-coord – Alternate latitude and longitude coordinates for initial placement of map, using {{coord}}. Default: derived from item coordinates
- mapframe-type – Set the type of the object, with the same usage as {{coord}}. Default: not specified
- mapframe-population – Set the population, useful with type="city", for {{Infobox dim}}. Default: not specified
Remove ads
Examples
With map only
{{Infobox protected area
| name = Ku-ring-gai Chase National Park
| iucn_category = II
| map = Australia
| relief = yes
| map_width = 200
| map_alt = A map showing the location of the park on the east coast of Australia
| location = [[New South Wales]], Australia
| nearest_city = [[Sydney]]
| coordinates = {{coord|33|39|3.6|S|151|12|3.6|E|region:AU|display=inline}}
| area_km2 = 154
| established = {{start date|1967|10|1}}
| visitation_num = 2 million
| visitation_year = 2001
| governing_body = [[NSW National Parks & Wildlife Service]]
}}
With photograph only
{{Infobox protected area
| name = Yosemite National Park
| iucn_category = II
| photo = Tunnel View, Yosemite Valley, Yosemite NP - Diliff.jpg
| photo_alt = 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
| photo_caption = Yosemite Valley from Tunnel View
| location = [[California]], United States
| nearest_city = [[Mariposa, California|Mariposa]]
| coordinates={{coord|37|43|44|N|119|35|54|W|display = inline <!-- for documentation page only - not general practice -->}}
| scale = 300000
| area_acre = 761266
| established = {{start date|1890|10|1}}
| 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
{{Infobox protected area
| name = Harz National Park
| alt_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_ha = 8900
| established = 1990, 1994, 2006
| visitation_num =
| visitation_year =
| governing_body = Nationalparkverwaltung Harz
}}
With photograph and map
{{Infobox protected area
| name = Dry Island Buffalo Jump Provincial Park
| photo = Dry Island Provincial Park2.jpg
| photo_alt = A green valley with a river and a road running somewhat parallel to the river
| photo_caption = Panoramic view
| photo_width = 260
| iucn_category = III
| map = Canada Alberta
| map_alt = Location the park in south central Alberta, Canada
| map_caption = Map of Alberta, Canada
| relief = yes
| map_width = 200
| location = [[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 =
| area_km2 = 34.5
| established = {{start date|1970|12|15}}
| governing_body = [[Alberta Tourism, Parks and Recreation]]
}}
With embedded alternate map
{{Infobox protected area
| name = Black Forest National Park
| iucn_category = II
| image_map = Nationalpark-Schwarzwald-Lageplan.png
| map_alt =
| map_caption = Location of the Black Forest National Park in the northwestern Black Forest
| relief =
| location = [[Baden-Württemberg]], Germany
| coordinates = {{coord|48|33|40|N|8|13|17|E| display = inline <!-- for documentation page only - not general practice -->}}
| embedded = {{Location map | Germany
| AlternativeMap = Karte Nationalparks Deutschland high.png
| caption = Black Forest National Park in the southwest of the map
| coordinates = {{coord|48|33|40|N|8|13|17|E}}
| border = none
| width = 300
}}
}}
Remove ads
Map display methods
Summarize
Perspective
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
.
{{Infobox protected area
| name = Four Corners, Canada
| map = Canada
| map_caption = Example using geographic coordinates
| coordinates = {{coord|60|N|102|W|}}
}}
The {{Coord}} template has a parameter |display=inline,title
which can be added to make the coordinates display at the top of the page as well.
Remove ads
TemplateData
Summarize
Perspective
Remove ads
Microformat
The articles created using this template include an hCard microformat. For more information read this.
Tracking categories
See also
- {{Infobox park}}
Wikiwand - on
Seamless Wikipedia browsing. On steroids.
Remove ads