Template:M to ft
From Wikipedia, the free encyclopedia
- Usage
- {{m to ft | num | abbr | spell | precision | wiki}}
- Examples
- Manual of Style notation: {{m to ft|1000}} → 1,000 meters (3,281 ft)
- Short notation: {{m to ft|1000|abbr=yes}} → 1,000 m (3,281 ft)
- Full notation: {{m to ft|num=1000|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 1,000 metres (3,280.84 feet)
Italicized parameters are optional:
- num is a required parameter, which specifies the number of meters to be converted to feet. Please do not format this parameter; i.e., use 1234 instead of 1,234.
- 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 (meters, ft); yes will show the abbreviated names of the units (m, ft); and no will show the full names of the units (meters, feet). 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 0.
- 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
- {{ft to m}}
- {{convert}}
- {{m to ft in}}
- {{ft in to m}}