Template:Hands

From MidsouthMakers - Memphis Area Hackerpace
Jump to navigation Jump to search
Template documentation

This template converts the height of a horse, measured in hands, to the equivalent heights in inches and centimetres.

Important: any decimal part is interpreted as being in inches, not as a decimal fraction of a hand. Hence '14.2 hands' means '14 hands, 2 inches', not 142/10 hands.

Usage:

{{hands|14.2}}
{{hands|14.2|to|16.1}}

show:

14.2 hands (58 inches, 147 cm)
14.2 to 16.1 hands (58 to 65 inches, 147 to 165 cm)

If the 'range' format is used, the text in the second parameter can take any value you wish to use, such as 'and', 'to' or –. A space is appended either side of this parameter.