Template:Unit weight: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(No difference)
|
Latest revision as of 12:52, 7 February 2014
This template displays discharge measurement units used within various Category:Geobox templates, automatically converting between metric/imperial values. The input must be unformatted numeric values (i.e. without commas, the commas are automatically added to the output).
It can display and convert following units:
- kg to lb (kilograms to pounds) and vice-versa
Usage
The template has 3 unnamed parameters: {{Unit weight| unit| value| round}}
. Their meaning is as follows:
- unit … obligatory, unit (
kg, lb
) of parametervalue
, it will get displayed first - value … obligatory, numerical value
- round … mandatory, number of decimal digits (negative numbers can be used for rounded figures); if not specified 0 is assumed
See also
The above documentation is transcluded from Template:Unit weight/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |