Template:Ft2 to m2
From Wikipedia, the free encyclopedia
- Usage
- {{ft2 to m2 | 1 | abbr | spell | precision | wiki}}
- Examples
- Manual of Style notation: {{ft2 to m2|10000}} → 10,000 square feet (930 m²)
- Abbreviated notation: {{ft2 to m2|10000|abbr=yes}} → 10,000 sq ft (930 m²)
- Fully spelled out notation: {{ft2 to m2|10000|abbr=no}} → 10,000 square feet (930 square meters)
Italicized parameters are optional:
- Either num or 1 (an unnamed parameter) is required. This specifies the number of square feet to be converted to square meters. Please do not format this parameter; i.e., use 1234 instead of 1,234.
- 2 (a second unnamed parameter) is optional. This specifies the number of square feet to be converted for the end of a range. Please do not format this parameter; i.e., use 1234 instead of 1,234.
- abbr can take values of either yes or no.
-
- yes
both unit names will be abbreviated i.e. sq ft and m² - no
both unit names will be spelt out i.e. square feet and square meters or square metres
- The default is to spell only the first unit name out as specified in the Manual of Style for dates and numbers i.e. square feet and m².
- spell can take values of Commonwealth, Com, C, BrE or UK. For any of these values the spelling square metre(s) will be used. The default spelling is square meter(s). This is only meaningful when abbr is set to no.
- precision is the number of decimal digits in the converted value. Defaulting to conversions to the most precise of the following.
-
- conversions rounded down one decimal place as compared to the input value
- note: Where a range is given the most precise of the inputs is used.
- note: One square foot is of comparable size to ten square meters.
- conversions rounded down one decimal place as compared to the input value
- or
- conversions rounded to two significant figures
- sigfig specifies the number of significant figures in the converted value.
- This overrides precision.
- Where the conversion is of a range it is the number of significant figures in the first value which is specified with the second being rounded to the same level of precision.
- max precision specifies the maximum precision to round to.
- min precision specifies the minimum precision to round to.
- 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.