Difference between revisions of "Template:Hands"
(allows fraction; new options: abbr=on (or abbr=hh), r=1 to round inches/cm as 1 decimal, rinch=1 for inches, rcm=1 for cm. Fixed ranges, omits spaces if hyphen/dash or comma; shows more examples, etc.) |
m (1 revision: 1) |
(No difference)
|
Latest revision as of 19:20, 20 March 2012
1.1 hands (5 inches, 13 cm)
50px Template documentation
This template converts the height of a horse (or pony), 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.
The optional parameters include: abbr=on to show "h" (or abbr=hh to show "hh"), r=2 to round inches/cm to 2 decimal places, rinch=2 to round inches, or rcm=1 to round cm to 1 decimal.
Usage:
If the 'range' format is used, the text in the second parameter (such as "to") can take any value you wish to use, such as 'and', 'to' or –. When the range has a hyphen/dash or comma, then some spaces are omitted.
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |