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.)
 * furlongs (furlong, furlongs)
 * 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)
 * minutes (min, minute, m)
 * hours (h, hr, hour)
 * days (d, day)
 * Alternatively, these two parameters may be replaced by a single parameter if the input unit is given as:


 * knots (kn, kt, knot, knots)
 * miles per hour (mile per hour, miles per hour, mph)


 * 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)
 * days (d, day)


 * 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.