Template:Ft in to m

Boobpedia - Encyclopedia of big boobs
Jump to: navigation, search
[edit] Template-info.gif Template documentation
Ambox content.gif This template is used on 1,000+ pages.
To avoid any disruptions and to save server load, any changes should first be tested in this template's /sandbox or /testcases subpage, or in your own user space. The tested changes can then be added in one single edit to this template. As a courtesy to other users, please discuss any changes at the talk page before implementing them.
Usage
{{ft in to m | ft | in | abbr | spell | precision | wiki}}
Examples
Manual of Style notation: {{ft in to m|30|1}} → 30 feet 1 inch (9.2 m)
Short notation: {{ft in to m|30|1|abbr=yes}} → 30 ft 1 in (9.2 m)
Full notation: {{ft in to m|ft=30|in=1|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 30 feet 1 inch (9.17 metres)

Italicized parameters are optional:

  • ft, when not explicitly specified, is the first unnamed parameter of the template. To convert values such as "0 ft 10 in", set ft=0 ({{ft in to m|0|10...}}). Please do not format this parameter; i.e., use 1234 instead of 1,234.
  • in, when not explicitly specified, is the second unnamed parameter of the template. To convert values such as "10 ft 0 in", either set in=0 ({{ft in to m|10|0...}}), or omit this parameter (<nowiki>{{ft in to m|10...}}), or use {{Ft to m}} instead of this template.
  • abbr can take values of either mos, yes, or no. Mos will show the names of the units as specified in the Manual of Style for dates and numbers (x feet y inches, m); yes will show the abbreviated names of the units (x ft y in, m); and no will show the full names of the units (x feet y inches, meters). The default value is mos.
  • spell can take values of American or Commonwealth and is only meaningful when abbr is set to no. American will use "meters", and Commonwealth—"metres". The default value is American.
  • precision is the number of decimal digits in the converted value. The default value is 1.
  • wiki specifies whether the names of the units should be wikified or not and can take values of either yes or no. The default value is no.

Capitalization of the parameters is unimportant.

See also