Template:Convert/doc

From Wikishire
Revision as of 12:50, 11 October 2012 by Root (talk | contribs)
Jump to navigation Jump to search

Template:Mbox THIS DOES NOT WORK YET BUT WE ARE GETTING THERE

The Template will convert between units of measurement. The basic format is:

{{convert | [value] | [unit] | [unit to convert to] | [how many decimal places] }}

The third and fourth elements (the "output unit" and the rounding figure) may be omitted, in which case the programme will choose a normal counterpart for the input unit and will assume all is rounded to 1 decimal place.

Thus {{convert|1,000|ft}}
will produce: 1,000 feet (304.8 m)

If one of the units is imperial, the programme will always put that one first.