# வார்ப்புரு:Infobox protected area/doc



This template can be used to generate an infobox for a protected area. It is part of the .  

## Usage
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  
<div><pre></pre></div>  

;Full code  

<div><pre></pre></div>  

## Parameter descriptions
This table describes all parameters which can be used in building infoboxes. Only the <code>name</code> parameter must be assigned a value.  

| <code>name</code> | 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 <code>name=Mount Washington</code>. |  |
| --- | --- | --- |
| <code>alt_name</code> | If there is a common English name for the area use for the <code>name</code> 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. |  |
| <code>iucn_category</code> | Strongly recommended. The IUCN category associated with the protected area. Valid values are Ia, Ib, II, III, IV, V, or VI. See IUCN Categories. |  |
| <code>photo</code> | The name of an image file to be displayed. No special formatting is needed. |  |
| <code>photo_width</code> | Can be used to change the display width the image. The default and maximum value is . 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 or . For example <code>photo_width=200</code> and not <code>photo_width=</code>. |  |
| <code>photo_alt</code> | Alt text for the photo, for visually impaired readers. See WP:ALT. |  |
| <code>photo_caption</code> | The caption which will appear below the image if one is required. |  |
| <code>map</code> | The name of the map to be displayed. See Map display methods. |  |
| <code>map_width</code> | Width to display the map image in pixels. The default and maximum is 284, but usually the map should be much smaller. For example: <code>map_width=200</code> (not <code>map_width=</code>). If a location map template is used the map size might be scaled automatically if no width is specified. |  |
| <code>map_alt</code> | Alternative text for the map inage, see WP:ALT. |  |
| <code>map_caption</code> | Text to be displayed below the map image, if required. |  |
| <code>relief</code> | When the geographical coordinates method is used (see Map display methods), any non-blank value (<code>yes</code>, <code>1</code>, etc.) will cause the template to display a relief map image, where available. For additional information, see வார்ப்புரு:Location map#Relief parameter. |  |
| <code>label</code> | A text message that will be displayed next to the marker. Works with <code>label_position</code> below. |  |
| <code>label_position</code> | 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 <code></code>, <code></code>, <code>top</code> and <code>bottom</code>. See <code>label</code> above. |  |
| <code>mark</code> | The image to use for the marker. The default is , unless <code>map=us locator blank.svg</code> in which case the default is . See வார்ப்புரு:Infobox map#Marks for more information. |  |
| <code>marker_size</code> | The display width of the marker image in pixels. The default value is 8. |  |
| <code>location</code> | 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. |  |
| <code>nearest_city
nearest_town</code> | 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. |  |
| <code>coords</code> | For the template. Will not generate a marker on a map. See below. When this option is used the <code>type</code>, <code>region</code>, <code>scale</code>, <code>source</code>, <code>format</code> and <code>display</code> parameters are not functional but this data can be entered in the template. The defaults should be <code>type:landmark</code> and <code>display:inline,title</code>. |  |
| <code>lat_d</code> | The degrees of latitude. This value can be specified as a decimal degree and when this format is used minutes and seconds should not be specified. |  |
| <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 degree and when this format is used minutes and seconds should not be specified. |  |
| <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> | Can be used with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using tags. |  |
| <code>type</code> | Type is one way to specify the scale of maps generated by external map websites. See type for valid values. The default value is <code>landmark</code>. If no type is appropriate consider using the <code>scale</code> parameter below. |  |
| <code>scale</code> | Determines the zoom factor for external map websites. See scale. The value is 1:10,000 for the default type which is <code>landmark</code>. Using <code>scale=50000</code> will change the zoom to 1:50,000. |  |
| <code>region</code> | A country code. See ISO 3166-2:US, ஐ. எசு. ஓ.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 region. |  |
| <code>source</code> | Source of the coordinate data. See source. For example GNIS or NGS, etc. It will not be displayed. Not all possible values are recognized. |  |
| <code>format</code> | Determines the format of the coordinates displayed. Valid values are <code>dms</code> for degrees, minutes and seconds, and <code>dec</code> for decimal degrees. The default value is <code>dms</code>. |  |
| <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>x</code>
<code>y</code> | 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. |  |
| <code>x%</code>
<code>y%</code> | Specifies the position of the location marker on a map image. <code>x%</code> specifies the percentage of the distance across the image from the edge and <code>y%</code> specifies the percentage of the distance down from the top edge. See below. |  |
| <code>area</code> | Area of the protected area. Usually in acres or square miles for US locations and hectares or square kilometres elsewhere. The template should be used. Very small areas might be specified in square feet, square yards or square metres. |  |
| <code>designation</code> |  |  |
| <code>authorized
created
established
designated</code> | The date the protected area was created. See below. Use . For example, for Yosemite National Park, use . |  |
| <code>visitation_num</code> | The number of visitors in a recent year if known. |  |
| <code>visitation_year</code> | The year during which the number of visitors was counted. |  |
| <code>visitation_ref</code> | Used with the visitation parameters above. Highly recommended. Specify the a citation for the visitation data using tags. |  |
| <code>governing_body
administrator
operator
owner</code> | The agency or organization which controls or owns the protected area. See below. |  |
| <code>world_heritage_site</code> | The year the protected area was designated a உலகப் பாரம்பரியக் களம். Few areas have this designation. If the article uses then this parameter should not be used. |  |
| <code>website</code> | The full URL of the official website with no formatting. For example: . |  |
| <code>url</code> | Displays a url with no label. |  |
| <code>child</code> | Set to "yes" if this infobox is embedded inside another infobox. |  |
| <code>embedded</code> | 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
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*.  
: <code>authorized</code> → Authorized  
: <code>created</code> → Created  
: <code>designated</code> → Designated  
: <code>established</code> → 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.  
: <code>governing_body</code> → Governing body  
: <code>administrator</code> → Administrator  
: <code>operator</code> → Operator  
: <code>owner</code> → Owner  

### IUCN Categories
Depending on the value of the <code>iucn_category</code> 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 பாதுகாக்கப்பட்ட பகுதிகளுக்கான உலக ஆணையம் article,  


### Coordinate syntax
See Template:Infobox map/coordinate syntax.  

## Examples
### With map only

<pre>  

</pre>  

### With photograph only

<pre>  

</pre>  

### With no photograph or map

<pre>  

</pre>  

### With photograph and map

<pre>  

</pre>  

### With embedded alternate map

<pre>  

</pre>  

## Map display methods
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.  

## TemplateData
<templatedata>  
{  
"params": {  
"Name": {  
"label": "name",  
"type": "string",  
"required": true,  
"description": "Name of protected area"  
},  
"Alternative Name": {  
"label": "alt_name",  
"type": "string",  
"required": false,  
"description": "Common name for the protected area"  
},  
"IUCN Category": {  
"label": "iucn_category",  
"type": "string",  
"required": false,  
"description": "IUCN Category associated with the protected area "  
},  
"Photo": {  
"label": "photo",  
"type": "string/wiki-page-name",  
"required": false,  
"description": "Image for the protected area"  
},  
"Photo Width": {  
"label": "photo_width",  
"type": "number",  
"required": false,  
"description": "Width of the image given by photo"  
},  
"Photo Alternative Text": {  
"label": "photo_alt",  
"type": "string",  
"required": false,  
"description": "Alternative text to be displayed if image doesn't appear for any reason"  
},  
"Photo Caption": {  
"label": "photo_caption",  
"type": "string",  
"required": false,  
"description": "Caption for the photo"  
},  
"Map": {  
"label": "map",  
"type": "wiki-page-name",  
"required": false,  
"description": "Map for the protected area"  
},  
"Map Alternative Text": {  
"label": "map_alt",  
"type": "string",  
"required": false,  
"description": "Alternative text to display if the map doesn't display for whatever reasons"  
},  
"Map Caption": {  
"label": "map_caption",  
"type": "string",  
"required": false,  
"description": "Caption for the map"  
},  
"Map Width": {  
"label": "map_width",  
"type": "number",  
"required": false,  
"description": "Width of the map"  
},  
"Relief": {  
"label": "relief",  
"type": "string",  
"required": false,  
"description": "When the geographical coordinates method is used, any non-blank value will cause the template to display a relief map image"  
},  
"Location": {  
"label": "location",  
"type": "string",  
"required": false,  
"description": "Location of the protected area"  
},  
"Nearest City": {  
"label": "nearest_city",  
"type": "string",  
"required": false,  
"description": "Nearest city from the protected area"  
},  
"Latitude(Degrees)": {  
"label": "lat_d",  
"type": "number",  
"required": false,  
"description": "Degrees of latitude of protected area"  
},  
"Latitude(Minutes)": {  
"label": "lat_m",  
"type": "number",  
"required": false,  
"description": "Minutes of latitude of protected area"  
},  
"Latitude(Seconds)": {  
"label": "lat_s",  
"type": "number",  
"required": false,  
"description": "Seconds of latitude of protected area"  
},  
"Latitude(North/South)": {  
"label": "lat_NS",  
"type": "string",  
"required": false,  
"description": "N if protected area is north of equator, S if protected area is south of equator"  
},  
"Longitude(Degrees)": {  
"label": "long_d",  
"type": "number",  
"required": false,  
"description": "Degrees of longitude of protected area"  
},  
"Longitude(Minutes)": {  
"label": "long_m",  
"type": "number",  
"required": false,  
"description": "Minutes of longitude of protected area"  
},  
"Longitude(Seconds)": {  
"label": "long_s",  
"type": "number",  
"required": false,  
"description": "Seconds of longitude of protected area"  
},  
"Longitude(East/West)": {  
"label": "long_EW",  
"type": "string",  
"required": false,  
"description": "E if protected area is East of the prime meridian, W if protected area is west of the prime meridian"  
},  
"Coordinates": {  
"label": "coords",  
"type": "string",  
"required": false,  
"description": "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 template. ",  
"default": "type:landmark display:inline,title"  
},  
"Coordinates Reference": {  
"label": "coords_ref",  
"type": "string",  
"required": false,  
"description": "Can be used with either coordinate display method above"  
},  
"Type": {  
"label": "type",  
"type": "string",  
"required": false,  
"description": "Type is one way to specify the scale of maps generated by external map websites",  
"default": "landmark"  
},  
"Scale": {  
"label": "scale",  
"type": "string",  
"required": false,  
"description": "Determines the zoom factor for external map websites."  
},  
"Region": {  
"label": "region",  
"type": "string",  
"required": false,  
"description": "Country code in which the protected area is located"  
},  
"Source": {  
"label": "source",  
"type": "string",  
"required": false,  
"description": "Source of the coordinate data of the protected area"  
},  
"Format": {  
"label": "format",  
"type": "string",  
"required": false,  
"description": "dms for degrees, minutes and seconds, and dec for decimal degrees",  
"default": "dms"  
},  
"Area": {  
"label": "area",  
"type": "number",  
"required": false,  
"description": "Area Covered by protected area"  
},  
"Display": {  
"label": "display",  
"type": "string",  
"required": false,  
"description": "Determines where the coordinates will be displayed",  
"default": "inline,title"  
},  
"Established": {  
"label": "established",  
"type": "line",  
"required": false,  
"description": "The date on which the protected area was created"  
},  
"Visitation Number": {  
"label": "visitation_num",  
"type": "line",  
"required": false,  
"description": "Number of visitors in a recent year"  
},  
"Visitation Year": {  
"label": "visitation_year",  
"type": "line",  
"required": false,  
"description": "The year in which visitors were counted"  
},  
"Visitation Reference": {  
"label": "visitation_ref",  
"type": "string",  
"required": false,  
"description": "Reference of visitation data in "  
},  
"Governing Body": {  
"label": "governing_body",  
"type": "string",  
"required": false,  
"description": "The agency or organization which controls or owns the protected area"  
},  
"World Heritage Site": {  
"label": "world_heritage_site",  
"type": "line",  
"required": false,  
"description": "The year the protected area was designated a World Heritage Site"  
},  
"Url": {  
"label": "url",  
"type": "string",  
"required": false,  
"description": "The full URL of the official website with no formatting"  
},  
"Child": {  
"label": "child",  
"type": "string",  
"required": false,  
"description": "Yes if infobox is embedded inside another infobox"  
},  
"Embedded": {  
"label": "embedded",  
"type": "string",  
"required": false,  
"description": "Another infobox to place within this infobox"  
}  
}  
}  
</templatedata>  

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

<includeonly></includeonly>