Difference between revisions of "Template:M2 to ft2"

From Self-sufficiency
Jump to: navigation, search
(unicode ² shouldn't be used per Wikipedia:MOSNUM#Unit_symbols)
 
m (1 revision: Conversion templates from wikipedia)
 
(No difference)

Latest revision as of 09:02, 19 September 2010

Usage
{{m2 to ft2 | num | abbr | spell | precision | wiki}}
Examples
Manual of Style notation: {{m2 to ft2|1000}} → 1,000 square meters (10,763.9 sq ft)
Short notation: {{m2 to ft2|1000|abbr=yes}} → 1,000 m2 (10,763.9 sq ft)
Full notation: {{m2 to ft2|num=1000|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 1,000 square metres (10,763.91 square feet)

Italicized parameters are optional:

  • num is a required parameter, which specifies the number of square meters to be converted to square 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 (square meters, sq ft); yes will show the abbreviated names of the units (m2, sq ft); and no will show the full names of the units (square meters, square 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 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