User:GrampaSwood/Template:Units

From Team Fortress Wiki
Jump to: navigation, search

Documentation for GrampaSwood/Template:Units

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 hus converts to km/h and mp/h, if set to kph converts to Hu/s and mp/h, and if set to mph converts 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