Template:Infobox mountain/doc: Difference between revisions

From RabastorWiki
Jump to navigation Jump to search
m (1 revision)
 
(No difference)

Latest revision as of 12:59, 18 June 2015

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

Usage

The following parameters can be used to create a mountain infobox. Please remove any parameters that are not likely to be useful.

{{Infobox mountain
| name              = 
| other_name        = 
| photo             = 
| photo_size        = 
| photo_alt         = 
| photo_caption     = 
| map               = 
| map_alt           = 
| map_border        =
| map_caption       = 
| map_relief        = 
| map_size          = 
| location          = 
| label             = 
| label_position    = 
| lat_d             = 
| lat_m             = 
| lat_s             = 
| lat_NS            = 
| long_d            = 
| long_m            = 
| long_s            = 
| long_EW           = 
| x                 = 
| y                 =
| elevation         = 
| elevation_m       = 
| elevation_ft      = 
| elevation_ref     = 
| prominence        = 
| prominence_m      = 
| prominence_ft     = 
| prominence_ref    = 
| isolation         =
| isolation_km      =
| isolation_mi      =
| isolation_ref     =
| parent_peak       = 
| listing           = 
| translation       =
| language          =
| pronunciation     =
| range             = 
| coordinates       = 
| coordinates_ref   = 
| topo              = 
| grid_ref_UK       = 
| grid_ref_Ireland  = 
| coord_type        =
| region            = 
| scale             =
| source            =
| format            =
| display           =
| type              = 
| age               = 
| volcanic_arc      =
| volcanic_belt     =
| volcanic_field    =
| volcanic_arc/belt =
| last_eruption     = 
| first_ascent      = 
| easiest_route     = 
| normal_route      =
| access            =
| child             =
| embedded          = 
}}

Parameter descriptions

Only the name and elevation fields are required. All other fields are optional and will not display if not present in the template or do not have any value.

Parameter Description
name Name of the mountain, peak or hill. If more than one mountain by the name exists, the article is likely disambiguated but this name in the infobox should be the undisambiguated name. For example, Mount Columbia (for Mount Columbia (Canada) or Mount Columbia (Colorado). An elevation must be supplied.
other_name Other name for the mountain if relatively well known. For example, Denali for Mount McKinley. Quotes can be used as normal to italicize or bold the text if desired.
photo Photograph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit. Do not include the "File:" prefix. If uploading a new image, please put them on Commons so they can be easily used by the other language Wikipedias. If the only image available is less than 280px wide, you can use the photo_size parameter to indicate its size.
photo_size Specify the width of the photo in pixels. For example photo_size = 200 with no "px". If no value is specified, the default width is 272 pixels. A standard horizontal photographic composition will generally display well at the max value of 280px. A standard vertical composition may need to be adjusted to 180 or 220 pixels.
photo_alt Alt text for the photo, primarily for visually impaired readers. See Wikipedia:Alternative text for images.
photo_caption Description of the photograph which is displayed below. Include the month and year if known.
map The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinate fields (e.g. lat_d and long_d) position a pushpin coordinate marker and label on the map automatically. Example see: Mount Everest
map_alt Alt text for the map, primarily for visually impaired readers. See Alt text for maps.
map_caption Fill out if a map caption is desired. If not specified, location will be used.
map_relief If a location map template is specified, this template will attempt to display a relief map if one is available. To force the default map image to display use |map_relief=0.
map_size Must be entered as only a number—no need for px. The default value and maximum is 272.
location Province or state first, followed by country. For US mountains, the county is optional but if given, be provided before the state. If a pushpin map is being used, the location will be used for the map's caption unless the map_caption parameter is set.
label Label to be used for the mountain's location on the map. If not specified, the value of the name parameter is used.
label_position The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}. If this field is not specified, the default value is right.
lat_d Latitude degrees. Can also be used for decimal degrees.
lat_m Latitude minutes.
lat_s If known, latitude seconds.
lat_NS N for North; S for South.
long_d Longitude degrees. Can also be used for decimal degrees.
long_m Longitude minutes.
long_s If known, longitude seconds.
long_EW E for East; W for West.
x
y
Specifies the position of the location marker when the X,Y method for map display is used. The coordinates of the marker in pixels based on a map width of 1000 pixels. The template will scale these values for proper display. See {{Infobox map}} for further details.
elevation Maximum height of the mountain. If the mountain has multiple high points, use the highest. Metres should be used first for all mountains outside of the United States and feet for those within the U.S. For conversions, use elevation_m for metres to feet or elevation_ft for feet to metres. This field is required.
elevation_ref Reference for the elevation using the standard <ref> </ref> tags. If elevation_m/elevation_ft was used, the reference must be supplied using this parameter.
prominence The clean topographic prominence of the summit. For conversions, use prominence_m for metres to feet or prominence_ft for feet to metres.
prominence_ref Reference for the prominence using the standard <ref> </ref> tags.
parent_peak In computation of prominence, peaks form a hierarchy: this is the parent of the peak in the hierarchy. For more information, see Line parent.
listing Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples.
translation If the peak name is not English, the English translation.
language The language of the translation.
pronunciation Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPA-en}} for English.)
range Mountain range if applicable. The specific range subgroup should be provided instead of any major mountain system unless there is no applicable subgroup. For example, use Teton Range and not Rocky Mountains or Bernese Alps not Alps.
coordinates The latitude and longitude of the summit using the {{coord}} template with display=inline,title. If the article uses a geolinks template in the external links section, do not use the display parameter. Note that using lat_d and long_d will cause this parameter to be ignored.
coordinates_ref For any references regarding the coordinates reported. <ref> </ref> tags must be used.
topo The name of the topographic map showing the mountain. In Canada, this is usually the National Topographic System map number while for the USA, it's the map name from the USGS.
grid_ref_UK If the mountain is in Great Britain, the British grid reference. For mountains outside of Great Britain, this field is not applicable and therefore should be removed if it is present.
grid_ref_Ireland If the mountain is in Ireland (whether Northern Ireland or the Republic), the Irish grid reference. For mountains outside Ireland, this field is not applicable and therefore should be removed if it is present.
region Either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code. See region.
source The source of the coordinate data. See source.
type The type of mountain — see List of mountain types.
age Age of the rock. Geologic time scales may be useful here.
volcanic_arc
volcanic_belt
volcanic_field
volcanic_arc/belt
If the mountain is a volcano, the arc, belt or field in which it is situated. Each parameter displays an appropriate label.
last_eruption The date of the last eruption if the mountain is of volcanic origin. Only use Unknown if a verifiable source such as the Global Volcanism Program states it as such.
first_ascent Date of the first ascent, if known. Typically, this is the first recorded ascent but not necessarily the first true ascent. If it is quite probable the peak/mountain was ascended by local people before then, a footnote should be added.
easiest_route The easiest route to the summit. Some possibilities include Hike, Scramble or any of the YDS grades.
child "yes" if the mountain infobox is embedded inside another Infobox
embedded value = another Infobox to place within the mountain infobox. The other infobox will show up at the end of the mountain infobox. The other infobox needs to have its "embed" or "child" parameter set to 1 or yes, as appropriate.
Extended parameter listing

Used to create a mountain infobox, based on the basic infobox format.

Template parameters

ParameterDescriptionTypeStatus
Namename

Name of the mountain, peak or hill. If more than one mountain by the name exists, the article is likely disambiguated but this name in the infobox should be the undisambiguated name. For example, Mount Columbia (for Mount Columbia (Canada) or Mount Columbia (Colorado). An elevation must be supplied.

Stringrequired
Photophoto

Photograph of the mountain. Preferably a distance shot to show most/all of the mountain rather than a view from the summit. Do not include the "File:" prefix. If uploading a new image, please put them on Commons so they can be easily used by the other language Wikipedias. If the only image available is less than 280px wide, you can use the photo_size parameter to indicate its size.

Stringoptional
Photo altphoto_alt

Alt text for the photo, primarily for visually impaired readers. See Wikipedia:Alternative text for images.

Stringoptional
Photo captionphoto_caption

Description of the photograph which is displayed below. Include the month and year if known.

Stringoptional
Mapmap

The name of a location map as per Template:Location map (e.g. Indonesia or Russia). The coordinate fields (e.g. lat_d and long_d) position a pushpin coordinate marker and label on the map automatically. Example see: Mount Everest

Stringoptional
Map altmap_alt

Alt text for the map, primarily for visually impaired readers. See [[Wikipedia:Alternative text for images#Maps]].

Stringoptional
Map captionmap_caption

Fill out if a map caption is desired. If not specified, location will be used.

Stringoptional
Locationlocation

Province or state first, followed by country. For USA, the county is optional but if given, be provided before the state. If a pushpin map is being used, the location will be used for the map's caption unless the map_caption parameter is set.

Stringoptional
Map reliefmap_relief

If a location map template is specified, this template will attempt to display a relief map if one is available. To force the default map image to display set to 0.

Stringoptional
Labellabel

Label to be used for the mountain's location on the map. If not specified, the value of the name parameter is used.

Stringoptional
Label positionlabel_position

The position of the label on the pushpin map relative to the pushpin coordinate marker. Valid options are {left, right, top, bottom, none}.

Default
right
Lineoptional
Latitude degreeslat_d

Latitude degrees. Can also be used for decimal degrees.

Stringoptional
Latitude minuteslat_m

Latitude minutes.

Stringoptional
Latitude secondslat_s

If known, latitude seconds.

Stringoptional
Latitude North/Southlat_NS

N for North; S for South.

Lineoptional
Longitude degreeslong_d

Longitude degrees. Can also be used for decimal degrees.

Stringoptional
Longitude minuteslong_m

Longitude minutes.

Stringoptional
Longitude secondslong_s

If known, longitude seconds.

Stringoptional
Latitude East/Westlong_EW

E for East; W for West.

Lineoptional
Xx

Specifies the X position of the location marker when the X,Y method for map display is used. The coordinates of the marker in pixels based on a map width of 1000 pixels. The template will scale these values for proper display. See {{Infobox map}} for further details.

Lineoptional
Yy

Specifies the Y position of the location marker when the X,Y method for map display is used. The coordinates of the marker in pixels based on a map width of 1000 pixels. The template will scale these values for proper display. See {{Infobox map}} for further details.

Lineoptional
Elevationelevation

Maximum height of the mountain. If the mountain has multiple high points, use the highest. Metres should be used first for all mountains outside of the United States and feet for those within the U.S. For conversions, use elevation_m for metres to feet or elevation_ft for feet to metres. This field is required.

Stringoptional
Elevation (meters)elevation_m

Maximum height of the mountain, metres.

Stringoptional
Elevation (feet)elevation_ft

Maximum height of the mountain, feet.

Stringoptional
Elevation refelevation_ref

Reference for the elevation using the standard <ref> </ref> tags. If elevation_m/elevation_ft was used, the reference must be supplied using this parameter.

Stringoptional
Prominenceprominence

The clean topographic prominence of the summit. For conversions, use prominence_m for metres to feet or prominence_ft for feet to metres.

Stringoptional
Prominence (meters)prominence_m

The clean topographic prominence of the summit, metres.

Stringoptional
Prominence (feet)prominence_ft

The clean topographic prominence of the summit, feet.

Stringoptional
Prominence refprominence_ref

Reference for the prominence using the standard <ref> </ref> tags.

Stringoptional
Parent peakparent_peak

In computation of prominence, peaks form a hierarchy: this is the parent of the peak in the hierarchy. For more information, see Line parent.

Stringoptional
Listinglisting

Name of a relevant list of mountains that the peak belongs to. See List of mountain lists for examples.

Stringoptional
Translationtranslation

Translation of the mountain's name.

Stringoptional
Languagelanguage

Original language of mountain name.

Stringoptional
Pronunciationpronunciation

Use an appropriate IPA-xx template, replacing 'xx' with the ISO code for the language. (See {{IPA-en}} for English.)

Stringoptional
Rangerange

Mountain range if applicable. The specific range subgroup should be provided instead of any major mountain system unless there is no applicable subgroup. For example, use Teton Range and not Rocky Mountains or Bernese Alps not Alps.

Stringoptional
Coordinatescoordinates coords

The latitude and longitude of the summit using the {{coord}} template with display=inline,title. If the article uses a geolinks template in the external links section, do not use the display parameter. Note that using lat_d and long_d will cause this parameter to be ignored.

Stringoptional
Topotopo

Topographic map

Stringoptional
Grid ref (UK)grid_ref_UK

Direct url to Ordnance Survey National Grid (UK) for the mountain, passed to {{gbm4ibx}}.

Stringoptional
Grid ref (Ireland)grid_ref_Ireland

Direct url to Ordnance Survey National Grid (Ireland) for the mountain, passed to {{iem4ibx}}.

Stringoptional
Coordinate typecoord_type

Type, from [[Wikipedia:WikiProject Geographical coordinates/type:]].

Default
mountain
Stringoptional
Regionregion

Either a two character ISO 3166-1 alpha-2 country code or an ISO 3166-2 region code. See [[Wikipedia:COORD REGION]].

Lineoptional
Mountain widthdim

Width of the mountain, see [[Wikipedia:WikiProject Geographical coordinates/dim:]].

Stringoptional
Scalescale

Scale of the mountain, see [[Wikipedia:WikiProject Geographical coordinates/scale:]].

Stringoptional
Sourcesource

The source of the coordinate data. See [[Wikipedia:COORD SOURCE]].

Stringoptional
Formatformat

Format to display degrees in the coordinate listing. dms for degree, minutes, second output (the default), or dec for decimal degree output.

Default
dms
Lineoptional
Coordinates refcoordinates_ref

For any references regarding the coordinates reported. <ref> </ref> tags must be used.

Stringoptional
Typetype

The type of mountain — see List of mountain types.

Lineoptional
Ageage

Age of the rock. Geologic time scales may be useful here.

Lineoptional
Volcanic arcvolcanic_arc

If the mountain is a volcano, arc in which it is situated.

Stringoptional
Volcanic beltvolcanic_belt

If the mountain is a volcano, belt in which it is situated.

Stringoptional
Volcanic fieldvolcanic_field

If the mountain is a volcano, field in which it is situated.

Stringoptional
Volcanic arc/beltvolcanic_arc/belt

If the mountain is a volcano, arc/belt in which it is situated.

Stringoptional
Last eruptionlast_eruption

The date of the last eruption if the mountain is of volcanic origin. Only use Unknown if a verifiable source such as the Global Volcanism Program states it as such.

Stringoptional
First ascentfirst_ascent

Date of the first ascent, if known. Typically, this is the first recorded ascent but not necessarily the first true ascent. If it is quite probable the peak/mountain was ascended by local people before then, a footnote should be added.

Stringoptional
Easiest routeeasiest_route

The easiest route to the summit. Some possibilities include Hike, Scramble or any of the YDS grades.

Stringoptional
Embeddedembedded

Another Infobox to place within the mountain infobox. The other infobox will show up at the end of the mountain infobox. The other infobox needs to have its "embed" or "child" parameter set to 1 or yes, as appropriate.

Stringoptional
Childchild

"yes" if the mountain infobox is embedded inside another Infobox

Lineoptional
Other nameother_name native_name

Other name for the mountain if relatively well known. For example, Denali for Mount McKinley. Quotes can be used as normal to italicize or bold the text if desired.

Stringoptional
Map widthmap_size map_width

Width of the map, in pixels. Must be entered as a number. The default value is 250.

Default
250
Numberoptional
Photo sizephoto_size

Width of the photo, if less than 280px.

Numberoptional

General notes

Blank starter templates for various areas of the world (just copy and paste):

Examples

A mountain infobox without a map

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

{{Infobox mountain
| name          = Mount Shasta
| photo         = Mt_Shasta_from_the_northwest-750px.JPG
| photo_alt     = A large mountain rises in the distance over shrubs and trees, its peak covered with snow.
| photo_caption = Mount Shasta and Shastina from the Butte Valley (North-East)
| elevation     = {{convert|14179|ft|m|0}}
| location      = [[California]], USA
| range         = [[Cascade Range|Cascades]]
| prominence    = 
| coordinates   = {{coord|41|24|33|N|122|11|42|W|region:US-CA_type:mountain|display=inline,title}}
| topo          = [[United States Geological Survey|USGS]] Mount Shasta
| type          = [[Composite volcano]]
| age           = Less than 593 [[kiloannum|ka]]
| last_eruption = 1786
| first_ascent  = 1854 by E.D. Pearce and party
| easiest_route = rock/ice
| listing       = 
}}

A mountain infobox with a map

Lua error: Cannot create process: proc_open(/home4/iltornan/lua/error.log): Failed to open stream: No such file or directory

{{Infobox mountain
| name            = K2
| photo           = K2 2006b.jpg
| photo_alt       = A large angular white mountain, with steeply sloped sides mostly covered with snow.
| photo_size      = 260
| photo_caption   = K2 in Summer
| elevation_m     = 8611
| elevation_ref   = 
| prominence_m    = 4017
| listing         = [[Eight-thousander|2nd highest on Earth]]
| location        = [[Taxkorgan Tajik Autonomous County]], [[Xinjiang]], [[China]]/[[Northern Areas, Pakistan]]
| range           = [[Karakoram]]
| topo            = 
| first_ascent    = July 1954 by Lacedelli and Compagnoni
| easiest_route   = Rock, snow and ice climb
| map             = Pakistan
| label_position  = right
| map_alt         = K2 is located on the far northwest border of Pakistan, next to China
| map_caption     = Location on Pakistan/China border
| map_size        = 200
| coordinates_ref = 
| lat_d  = 35 | lat_m  = 52 | lat_s  = 57 | lat_NS  = N
| long_d = 76 | long_m = 30 | long_s = 48 | long_EW = E
}}

Microformat

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

See also

Hidden tracking/maintenance categories