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

Template:Epi/moft

  • Language
  • Watch
  • View source
< Template:Epi
Template documentation[view] [edit] [history] [purge]

Use

This subtemplate is used by {{Epi}}. It creates one sortable cell of a sortable table displaying a measurement formatted in meters followed with the same measurement formatted in international feet (of exactly 0.3048 meters).

The syntax of this template is:

{{moft|var1|a=|d=|e=|l=|p=|r=|s=}}

where:

  • var1 is a real number representing the measurement in meters (may not contain a thousands separator), # for sea level, 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 of feet to display (default=0)
  • e is an optional integer representing the number of decimal places of meters to display (default=0)
  • l is an optional lines parameter:
    • l=1 yields a single-line display
    • l=2 yields a double-line display (default)
  • p is an optional prefix to display before each number, e.g. about , ~, >, < (default is no prefix)
  • 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

See also

  • This template invokes Template:Ntsh and Template:Rnd.
  • This template is invoked by Template:Epi.
  • This template is compatible with Template:Epi/kmomi.
  • Template:Epi/ftom functions the same as this template except feet are displayed first for United States data.
  • 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/moft&action=history previous editors].
The above documentation is transcluded from Template:Epi/moft/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://enwiki.freddythechick.net/index.php?title=Template:Epi/moft&oldid=3851263"
Last edited on 28 September 2015, at 18:39

Languages

      This page is not available in other languages.

      English Wikipedia @ Freddythechick
      • This page was last edited on 28 September 2015, at 18:39.
      • Content is available under Creative Commons Attribution-ShareAlike 4.0 unless otherwise noted.
      • About English Wikipedia @ Freddythechick
      • Desktop