Difference between revisions of "Template:Epi"
(now subtemplates of this) |
m (1 revision) |
(No difference)
|
Latest revision as of 04:18, 22 March 2014
Use
This template creates three consecutive sortable cells in a table row displaying the topographic elevation, topographic prominence, and topographic isolation of a topographic summit. This template has several format options.
The syntax of this template is:
{{epi|var1|var2|var3|a=|d=|l=|m=|s=|date=}}
where:
- var1 is a real number representing the topographic elevation in metres, or NA if not available
- var2 is a real number representing the topographic prominence in metres, >500, or NA if not available
- var3 is a real number representing the topographic isolation in kilometres, or NA if not available
- a is an optional alignment parameter:
- a=left yields left alignment
- a=center yields center alignment (default)
- a=right yields right alignment
- d is an optional integer representing the number of decimal places to display (default=0)
- l is an optional lines parameter:
- l=1 yields single-line display
- l=2 yields double-line display (default)
- m is an optional metric parameter:
- m=1 yields measurement in SI units followed by United States customary units (default)
- m=2 yields measurement in United States customary units followed by SI units
- s is an optional style parameter:
- s= yields regular style (default)
- s='' yields italic style
- s=''' yields bold style
- s=''''' yields bold italic style
- date is the optional date of last data update
Example
The use of this template is illustrated in the sortable table below:
Peak | Wikitext | Elevation | Prominence | Isolation |
---|---|---|---|---|
Mount Everest | {{epi|8848|8848|40008|date=March 9, 2012}} | !B9909120532762 8848 m 29,029 ft |
!B9909120532762 8848 m 29,029 ft |
!B9824954135072 40,008 km 24,860 mi |
K2 | {{epi|8614|4020|1315.8|date=March 9, 2012}} | !B9909388559343 8614 m 28,261 ft |
!B9917009628183 4020 m 13,189 ft |
!B9859100673964 1,316 km 818 mi |
Kanchenjunga | {{epi|8586|3922|123.99|date=March 9, 2012}} | !B9909421117512 8586 m 28,169 ft |
!B9917256429932 3922 m 12,867 ft |
!B9882720438038 124 km 77 mi |
See also Mountain peaks of North America and the List of Ultras in Canada.
See also
- This template has four subtemplates: Template:Epi/ftom, Template:Epi/kmomi, Template:Epi/miokm and Template:Epi/moft, which it invokes.
- This template also invokes Template:Nk, and Template:Rnd.
- This template is compatible with Template:Cmt, Template:Cmtr, and Template:Coord.
- See Mountain peaks of North America for an example.
- For help with this template, please contact the assigned maintenance group.
The above documentation is transcluded from Template:Epi/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |