ಟೆಂಪ್ಲೇಟು:Infobox forest/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Infobox forest It may contain usage information, categories and other content that is not part of the original ಟೆಂಪ್ಲೇಟು page. |
This template can be used to create an infobox for an article about a forest. It can be embedded in other infoboxes to provide addition data. For more information on this option read Infobox Embedding.
Usage
ಬದಲಾಯಿಸಿIf both a photo and a map are to be displayed the photo will appear at the top of the infobox and the map at the bottom. If only a map is to be displayed then the map will appear at the top.
Richard J. Dorer Memorial Hardwood State Forest | |
---|---|
Lua error in ಮಾಡ್ಯೂಲ್:Location_map at line 526: Unable to find the specified location map definition: "Module:Location map/data/USA Minnesota" does not exist. | |
ಭೂಗೋಳ | |
ಸ್ಥಳ | Southeastern Minnesota, USA |
ಕಕ್ಷೆಗಳು | 44°31′13″N 92°27′18″W / 44.52028°N 92.45500°W |
ಚದರಳತೆ | 1,016,204 acres (411,243.2 ha) |
ಸ್ಥಾಪಿಸಲಾಯಿತು | 1961 |
Governing body | Minnesota Department of Natural Resources, Private |
{{Infobox forest | name = | native_name = | native_lang = | native_name2 = | native_lang2 = | photo = | photo_caption = | photo_width = | map = | map_caption = | map_width = | coords = | lat_d = | long_d = | county = | region = | country = | elevation = | area = | max_area = | date_max_area = | status = | established = | visitation = | visitation_year = | events = | authority = | website = | ecosystem = | classification_WWF = | classification_EPA = | classification_CEC = | disturbance = | forest_cover = | species = | indicator_plants = | lesser_flora = | fauna = }}
Parameter descriptions
ಬದಲಾಯಿಸಿThe only required parameter is name
and it must be assigned a value
Parameter | Wikilink | Definition |
---|---|---|
name |
No | Name of forest. (Required) |
native_name |
No | Name in native language. |
native_lang |
No | Use ISO 639 codes. |
native_name2 |
No | Name in second native language. |
native_lang2 |
No | Use ISO 639 codes. |
photo |
No | Photo of forest. |
photo_caption |
No | Caption for photo. |
map |
No | The name of any image file or the name of area the covered by a location map template. See below. |
map_caption |
No | Caption displayed below the map if necessary. |
county |
Yes | County where forest is located. |
region |
Yes | Region where forest is located: state, province, etc. |
country |
Yes | Country where forest is located. |
coords |
No | For use with the {{Coords}} template. See below if a map is to be displayed.
|
elevation |
No | Either mean or range elevation |
area |
No | Area of current extent of area |
max_area |
No | Historical maximum extent of forest |
date_max_area |
No | Year when forest was at maximum extent |
status |
Yes | Ownership (private, state), protection/endangerement level, etc. |
established |
No | Date |
visitation |
No | Number of persons |
visitation_year |
No | Visitation parameter: e.g. August 2010, 2004. |
events |
Yes | Historic or cultural events that took place in forest: e.g. battles. |
authority |
Yes | Governing body. |
website |
No | Official website. |
ecosystem |
Yes | Use in absence of, or in addition to, WWF/EPA/CEC ecoregions. |
classification_WWF |
Yes | Worldwide. |
classification_EPA |
Yes | United States. |
classification_CEC |
Yes | United States. |
disturbance |
Yes | Primary disturbances that affect forest. |
forest_cover |
No | Express as a percentage. |
species |
Yes | Dominant tree species |
indicator_plants |
Yes | Ecosystem: lesser flora that primarily indicate land cover |
lesser_flora |
Yes | Non-woody plant species unique or dominant to forest |
fauna |
Yes | Animal species unique or dominant to forest |
Map display methods
ಬದಲಾಯಿಸಿDisplay a marker on a map using a template and coordinates
ಬದಲಾಯಿಸಿA marker can be superimposed on a map using one of a set of map templates. This method requires the geographic coordinates to be entered using the parameters below and assigning map
the name of the area covered by one of a set of location map templates. The parameters for this template map to a subset of the parameters for {{Location map}}
and reading the documentation for that template might be helpful.
The coordinates and related information must be entered using the of parameters below. This information is the same as that used by the {{Coord}}
template.
Parameter | Definition |
---|---|
map |
Name of location map template. For example, specify France to use the values in Module:Location map/data/France. See Template:Location map#Available map templates.
|
map_width |
Width to display the map image. Default is 250, maximum is 264. For example map_width=220 (not map_width=220px ).
|
relief |
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.
|
map_alt |
Alternative text for the map image, see WP:ALT. |
map_caption |
Text displayed below the map image, if required. |
mark |
The image to use for the marker. The default is Red pog.svg. See Template:Infobox map#Marks for more information. |
marker_width |
The display width of the marker image in pixels. Default = 8. |
label |
Text that will be displayed next to the marker. Works with label_position below. Seldom used.
|
label_position |
Specifies the position of a label with respect to the marker. Valid values are left , right , top and bottom . See label above.
|
The parameters below are used to enter the data that can be entered in {{Coord}} .
| |
lat_d |
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. |
lat_m |
The minutes of latitude. |
lat_s |
The seconds of latitude. |
lat_NS |
N if north of the equator, S if south of the equator. Other values will be disregarded. |
long_d |
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. |
long_m |
The minutes of longitude. |
long_s |
The seconds of longitude. |
long_EW |
E if East of the prime meridian, W if west of the prime meridian. Other values will be disregarded. |
type |
Type is one way to specify the scale of maps generated by external map websites. See WP:COORD TYPE for valid values. The default value is landmark which is most appropriate for caves. This parameter and the three below help GeoHack in selecting suitable map resources.
|
scale |
Determines the zoom factor for external map websites. See WP:COORD SCALE. Using scale=50000 will change the zoom factor to 1:50,000.
|
region_code |
A country 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 WP:COORD REGION. |
source |
Source of the coordinate data. See WP:COORD SOURCE. It will not be displayed. |
format |
Determines the format used to the display coordinates. Valid values are dms for degrees, minutes and seconds, and dec for decimal degrees. The default is dms .
|
display |
Determines where the coordinates will be displayed. Valid values are inline and inline,title . The default is inline,title and is recommended.
|
coords_ref |
Used with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
|
Location map templates can be found using these sources:
- List of templates - 1050 templates available when the list was generated.
- ವರ್ಗ:Location map templates - templates sorted by category.
- Special:Prefixindex/Template:Location map - a search that might help.
- Special:WhatLinksHere/Template:Location map/Info - 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 assign to the parameter, map
, is the area name. The map template for the for France is {{Location map France}}
. In this case specify map=France
.
Forest of Halatte Forêt d'Halatte | |
---|---|
ಭೂಗೋಳ | |
ಸ್ಥಳ | Picardy, France |
ಕಕ್ಷೆಗಳು | 49°14′45″N 2°34′15″E / 49.24583°N 2.57083°E |
{{Infobox forest | name = Forest of Halatte | native_name = Forêt d'Halatte | map = France | map_caption = | relief = yes | location = [[Picardy]], France | lat_d = 49 | lat_m = 14 | lat_s = 45 | lat_NS = N | long_d = 2 | long_m = 34 | long_s = 15 | long_EW = E | region = FR | display = inline }}
Display a marker on any map image
ಬದಲಾಯಿಸಿTo display a marker on any map use the x
and y
parameters.
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:
- 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 mouse cursor points to the desired location. Use these values directly.
- 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 mouse cursor points to the location. Then:
- 1000 · x'/w = x and 1000 · y'/w = y
- where x' and y' are the mouse 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
andy
parameters.
- where x' and y' are the mouse cursor coordinates, w is the width of the image displayed on your computer and x and y are the values to assign to the
These computed coordinates are relative and will work even if the width of the image displayed in an article is changed by another user. Using simple pixel coordinate values would not have this advantage. Note that Wikipedia does not allow the aspect ratio of an image to be altered.
In the example below the marker is 52.4% of the way across the map from the left side and 20.2% of the way down from the top.
Forest of Halatte | |
---|---|
ಭೂಗೋಳ | |
ಸ್ಥಳ | Picardy, France |
ಕಕ್ಷೆಗಳು | 49°14′45″N 2°34′15″E / 49.24583°N 2.57083°E |
{{Infobox forest | name = Forest of Halatte | map = France location map-Regions and departements 1975-2014.svg | location = [[Picardy]], France | coords = {{coord|49|14|45|N|2|34|15|E|format=dms|type:forest_region:FR}} | x = 524 | y = 202 }}
Parameters for use in articles about forests of the British Isles
ಬದಲಾಯಿಸಿField name | Description |
---|---|
grid_ref_UK |
If the forest is in Great Britain, the British grid reference. |
grid_ref_Ireland |
If the forest in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. |
See also
ಬದಲಾಯಿಸಿ