Skabelon:Infoboks beskyttet område

Fra Wikipedia, den frie encyklopædi
Documentation icon Skabelondokumentation[vis] [redigér] [historik] [opfrisk]

Denne skabelon kan bruges til at skabe en infoboks til artikler om beskyttede områder. På engelsk Wikipedia er skabelonen en del af projektet Protected areas WikiProject. Der er ikke noget tilsvarende projekt på dansk Wikipedia, men skabelonen kan godt bruges til artikler om beskyttede områder.

Brug[rediger kildetekst]

These selected parameters can be used to form a completely functional infobox and the extra parameters listed below can also be added. This markup can be pasted into a new article. See below for working examples.

Basic usage
{{Infoboks beskyttet område
| name                = 
| alt_name            = 
| iucn_category       = 
| photo               = 
| photo_alt           = 
| photo_caption       = 
| photo_width         = 
| map                 = 
| map_alt             = 
| map_caption         = 
| map_width           = 
| relief              =
| label               =
| label_position      =
| mark                =
| marker_size         =
| location            = 
| nearest_city        = 
| coordinates         = 
| coords_ref          = 
| area                = 
| designation         =
| authorized          =
| created             =
| established         = 
| designated          =
| visitation_num      = 
| visitation_year     = 
| visitation_ref      =
| governing_body      = 
| administrator       =
| operator            =
| owner               =
| world_heritage_site =
| website             = 
| url                 = 
| child               = 
| embedded            = 
}}
Full code
Full syntax
{{Infobox protected area
| name                = 
| alt_name            = 
| iucn_category       = 
| photo               = 
| photo_alt           = 
| photo_caption       = 
| photo_width         = 
| map                 = 
| map_alt             = 
| map_caption         = 
| map_width           = 
| relief              =
| label               =
| label_position      =
| mark                =
| marker_size         =
| location            = 
| nearest_city        = 
| nearest_town        =
| x                   =
| y                   =
| x%                  =
| y%                  =
| coordinates         = 
| coords_ref          = 
| area                = 
| area_ha             =
| area_acre           =
| area_km2            =
| area_sqmi           =
| elevation           = 
| designation         =
| authorized          =
| created             =
| established         = 
| designated          = 
| named_for           = 
| visitation_num      = 
| visitation_year     = 
| visitation_ref      =
| governing_body      = 
| administrator       =
| operator            =
| owner               =
| world_heritage_site =
| website             = 
| url                 = 
| child               = 
| embedded            = 
| embedded1           =
| embedded2           =
}}

Parameter descriptions[rediger kildetekst]

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.
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 map to be displayed. See Map display methods.
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.
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:Infobox_map#Marks 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 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.
x
y
Specifies the position of the location marker on a map image. The coordinates of the marker in pixels based on a map with a width of 1000 pixels. The template will scale these values for proper display. See below.
x%
y%
Specifies the position of the location marker on a map image. x% specifies the percentage of the distance across the image from the left edge and y% specifies the percentage of the distance down from the top edge. See below.
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.
designation
authorized
created
established
designated
The date the protected area was created. See below. Use {{Start date}}. For example, for Yosemite National Park, use {{Start date|1890|10|1}}.
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 The full URL of the official website with no formatting. For example: http://www.example.org/.
url Displays a url with no label.
child Set to "yes" if this infobox is embedded inside another infobox.
embedded 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.

Alternate parameters[rediger kildetekst]

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 → Authorized
created → Created
designated → Designated
established → 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 Nebraska State Historical Society.

governing_body → Governing body
administrator → Administrator
operator → Operator
owner → Owner

IUCN Categories[rediger kildetekst]

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 kategori Ia (naturreservat)
IUCN kategori Ib (vildmark)
IUCN kategori II (nationalpark)
IUCN kategori III (naturmonument)
IUCN kategori IV (habitat/specifikke arter)
IUCN kategori V (beskyttet landskab/hav)
IUCN kategori VI (beskyttet område med bæredygtig brug af naturlige ressourser)

Coordinate syntax[rediger kildetekst]

See Template:Infobox map/coordinate syntax.

Eksempler[rediger kildetekst]

Kun med kort[rediger kildetekst]

Ku-ring-gai Chase National Park
IUCN kategori II (nationalpark)
A map showing the location of the park on the east coast of Australia
A map showing the location of the park on the east coast of Australia
Sted New South Wales, Australien
Nærmeste by Sydney
Koordinater 33°39′3.6″S 151°12′3.6″Ø / 33.651000°S 151.201000°Ø / -33.651000; 151.201000
Areal 154 km2 (59 sq mi)
Etableret 1. oktober 1967 (1967-10-01)
Besøgende 2 million (2001)
Styrende organ National Parks and Wildlife Service (New South Wales)
{{Infoboks beskyttet område
| name = Ku-ring-gai Chase National Park
| iucn_category = II
| map = Australien
| 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]], Australien
| nearest_city = [[Sydney]]
| coordinates = {{coord|33|39|3.6|S|151|12|3.6|E|region:AU|display=inline}}
| area = {{convert|154|km2|abbr=on}}
| established = {{start date|1967|10|1}}
| visitation_num = 2 million
| visitation_year = 2001
| governing_body = [[National Parks and Wildlife Service (New South Wales)]]
}}


With photograph only[rediger kildetekst]

Yosemite National Park
IUCN kategori II (nationalpark)
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
Yosemite Valley from Tunnel View
Sted California, United States
Nærmeste by Mariposa
Koordinater 37°43′44″N 119°35′54″V / 37.72889°N 119.59833°V / 37.72889; -119.59833
Areal 761.266 acres (308.073 ha)
Etableret 1. oktober 1890 (1890-10-01)
Besøgende 3,280,911 (2004)
Styrende organ National Park Service
World Heritage Site 1984
http://www.nps.gov/yose/
{{Infoboks beskyttet område
| 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 = {{convert|761266|acres|0}}
| 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[rediger kildetekst]

Harz National Park
Nationalparkverwaltung Harz
IUCN kategori II (nationalpark)
Sted Lower Saxony and Saxony-Anhalt, Germany
Koordinater 51°47′00″N 10°34′00″Ø / 51.78333°N 10.56667°Ø / 51.78333; 10.56667
Areal 8.900 hectares (21.992 acres)
Etableret 1990, 1994, 2006
Styrende organ Nationalparkverwaltung Harz
{{Infoboks beskyttet område
| 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            = {{convert|8900|ha}}
| established     = 1990, 1994, 2006
| visitation_num  = 
| visitation_year = 
| governing_body  = Nationalparkverwaltung Harz
}}


With photograph and map[rediger kildetekst]

Dry Island Buffalo Jump Provincial Park
IUCN kategori III (naturmonument)
A green valley with a river and a road running somewhat parallel to the river
Panoramic view
Location the park in south central Alberta, Canada
Location the park in south central Alberta, Canada
Map of Alberta, Canada
Sted Alberta, Canada
Nærmeste by Three Hills
Koordinater 51°56′10″N 112°57′41″V / 51.93611°N 112.96139°V / 51.93611; -112.96139
Areal 34,5 km2 (13 sq mi)*
Etableret 15. december 1970 (1970-12-15)
Styrende organ Alberta Tourism, Parks and Recreation
{{Infoboks beskyttet område
| 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 = {{convert|34.5|km2|0|abbr=on}}
| established = {{start date|1970|12|15}}
| governing_body = [[Alberta Tourism, Parks and Recreation]]
}}


With embedded alternate map[rediger kildetekst]

Black Forest National Park
IUCN kategori II (nationalpark)
Kort der viser placeringen af Black Forest National Park
Location of the Black Forest National Park in the northwestern Black Forest
Sted Baden-Württemberg, Tyskland
Koordinater 48°33′40″N 8°13′17″Ø / 48.56111°N 8.22139°Ø / 48.56111; 8.22139
Infoboks beskyttet område ligger i Tyskland
Infoboks beskyttet område
Black Forest National Park in the southwest of the map
{{Infoboks beskyttet område
| name = Black Forest National Park
| iucn_category = II
| map = Nationalpark-Schwarzwald-Lageplan.png
| map_alt = 
| map_caption = Location of the Black Forest National Park in the northwestern Black Forest
| map_width = 
| relief =
| location = [[Baden-Württemberg]], Tyskland
| coordinates     = {{coord|48|33|40|N|8|13|17|E| display = inline <!-- for documentation page only - not general practice -->}}
| embedded = {{Location map | Tyskland
 | 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
 }}
}}


Map display methods[rediger kildetekst]

Any image of a map showing the location of the protected area can be used. There are three methods by which maps showing a marker can be generated.

Display a marker on a map using a template and geographic coordinates[rediger kildetekst]

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.
en::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
Kort der viser placeringen af Four Corners, Canada
Kort der viser placeringen af Four Corners, Canada
Example using geographic coordinates
Koordinater 60°00′00″N 102°00′00″V / 60.00000°N 102.00000°V / 60.00000; -102.00000
{{Infoboks beskyttet område
| name = Four Corners, Canada
| map = Canada
| map_caption = Example using geographic coordinates
| coordinates = {{coord|60|00|00|N|102|00|00|W|display=inline,title}}
}}

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.

Display a marker on any map image using the x and y parameters[rediger kildetekst]

The values for the x and y parameters are the pixel coordinates of the location mark when the image is scaled to a width of 1000 pixels.

x is the pixel offset for the mark from the left edge of an image 1000px wide.
y is the pixel offset for the mark from the top edge of an image 1000px wide.

There are at least two ways of obtaining these values:

  1. Download the image from the image's file page to your computer. Open the image in a graphics editor, such as GIMP or XnView. Scale (resize) the image to a width of 1000px and then note the x, y coordinates when the cursor points to the desired location. Use these values directly.
  2. Download the image from the image's file page to your computer. Open the image in any image viewer that displays the coordinates of the cursor position, such as Paint from Microsoft. Note the x, y coordinates when the cursor points to the location. Then:
1000 x'/w = x  and  1000 y'/w = y
where x' and y' are the cursor coordinates, w is the width of the image displayed on your computer and x and y are the values to assign to the x and y parameters.
Four Corners, Canada
Kort der viser placeringen af Four Corners, Canada
Four Corners, Canada
Example using the x and y parameters
{{Infoboks beskyttet område
| name = Four Corners, Canada
| map = Canada location map.svg
| map_caption = Example using the x and y parameters
| x = 369
| y = 487
}}


Display a marker on any map image using the x% and y% parameters[rediger kildetekst]

x% specifies the percent of the distance across the image from the left edge.
y% specifies the percent of the distance down from the top edge.

In the following example the marker is 36.9% of the way across and 57.4% of the way down.

Four Corners, Canada
Kort der viser placeringen af Four Corners, Canada
Four Corners, Canada
Example using the x% and y% parameters
{{Infoboks beskyttet område
| name = Four Corners, Canada
| map = Relief map of Canada.png
| map_caption = Example using the x% and y% parameters
| x% = 36.9
| y% = 57.4
}}


TemplateData[rediger kildetekst]

Dette er denne skabelons TemplateData-dokumentation, som bruges af VisualEditor og andre værktøjer.

Infoboks beskyttet område

Ingen beskrivelse.

Skabelonparametre[Rediger TemplateData]

Denne skabelon foretrækker blok-formatering af parametre (en parameter per linje).

ParameterBeskrivelseTypeStatus
Namename

Name of protected area

Strengpåkrævet
Alternative Namealt_name

Common name for the protected area

Strengvalgfri
IUCN Categoryiucn_category

IUCN Category associated with the protected area

Strengvalgfri
Photophoto

Image for the protected area

Sidenavnvalgfri
Photo Widthphoto_width

Width of the image given by photo

Talvalgfri
Photo Alternative Textphoto_alt

Alternative text to be displayed if image doesn't appear for any reason

Strengvalgfri
Photo Captionphoto_caption

Caption for the photo

Strengvalgfri
Mapmap

Map for the protected area

Sidenavnvalgfri
Map Alternative Textmap_alt

Alternative text to display if the map doesn't display for whatever reasons

Strengvalgfri
Map Captionmap_caption

Caption for the map

Strengvalgfri
Map Widthmap_width

Width of the map

Talvalgfri
Reliefrelief

When the geographical coordinates method is used, any non-blank value will cause the template to display a relief map image

Strengvalgfri
Locationlocation

Location of the protected area

Strengvalgfri
Nearest Citynearest_city

Nearest city from the protected area

Strengvalgfri
Latitude(Degrees)lat_d

Degrees of latitude of protected area

Talvalgfri
Latitude(Minutes)lat_m

Minutes of latitude of protected area

Talvalgfri
Latitude(Seconds)lat_s

Seconds of latitude of protected area

Talvalgfri
Latitude(North/South)lat_NS

N if protected area is north of equator, S if protected area is south of equator

Strengvalgfri
Longitude(Degrees)long_d

Degrees of longitude of protected area

Talvalgfri
Longitude(Minutes)long_m

Minutes of longitude of protected area

Talvalgfri
Longitude(Seconds)long_s

Seconds of longitude of protected area

Talvalgfri
Longitude(East/West)long_EW

E if protected area is East of the prime meridian, W if protected area is west of the prime meridian

Strengvalgfri
Coordinatescoordinates coords

When this option is used the type, region, scale, source, format and display parameters are not functional but this data can be entered in the {{Coord}} template.

Strengvalgfri
Coordinates Referencecoords_ref

Can be used with either coordinate display method above

Strengvalgfri
Typetype

Type is one way to specify the scale of maps generated by external map websites

Standardværdi
landmark
Strengvalgfri
Scalescale

Determines the zoom factor for external map websites.

Strengvalgfri
Sourcesource

Source of the coordinate data of the protected area

Strengvalgfri
Formatformat

dms for degrees, minutes and seconds, and dec for decimal degrees

Standardværdi
dms
Strengvalgfri
Areaarea

Area Covered by protected area

Talvalgfri
Displaydisplay

Determines where the coordinates will be displayed

Standardværdi
inline,title
Strengvalgfri
Establishedestablished

The date on which the protected area was created

Linjevalgfri
Visitation Numbervisitation_num

Number of visitors in a recent year

Linjevalgfri
Visitation Yearvisitation_year

The year in which visitors were counted

Linjevalgfri
Visitation Referencevisitation_ref

Reference of visitation data in <ref > </ref>

Strengvalgfri
Governing Bodygoverning_body

The agency or organization which controls or owns the protected area

Strengvalgfri
World Heritage Siteworld_heritage_site

The year the protected area was designated a World Heritage Site

Linjevalgfri
Urlurl

The full URL of the official website with no formatting

Strengvalgfri
Childchild

Yes if infobox is embedded inside another infobox

Strengvalgfri
Embeddedembedded

Another infobox to place within this infobox

Strengvalgfri

Microformat[rediger kildetekst]

The articles created using this template include an hCard microformat. For more information read this.

Tracking categories[rediger kildetekst]

Se også[rediger kildetekst]