Jump to content

Module:Mountains Prism/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by RedWolf (talk | contribs) at 05:17, 9 March 2025 (elevation order note). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Usage

{{#invoke:Mountains Prism|list|<unit>|<options>|<up to 500 mountains>}} where:

list

Invokes the list function.

unit

Indicates whether the mountain elevation is in metres or feet. Use "m" for metres and "ft" for feet. This also sets the units order in the elevation, prominence and isolation columns.

options

A list of comma separated options that determine what information is displayed in the table.

Option Purpose
coords Displays the coordinates from Wikidata.
country Displays the country or countries from Wikidata. For multiple countries, the names will be comma separated.
custom1 Allows the inclusion of a custom field which is given in the mountains parameters. This field will be display immediately preceding the elevation column. To specify a column title, use any text after a colon. e.g. custom1:Easiest Route
custom2 Like custom1 but the field will be displayed before the coordinates if coordinates has been requested. Otherwise, it will be the last column in the table. As in custom1, a column title can be given.
fa Displays the First Ascent Date (year only) from Wikidata. If the FA is not defined on Wikidata or is set to Unknown, "Unk" will be displayed.
isolation Displays the topographic isolation from Wikidata. The values are displayed in kilometres and miles.
name Overrides the default title for the name column. Specify the title by preceding it with a colon.
order Overrides the default ranking order based on elevation. To rank by prominence, use ":prom".
prom Displays the prominence in metres and feet from Wikidata.
range Displays the mountain range from Wikidata. The range will only be wiki-linked if it has a page on this Wikipedia and it's the first one. The default column title can be overridden by specifying text after a colon. e.g. range:Sub-range
rank Displays the rank number based on a mountain's elevation. Mountains at the same elevation will be given the same ranking. To rank based on prominence, see the order option.
tcoords Displays the titled coordinates from Wikidata. This is used in conjunction with {{Geogroup}}.

The default column titles can be overridden by appending a colon character followed by custom text after an option. The following options support setting a custom column title: name, country, coords, tcoords, range, custom1, custom2.

up to 500 mountains

Basic information about each mountain: elevation and page name. The elevation and page need to be delimited by the caret character i.e. ^. Following the options, specify a mountain on its own line as a parameter. Up to three fields can be specified here but the first two are mandatory. The first field is the elevation and the second field is the wiki-linked page name. The field separator is the caret character. If custom1 or custom2 is set in the options, the third field provides the value of the custom field. Note that the mountains should be listed in descending order based on elevation unless the ranking order is by prominence. Mountains at the same elevation should by convention, be given in alphabetical order.

e.g.

|3543^[[Mount Temple (Alberta)|Mount Temple]]^Moderate scramble on SW face
|3492^[[Mount Hungabee|Hungabee Mountain]]^[[International Climbing and Mountaineering Federation|UIAA]] III 5.4 on West ridge
|3464^[[Mount Victoria (Bow Range)|Mount Victoria]]^UIAA II on SE ridge, South Summit

Examples

Prominence, FA, titled coordinates, custom note

Typically this configuration is used to list the mountains of a mountain range.

{{#invoke:Mountains Prism|list|m|prom,fa,tcoords,custom2:Easiest route
|3543^[[Mount Temple (Alberta)|Mount Temple]]^Moderate scramble on SW face
|3492^[[Mount Hungabee|Hungabee Mountain]]^[[International Climbing and Mountaineering Federation|UIAA]] III 5.4 on West ridge
|3464^[[Mount Victoria (Bow Range)|Mount Victoria]]^UIAA II on SE ridge, South Summit
|3424^[[Deltaform Mountain]]^UIAA II 5.5 on NW ridge
|3423^[[Mount Lefroy]]^UIAA II on West face
|3348^[[Mount Huber]]^
}}

generates:

"name" option is required

Rank, prominence, range, FA, custom note

{{#invoke:Mountains Prism|list|m|rank,prom,range,fa,custom2:Notes<!--,debug,-->
|3954^[[Mount Robson]]^Highest point in the Canadian Rockies[1]
|3747^[[Mount Columbia (Canada)|Mount Columbia]]^Highest point in [[Alberta]]<ref name=columbia/>
|3730^[[North Twin Peak]]^Highest peak of The Twins Massif
|3664^[[Mount Clemenceau]]^Named for [[Georges Clemenceau]], premier of France during WWI
|3619^[[Mount Alberta]]^Most difficult +11,000 climbing objective<ref name=alberta/>

generates:

"name" option is required

Note

There is no helper template to invoke this module.

  1. ^ Cite error: The named reference robson was invoked but never defined (see the help page).