ಟೆಂಪ್ಲೇಟು:Infobox glacier/doc
This is a documentation subpage for ಟೆಂಪ್ಲೇಟು:Infobox glacier 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 glacier. It is part of the Glaciers WikiProject.
Usage
[ಬದಲಾಯಿಸಿ]Aletsch Glacier | |
---|---|
Grosser Aletschgletscher | |
Lua error in ಮಾಡ್ಯೂಲ್:Location_map at line 526: Unable to find the specified location map definition: "Module:Location map/data/Switzerland" does not exist.Valais, Switzerland | |
ವರ್ಗ | Valley glacier |
ಕಕ್ಷೆಗಳು | 46°26′32″N 8°04′38″E / 46.44222°N 8.07722°E |
ಚದರಳತೆ | 117.6 km2 (45 sq mi) |
ಉದ್ದ | 23.6 km (15 mi) in 2002 |
ದಪ್ಪ | 900 m (2,953 ft) (Konkordiaplatz) |
ಸ್ಥಿತಿ | Retreating |
The markup below can be pasted into a new article. See below for working examples.
{{Infobox glacier | name = | other_name = | photo = | photo_width = | photo_alt = | photo_caption = | type = | location = | lat_d = | lat_m = | lat_s = | lat_NS = | long_d = | long_m = | long_s = | long_EW = | coords_ref = | map = | map_width = | map_alt = | map_caption = | region = | dim = | scale = | source = | format = | display = | area = | length = | width = | thickness = | terminus = | status = }}
Parameter descriptions
[ಬದಲಾಯಿಸಿ]This table describes all parameters which can be used in building infoboxes. Only the name
parameter must be assigned a value.
Parameter | Description |
---|---|
name |
Required. The name of the glacier 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 Columbia Glacier (Washington) then name=Columbia Glacier .
|
other_name |
If there is a common English name for the glacier use it 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.
|
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 of the image. The default and maximum value is 272px. 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 that will appear below the image if one is required. |
map |
The name of the map to be displayed. See Map display methods. |
map_width |
Can change the display width of the map. The default is 240px and the maximum width is 272px For example map_width=200 and not map_width=200px .
|
map_alt |
Alt text for the map. See WP:ALT. |
map_caption |
The caption that appears below the map if one is required. |
map_relief |
When map_relief=0, turns off relief maps. This is only functional when a location map template is used to display a map. See below. |
label |
A text message that will be displayed next to the marker. |
label_position |
Specifies the position of a label with respect to the marker. If a label_position is specified and label is not defined then the value assigned name will be displayed.
|
mark |
The image to use for the marker. The default is File:Red pog.svg. See Template:Infobox map#Marks for more information. |
mark_width |
The display width of the marker image in pixels. The default is 8. |
type |
The type of glacier. For example: Alpine, valley, or continental. See Glacier#Types of glaciers. |
location |
The location of the glacier. Don't be too precise. Mountain, county, state and country are good in the USA. If the glacier is in multiple counties just list the state and country. For areas in other countries adjust accordingly. |
coords |
For the {{Coord}} template. Will not generate a location marker if a map is used. 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. The defaults should be type:glacier and display:inline,title .
|
lat_d |
The degrees of latitude. This value can be specified as a decimal degree. If the decimal format is used then 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. If the decimal format is used then 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. |
coords_ref |
Can be used with either coordinate display method above. Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
|
scale |
Determines the zoom factor for external map websites. See scale. The value is 1:10,000 for the default type which is landmark . Using scale=50000 will change the zoom to 1:50,000.
|
region |
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 region. |
source |
Source of the coordinate data. See source. For example GNIS or NGS, etc. It will not be displayed. Not all possible values are recognized. |
format |
Determines the format of the coordinates displayed. Valid values are dms for degrees, minutes and seconds, and dec for decimal degrees. The default value is dms .
|
display |
Determines where the coordinates will be displayed. Valid values are inline and inline,title and their variants. The default is inline,title and is recommended.
|
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 glacier. Usually in acres for US locations and hectares elsewhere. The {{Convert}} template should be used. Very small glaciers might be specified in square yards or square metres.
|
length |
The length of the glacier. |
width |
The width of the glacier. |
thickness |
The thickness of the glacier. |
terminus |
The terminus of the glacier. |
status |
The status of the glacier. For example is the glacier receding. |
Wikilinks may be appropriate for some of the infobox fields.
Map display methods
[ಬದಲಾಯಿಸಿ]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 parameters lat_d
, long_d
, etc. 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.
- ವರ್ಗ:Location map templates - templates sorted by category.
- Special:WhatLinksHere/Template:Location map/Info - a 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 the Canada is Location map Canada. In this case specify map=Canada
.
Four Corners, Canada | |
---|---|
Example using geographic coordinates | |
ಕಕ್ಷೆಗಳು | 60°00′00″N 102°00′00″W / 60.00000°N 102.00000°W |
{{Infobox glacier | name = Four Corners, Canada | map = Canada | map_caption = Example using geographic coordinates | lat_d = 60 | lat_m = 00 | lat_s = 00 | lat_NS = N | long_d = 102 | long_m = 00 | long_s = 00 | long_EW = W }}
Display a marker on any map image using 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 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 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
andy
parameters.
- 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
Four Corners, Canada | |
---|---|
Example using the x and y parameters |
{{Infobox glacier | 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
[ಬದಲಾಯಿಸಿ]- 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 | |
---|---|
Example using the x% and y% parameters |
{{Infobox glacier | 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 }}
Infobox examples
[ಬದಲಾಯಿಸಿ]For more information on the use of mapping parameters, please see {{Infobox map}}
. This template uses the same parameter names.
Gannett Glacier | |
---|---|
ವರ್ಗ | Mountain glacier |
ಸ್ಥಳ | Fremont County, Wyoming, USA |
ಕಕ್ಷೆಗಳು | 43°11′48″N 109°39′02″W / 43.19667°N 109.65056°W |
ಚದರಳತೆ | 3.63 km2 (897 acres) (in 1999) |
ಟರ್ಮಿನಸ್ | Moraine |
ಸ್ಥಿತಿ | Retreating |
{{Infobox glacier | name = Gannett Glacier | photo = Gannet Peak with Gannett Glacier.jpg | photo_caption = Gannett Glacier on the north slope of [[Gannett Peak]] | type = Mountain glacier | location = [[Fremont County, Wyoming]], USA | coords = {{coord|43|11|48|N|109|39|02|W|region:US-WY_type:glacier|display=inline,title}} | area = {{convert|3.63|km2|acre|0|abbr=on}} (in 1999) | length = | thickness = | terminus = Moraine | status = Retreating }}
With a map
[ಬದಲಾಯಿಸಿ]Eyjafjallajökull | |
---|---|
Lua error in ಮಾಡ್ಯೂಲ್:Location_map at line 526: Unable to find the specified location map definition: "Module:Location map/data/Iceland" does not exist.Location in Iceland | |
ಸ್ಥಳ | Iceland |
ಕಕ್ಷೆಗಳು | 63°38′N 19°36′W / 63.633°N 19.600°W |
ಚದರಳತೆ | 100 km2 (40 sq mi) |
ಸ್ಥಿತಿ | Most recently (as of May 2010) |
{{Infobox glacier | name = Eyjafjallajökull | photo = Eyjafjallajokull Gigjokull in ash.jpg | photo_caption = Gígjökull, Eyjafjallajökull's largest [[Glacier morphology#Outlet glaciers|outlet glacier]] covered in volcanic ash | type = | location = [[Iceland]] | lat_d = 63 | lat_m = 38 | lat_NS = N | long_d = 19 | long_m = 36 | long_EW = W | region = IS | area = {{convert|100|km2|sqmi|-1|abbr=on}} | map = Iceland | relief = 1 | map_caption = Location in Iceland | length = | thickness = | terminus = | status = Most recently (as of May 2010) }}
Note that glaciers lying south of the equator and east of the Prime Meridian to the International Date Line will use "S" and "E" in their coordinates.
Microformat
[ಬದಲಾಯಿಸಿ]The articles created using this template include an hCard microformat. For more information read this.