Template:SIspeed/doc

This template displays a speed value given in US Customary Units and converts it to the corresponding SI (metric) units. It accepts a wide array of abbreviations and standardizes the output for both units.

Usage

 * value: Required. The numerical value in the original unit. Positive, negative, and zero values are accepted.
 * length unit: Required. The original unit of the distance dimension. Supported values are:
 * inches (accepted abbreviations: in, inch, inches, in., ")
 * feet (ft, feet, foot, ft.,  ' )
 * yards (yd, yard, yards, yd.)
 * miles (mi, mile, miles, mi.)
 * leagues (league, leagues)
 * fathoms (fathom, fathoms)
 * nautical miles (M, NM, nmi, nm)
 * time unit: Required. The original unit of the time dimension. Supported values are:
 * seconds (s, sec, second, seconds)
 * minutes (min, minute, minutes)
 * hours (h, hour, hours)
 * Alternatively, these two parameters may be replaced by a single parameter if the input unit is:


 * knots (kn, kt, knot, knots)


 * prefix: Optional. The desired SI prefix for the output. The template defaults to a unit with no prefix (such as meter, gram, cubic meter, etc.), but this can be overridden by selecting an appropriate prefix. Valid options are:
 * m
 * c
 * d
 * da
 * h
 * k
 * Note that, if the output has no prefix (such as in meters per second), this parameter must be explicitly left blank.


 * output time unit: Required. The desired unit of the output time dimension. Supported values are:
 * seconds (s, sec, second, seconds)
 * minutes (min, minute, minutes)
 * hours (h, hour, hours)


 * long: Optional. Not shown above. Set this to any value (typically yes) to have the output displayed in long form without abbreviating units.

Examples
Note that, if the input is given in nautical miles per hour, the template automatically converts it to knots.