Template:Infobox glacier: Difference between revisions
wp>Frietjes mNo edit summary |
m 1 revision imported |
(No difference)
|
Latest revision as of 19:09, 10 August 2020
This template uses Lua: |
This template can be used to create an infobox for an article about a glacier. It is part of the Glaciers WikiProject.
Usage
{{{name}}} | |
---|---|
{{{other_name}}} | |
[[File:{{{photo}}}|{{{photo_width}}}|alt={{{photo_alt}}}]] | |
Lua error in Module:Location_map at line 399: Malformed coordinates value. | |
Type | {{{type}}} |
Location | {{{location}}} |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found.{{{coords_ref}}} |
Area | {{{area}}} |
Length | {{{length}}} |
Width | {{{width}}} |
Thickness | {{{thickness}}} |
Highest elevation | {{{elevation_max}}} |
Lowest elevation | {{{elevation_min}}} |
Terminus | {{{terminus}}} |
Status | {{{status}}} |
{{{embedded}}} |
The markup below can be pasted into a new article. See below for working examples.
{{Infobox glacier | child = | name = | other_name = | photo = | photo_width = | photo_alt = | photo_caption = | map = <!-- or | map_image = --> | map_width = | map_alt = | map_caption = | type = | location = | coordinates = | coords_ref = | area = | length = | width = | thickness = | elevation_max = | elevation_min = | terminus = | status = | embedded = }}
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 image_name |
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 image_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 location map to be displayed. See Map display methods. To use a static image, use |map_image=
|
map_image |
The file name of a static map image to be displayed. To use a location map, use |map= .
|
map_width map_size |
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 functional only 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:Location map 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 coordinates
|
For the {{Coord}} template. Will generate a location marker if a map is used. See the Coord template documentation for information on adding type , source , format , region , and display data. Using display:inline,title is recommended.
|
coords_ref coordinates_ref |
Strongly recommended. Specify a citation for the coordinates using <ref>...</ref> tags.
|
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 {{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
.
Four Corners, Canada | |
---|---|
Lua error in Module:Location_map at line 399: Malformed coordinates value. | |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
{{Infobox glacier | name = Four Corners, Canada | map = Canada | map_caption = Example using geographic coordinates | coordinates = {{coord|60|N|102|W|display=inline <!-- for documentation page only - not general practice --> }} }}
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.
Using the {{Coord}} template for coordinates
Gannett Glacier | |
---|---|
Type | Mountain glacier |
Location | Fremont County, Wyoming, USA |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 3.63 km2 (897 acres) (in 1999) |
Terminus | Moraine |
Status | 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}} | 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 Module:Location_map at line 399: Malformed coordinates value. | |
Location | Iceland |
Coordinates | Lua error: callParserFunction: function "#coordinates" was not found. |
Area | 100 km2 (40 sq mi) |
Status | 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]] | coords = {{coord|63|38|N|19|36|W|display=inline|region:IS}} | area = {{convert|100|km2|sqmi|-1|abbr=on}} | map = Iceland | 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.