Template:Ft3 to m3
From Edge of Darkness Wiki
Ft3 to m3
This template employs intricate features of template syntax. You are encouraged to familiarise yourself with its setup and parser functions before editing the template. If your edit causes unexpected problems, please undo it quickly, as this template may appear on a large number of pages. Remember that you can conduct experiments, and should test all improvements, in either the general Template sandbox or your user space before changing anything here. |
[edit] [ ] Template documentation
This template is intended to perform cubic foot-to-cubic meter conversions. It converts single values and ranges.
Contents |
Accepted parameters
Italicized parameters are optional:
- from, or first unnamed parameter is a required parameter, which specifies the number of cubic feet to be converted to cubic meters, or start of range (for range conversions). Please do not format this parameter; i.e., use 1234 instead of 1,234.
- to, or second unnamed parameter is a parameter specifying end of range in cubic feet to be converted to cubic meters. 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 (cubic feet, m3); yes will show the abbreviated names of the units (cu ft, m3); 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.
Usage and examples
Single value conversion
- Usage
- {{ft3 to m3 | from | abbr | spell | precision | wiki}}
- Examples
- Manual of Style notation: {{ft3 to m3|100}} → 100 cubic feet (2.8 m3)
- Short notation: {{ft3 to m3|100|abbr=yes}} → 100 cu ft (2.8 m3)
- Full notation: {{ft3 to m3|100|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 100 cubic feet (2.83 cubic metres)
Range conversions
- Usage
- {{ft3 to m3 | from | to | abbr | spell | precision | wiki}}
- Examples
- Manual of Style notation: {{ft3 to m3|100|200|}} → 100–200 cubic feet (2.8–5.7 m3)
- Short notation: {{ft3 to m3|100|200|abbr=yes}} → 100–200 cu ft (2.8–5.7 m3)
- Full notation: {{ft3 to m3|from=100|to=200|abbr=no|spell=Commonwealth|precision=2|wiki=yes}} → 100–200 cubic feet (2.83–5.66 cubic metres)
See also
The above documentation is transcluded from Template:Ft3 to m3/doc. (edit | history) Editors can experiment in this template's sandbox (create). Subpages of this template:
|