• Home
  • Random
  • Log in
  • Settings
  • About English Wikipedia @ Freddythechick
English Wikipedia @ Freddythechick

Template:Epi/sandbox

  • Language
  • Watch
  • View source
< Template:Epi
__EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Epi (diff).
See also the companion subpage for test cases.
Template documentation[view] [edit] [history] [purge]
This template uses Lua:
  • Module:Epi

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

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

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

Peak Wikitext Elevation Prominence Isolation
Mount Everest align=center|8848 m
29,029 ft
8848 m
29,029 ft
40,008 km
24,860 mi</syntaxhighlight>
8848 m
29,029 ft
8848 m
29,029 ft
40,008 km
24,860 mi
K2 align=center|8614 m
28,261 ft
4020 m
13,189 ft
1,316 km
817 mi</syntaxhighlight>
8614 m
28,261 ft
4020 m
13,189 ft
1,316 km
817 mi
Kangchenjunga align=center|8586 m
28,169 ft
3922 m
12,867 ft
124.3 km
77.2 mi</syntaxhighlight>
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

  • 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:Ntsh, and Template:Rnd.
  • This template is compatible with Template:Mountain table cell, Template:Cmtr, and Template:Coord.
  • See the List of mountain peaks of North America for an example.
  • For help with this template, please post a comment on the template talk page with a {{reply to}} one or more of the [https:https://enwiki.freddythechick.net/index.php?title=Template:Epi/sandbox&action=history previous editors].
The above documentation is transcluded from Template:Epi/doc. (edit | history)
Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Epi/sandbox&oldid=719965"
Last edited on 15 October 2018, at 18:03

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 15 October 2018, at 18:03.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop