Jump to content

Template:Hands/doc

From Wikipedia, the free encyclopedia

A hand is a unit of length used to measure the height of horses and ponies. One hand is four inches, and a value of '12.3 hands' represents 12 hands + 3 inches (51 inches). This template converts hands into the equivalent heights in inches and centimetres.

Note: with hands, any fractional part (numbers and vulgar fractions after the period) are inches, not a decimal fraction of a hand. Hence '14.2 hands' means 14 hands, 2 inches, not 14+210 hands.

Usage

[edit]

Basic usage:

{{hands|14.2}} → 14.2 hands (58 inches, 147 cm)

The optional parameters include:|abbr=on to show "h" (or |abbr=hh to show "hh"), |r=2 to round inches and cm to 2 decimal places, |rinch=2 to round the inches only, or |rcm=2 to round the centimeters only, |lk=off to unlink the hands unit.

Input Output
{{hands|14.2}} 14.2 hands (58 inches, 147 cm)
{{hands|14.1+3/4}} 14.1 34 hands (57.75 inches, 147 cm)
{{hands|15.3|lk=off}} 15.3 hands (63 inches, 160 cm)
{{hands|15.3|abbr=h}} 15.3 h (63 inches, 160 cm)
{{hands|15.3|abbr=hh}} 15.3 hh (63 inches, 160 cm)
{{hands|14.1+1/2}} 14.1 12 hands (57.5 inches, 146 cm)
{{hands|14.1+1/2|r=0}} 14.1 12 hands (58 inches, 146 cm)
{{hands|14.1+1/2|r=1}} 14.1 12 hands (57.5 inches, 146.1 cm)
{{hands|14.1+1/2|r=2}} 14.1 12 hands (57.5 inches, 146.05 cm)
{{hands|14.1+1/2|rinch=0}} 14.1 12 hands (58 inches, 146 cm)
{{hands|14.1+1/2|rcm=2}} 14.1 12 hands (57.5 inches, 146.05 cm)
{{hands|15.1|-|16.3}} 15.1–16.3 hands (61–67 inches, 155–170 cm)
{{hands|14.2|to|16.1}} 14.2 to 16.1 hands (58 to 65 inches, 147 to 165 cm)
{{hands|14.2|any text here|16.1}} 14.2 any text here 16.1 hands (58 any text here 65 inches, 147 any text here 165 cm)

If the 'range' format is used, the text in the second parameter (such as "to") can take any text you wish to use, such as 'and', 'to' or –. When the range has a hyphen/dash or comma, then some spaces are omitted.

Hands can also be converted using {{convert}}, for example

  • {{convert|15.3|hands}} → 15.3 hands (63 inches; 160 cm); or
  • {{convert|15.3|hands|order=flip}} → 63 inches; 160 centimetres (15.3 h)

This could be useful when {{convert}} units or options are needed that are not in {{hands}}, such as the illustrated |order=flip.

Inverse

[edit]

To convert other measurements into hands, use {{convert}}:

  • Convert from cm: {{convert|148|to|152|cm|hand in|2}}148 to 152 centimetres (14.2+12 to 15.0 hands; 58+12 to 60 in)
  • Convert from inches: {{convert|60|to|62|in|hand cm|2}} → 60 to 62 inches (15.0 to 15.2 hands; 152.40 to 157.48 cm)

Using a full three-way conversion (hands, inches and centimeters) in all cases is strongly recommended, regardless of which measurement is given first.

Singular use (not recommended):

  • Convert from cm: {{convert|147|cm|hand in|2}} → 147 centimetres (14.2 hands; 58 in)
  • Convert from inches: {{convert|60|in|hand cm|1}} → 60 inches (15.0 hands; 152.4 cm)