Template:Km2 to acre

From Self-sufficiency
Revision as of 23:34, 22 July 2010 by ScottAlanHill (Talk) (Tweaking)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Usage
{{km2 to acre | num | abbr | spell | precision | wiki}}
Examples
Manual of Style notation: {{km2 to acre|10000}} → 10,000 km2 (2,471,053.8 acres)
Short notation: {{km2 to acre|10000|abbr=yes}} → 10,000 km2 (2,471,053.8 acres)
Full notation: {{km2 to acre|num=10000|abbr=no|spell=Commonwealth|precision=4|wiki=yes}} → 10,000 square kilometres (2,471,053.8147 acres)

Italicized parameters are optional:

  • num is a required parameter, which specifies the number of acres to be converted to square kilometers. 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 (acres, km2); yes will show the abbreviated names of the units (acres, km2); and no will show the full names of the units (acres, square kilometers). 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 "kilometers", and Commonwealth—"kilometres". 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