User:GrampaSwood/Template:Units
Documentation for GrampaSwood/Template:Units
| A todo list has been written for this article. The specific instructions are:
|
Usage
{{Unit conversion|1|2}}
Parameters
- First unnamed parameter (1)
- The value to convert
- Second unnamed parameter (2)
- In which unit the value is. If set to
husconverts to km/h and mp/h, if set tokphconverts to Hu/s and mp/h, and if set tomphconverts to Hu/s and km/h.- Note: Converting to mp/h is only done on English articles. Converting from mp/h is possible on all articles, but should be avoided.
Example
{{Unit conversion|20|hus}} produces 20 Hu/s
{{Unit conversion|20|kph}} produces 20 kph
{{Unit conversion|20|mph}} produces 20 mph