Jump to content

Template:Epi/doc

From Wikipedia, the free encyclopedia

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.

Use

[edit]

The syntax of this template is:

{{epi|var1|var2|var3|a=|d=|e=|l=|m=|r=|s=|date=}}

where:

  • var1 is a real number representing the topographic elevation in meters, # if sea level, or NA if not available
  • var2 is a real number representing the topographic prominence in meters, >500, or NA if not available
  • var3 is a real number representing the topographic isolation in kilometers, 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 default number of decimal places to display for elevation and prominence (default=0)
  • e is an optional integer representing the override number of decimal places to display for metric elevation (default=d)
  • 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
  • r is an optional integer representing the number of rows to span (default=1)
  • 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 data update

Examples

[edit]

The use of this template is illustrated in the sortable table below:

Peak Wikitext Elevation Prominence Isolation
Mount Everest {{epi|8848|8848|40008|date=October 7, 2015}} 8848 m
29,029 ft
8848 m
29,029 ft
40,008 km
24,860 mi
K2 {{epi|8614|4020|1315.59|date=October 7, 2015}} 8614 m
28,261 ft
4020 m
13,189 ft
1,316 km
817 mi
Kangchenjunga {{epi|8586|3922|124.32|date=October 7, 2015}} 8586 m
28,169 ft
3922 m
12,867 ft
124.3 km
77.2 mi

See also Mountain peaks of North America and the List of Ultras in Canada.

See also

[edit]