Template:M3 to ft3/doc

From Wikipedia, the free encyclopedia

This is a documentation subpage for Template:M3 to ft3 (see that page for the template itself).
It contains usage information, categories and other content that is not part of the original template page.

This template is intended to perform cubic meter-to-cubic foot conversions. It converts single values and ranges.

Contents

[edit] Accepted parameters

Italicized parameters are optional:

  • from, or first unnamed parameter is a required parameter, which specifies the number of cubic meters to be converted to cubic feet, or start of range (for range conversions). Please do not format this parameter; e.g., use 1234 instead of 1,234.
  • to, or second unnamed parameter is a parameter specifying end of range in cubic meters to be converted to cubic feet. Please do not format this parameter; e.g., 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 (cubic feet, m³); yes will show the abbreviated names of the units (cu ft, m³); and no will show the full names of the units (cubic feet, cubic 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 "cubic meters", and Commonwealth—"cubic metres". The default value is American.
  • precision is the number of decimal digits in the converted value. The default value is 0 for converted values equal or more than 10, and 1 for converted values of less than 10.
  • 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.

[edit] Usage and examples

[edit] Single value conversion

Usage
{{m3 to ft3 | from | abbr | spell | precision | wiki}}
Examples
Manual of Style notation: {{m3 to ft3|100}} → 100 m³ (3,531 cubic feet)
Short notation: {{m3 to ft3|100|abbr=yes}} → 100 m³ (3,531 cu ft)
Full notation: {{m3 to ft3|100|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 100 cubic metres (3,531.47 cubic feet)

[edit] Range conversions

Usage
{{m3 to ft3 | from | to | abbr | spell | precision | wiki}}
Examples
Manual of Style notation: {{m3 to ft3|100|200|}} → 100–200 m³ (3,531–7,063 cubic feet)
Short notation: {{m3 to ft3|100|200|abbr=yes}} → 100–200 m³ (3,531–7,063 cu ft)
Full notation: {{m3 to ft3|from=100|to=200|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 100–200 cubic metres (3,531.47–7,062.93 cubic feet)

[edit] See also