Pređi na sadržaj

Šablon:Convert/testcases/bytype/length3 (hand)

S Vikipedije, slobodne enciklopedije

Hand (unit) is a measure of length used in WP:EQUINE for horse size (height).

This page tests {{convert/sandbox}} and {{hands/sandbox}}, which has a re-engineered "hand" unit handling (situation per 2013-12-29).

Overview

[uredi izvor]
(jezik: malajalam)
Hands to length only (not: length to hands).
Stand alone ("wrapper" for {convert} by functionality, shares some documentation)
{Hands} template after switchover to module:convert
Tested here
Uses {convert/sandbox}
Deprecated templates
We are testing {convert/sandbox} here.
Because this one is not used any more, it will not be tested here. It might be a reference, for earlier workings.
{{Convert/hands}} redirects to {Convert/hand}
Wrapper for previous {convert} template
Usage is unclear (not in mainspace, not called by {{Hands}}).
Will be deprecated once "hands" is OK in the module:convert.
See below, #Using {convert/2}
See also

Textual options

[uredi izvor]

Basic

  • {{convert/sandbox|hand|15.3|in cm}} → 15.3 hands (63 inches; 160 cm)
{{hands|15.3}} → 15,3 hands (63 inches, 160 cm)
{{hands/sandbox|15.3}} → 15,3 hands (63 inches, 160 cm)

Units hand, hands, h, hh in source (input)

[uredi izvor]
  • {{convert/sandbox|15.3|hand|in cm}} → 15.3 hands (63 inches; 160 cm)
{{hand|15.3}} → -- {{hand}} is not about {convert} Red XN
  • {{convert/sandbox|15.3|hands|in cm}} → 15.3 hands (63 inches; 160 cm) -- plural unit "hands" accepted
{{hands|15.3}} → 15,3 hands (63 inches, 160 cm)
{{hands/sandbox|15.3}} → 15,3 hands (63 inches, 160 cm)
{{hands|15.3}} → 15,3 hands (63 inches, 160 cm) Red XN -- no need to cover
{{hands/sandbox|15.3}} → 15,3 hands (63 inches, 160 cm) Red XN -- no need to cover

New in {convert}: "units" handlk, hhand, hhandlk. As source (input):

{{hands/sandbox|13|–|15.5|handlk|in cm}} → 137–156 hands (548–624 inches, 1392–1585 cm)
{{hands/sandbox|137|–|156|hhand|in cm}} → 137–156 hands (548–624 inches, 1392–1585 cm)
{{hands/sandbox|137|–|156|hhandlk|in cm|1}} → 137–156 hands (548–624 inches, 1392–1585 cm)

Abbreviated

[uredi izvor]

Hands to length Linked unit "h" should link to hand (unit)

  • {{convert/sandbox|15.3|hand|in cm|abbr=on}} → 15.3 h (63 in; 160 cm)
{{hands|15.3|abbr=on}} → 15,3 h (63 inches, 160 cm)
{{hands/sandbox|15.3|abbr=on}} → 15,3 h (63 inches, 160 cm)
  • {{convert/sandbox|15.3|hand|in cm|abbr=on|lk=off}} → 15.3 h (63 in; 160 cm)
{{hands|15.3|abbr=on|lk=off}} → 15,3 h (63 inches, 160 cm) --lk=off
{{hands/sandbox|15.3|abbr=on|lk=off}} → 15,3 h (63 inches, 160 cm) --lk=off

{Hands} doc: "abbr=hh shows hh"

  • {{convert/sandbox|15.3|hand|in cm|abbr=hh|lk=on}} → 15.3 hh (63 in; 160 cm)
{{hands|15.3|abbr=hh}} → 15,3 hh (63 inches, 160 cm)
{{hands/sandbox|15.3|abbr=hh}} → 15,3 hh (63 inches, 160 cm)

New in {convert}: "units" handlk, hhand, hhandlk. As source (input):

{{hands/sandbox|13|–|15.5|handlk|in cm|abbr=on}} → 137–156 h (548–624 inches, 1392–1585 cm)
{{hands/sandbox|137|–|156|hhand|in cm|abbr=on}} → 137–156 h (548–624 inches, 1392–1585 cm)
{{hands/sandbox|137|–|156|hhandlk|in cm|abbr=on|1}} → 137–156 h (548–624 inches, 1392–1585 cm)

Length to hands

  • {{convert/sandbox|153|in|hand in cm|abbr=hh|lk=on}} → 15.3 in (3.3 hh; 15.3 in; 39 cm)

New in {convert}. New units include the following variations on hands

[uredi izvor]

Default for {Hands} is: |lk=on

  • {{convert/sandbox|15.3|hand|in cm}} → 15.3 hands (63 inches; 160 cm)
{{hands|15.3|abbr=on}} → 15,3 h (63 inches, 160 cm)
{{hands/sandbox|15.3|abbr=on}} → 15,3 h (63 inches, 160 cm)
  • {{convert/sandbox|15.3|hand|in cm|lk=off|abbr=on}} → 15.3 h (63 in; 160 cm)
{{hands|15.3|lk=off|abbr=on}} → 15,3 h (63 inches, 160 cm)
{{hands/sandbox|15.3|lk=off|abbr=on}} → 15,3 h (63 inches, 160 cm)

New "units", lk=off

{{hands/sandbox|13|–|15.5|handlk|in cm|lk=off}} → 137–156 hands (548–624 inches, 1392–1585 cm)
{{hands/sandbox|13|–|15.5|handlk|in cm|lk=off}} → 137–156 hands (548–624 inches, 1392–1585 cm)
{{hands/sandbox|137|–|156|hhand|in cm|lk=off}} → 137–156 hands (548–624 inches, 1392–1585 cm)
{{hands/sandbox|137|–|156|hhandlk|in cm|1|lk=off}} → 137–156 hands (548–624 inches, 1392–1585 cm)


New "units", lk=on testing:|unit=hhandlk in hands/sandbox

{{hands/sandbox|13|–|15.5|handlk|in cm|lk=on}} → 137–156 hands (548–624 inches, 1392–1585 cm)
{{hands/sandbox|137|–|156|hhand|in cm|lk=on}} → 137–156 hands (548–624 inches, 1392–1585 cm)
{{hands/sandbox|137|–|156|hhandlk|in cm|1|lk=on}} → 137–156 hands (548–624 inches, 1392–1585 cm)

Adjective

[uredi izvor]
  • A {{convert/sandbox|15.3|hand|in cm|adj=on}} → A 15.3-hand (63-inch; 160 cm) horse
A {{hands|15.3|adj=on}} → A 15,3 hands (63 inches, 160 cm) horse
A {{hands/sandbox|15.3|adj=on}} → A 15,3 hands (63 inches, 160 cm) horse
Singular, plural
{{hands|1|lk=off}} → 1 hands (4 inches, 10 cm)
{{hands/sandbox|1|lk=off}} → 1 hands (4 inches, 10 cm)
{{hands|2|lk=off}} → 2 hands (8 inches, 20 cm)
{{hands/sandbox|2|lk=off}} → 2 hands (8 inches, 20 cm)

lk=in, abbr=in, range

[uredi izvor]
{{hands|137|–|162|cm|0|abbr=in|lk=in}} → 137–162 h (548–648 inches, 1392–1646 cm)
{{hands/sandbox|137|–|162|cm|0|abbr=in|lk=in}} → 137–162 h (548–648 inches, 1392–1646 cm)

Length to hands

[uredi izvor]
Not available through {{Hands}}
  • {{convert/sandbox|57|in|hand}} → 57 inches (14.1 hands) -- as with donkeys and miniature horses
  • {{convert/sandbox|137|cm|hand}} → 137 centimetres (13.2 hands)
  • {{convert/sandbox|137.1|cm|hand}} → 137.1 centimetres (13.2 hands)
  • {{convert/sandbox|137.2|cm|hand}} → 137.2 centimetres (13.2 hands)
  • {{convert/sandbox|137.5|cm|hand}} → 137.5 centimetres (13.2 hands)
  • {{convert/sandbox|137.9|cm|hand}} → 137.9 centimetres (13.2 hands)
  • {{convert/sandbox|138.4|cm|hand}} → 138.4 centimetres (13.2 hands)
  • {{convert/sandbox|138.5|cm|hand}} → 138.5 centimetres (13.3 hands)


  • {{convert/sandbox|2|m|hand}} → 2 metres (19.3 hands) -- "rare to use m instead of cm"
  • {{convert/sandbox|2.01|m|hand}} → 2.01 metres (19.3 hands)
  • {{convert/sandbox|2.02|m|hand}} → 2.02 metres (20.0 hands)
  • {{convert/sandbox|2.03|m|hand}} → 2.03 metres (20.0 hands)
  • {{convert/sandbox|1.67|m|hand in}} → 1.67 metres (16.2 hands; 66 in)
  • {{convert/sandbox|167|cm|hand in}} → 167 centimetres (16.2 hands; 66 in) -- compare
  • {{convert/sandbox|57.54|in|hand}} → 57.54 inches (14.2 hands)
  • {{convert/sandbox|57.44|in|hand}} → 57.44 inches (14.1 hands)
  • {{convert/sandbox|57.45|in|hand}} → 57.45 inches (14.1 hands)

Decimals in source (show feedback)

  • {{convert/sandbox|57.54|in|hand in cm}} → 57.54 inches (14.2 hands; 57.54 in; 146.2 cm)
  • {{convert/sandbox|57.44|in|hand in cm}} → 57.44 inches (14.1 hands; 57.44 in; 145.9 cm)
  • {{convert/sandbox|57.45|in|hand in cm}} → 57.45 inches (14.1 hands; 57.45 in; 145.9 cm)
  • {{convert/sandbox|57.45|in|hand in cm|4}} → 57.45 inches (14.1 12 hands; 57 12 in; 145.9230 cm) --precision=4

Fractions in source

  • {{convert/sandbox|57+1/2|in|hand in cm}} → 57 12 inches (14.2 hands; 57.5 in; 146 cm)
  • {{convert/sandbox|57+3/4|in|hand in cm}} → 57 34 inches (14.2 hands; 57.8 in; 147 cm)
  • {{convert/sandbox|57+3/8|in|hand in cm}} → 57 38 inches (14.1 hands; 57.4 in; 146 cm)
  • {{convert/sandbox|57+1/3|in|hand in cm}} → 57 13 inches (14.1 hands; 57.3 in; 146 cm)

Show precision

  • {{convert/sandbox|137|cm|hand|2}} → 137 centimetres (13.2 hands)
  • {{convert/sandbox|57+1/3|in|hand in cm|4}} → 57 13 inches (14.1 14 hands; 57 14 in; 145.6267 cm)

Hands to length

[uredi izvor]

Default outlist in {hands} is: |in cm

  • {{convert/sandbox|15.3|hand|in cm|lk=off}} → 15.3 hands (63 inches; 160 cm)
{{hands|15.3|lk=off}} → 15,3 hands (63 inches, 160 cm)
{{hands/sandbox|15.3|lk=off}} → 15,3 hands (63 inches, 160 cm)
  • {{convert/sandbox|14.1|hand|in cm}} → 14.1 hands (57 inches; 145 cm)
{{hands|14.1}} → 14,1 hands (57 inches, 145 cm)
{{hands/sandbox|14.1}} → 14,1 hands (57 inches, 145 cm)
  • {{convert/sandbox|14.1|hand|in}} → 14.1 hands (57 inches)
{{hands|14.1|in}} → 14,1 hands (57 inches, 145 cm) -- "will rarely be used"
{{hands/sandbox|14.1|in}} → 14,1 hands (57 inches, 145 cm)
  • {{convert/sandbox|14.1|hand|cm}} → 14.1 hands (145 cm)
{{hands|14.1|cm}} → 14,1 hands (57 inches, 145 cm)
{{hands/sandbox|14.1|cm}} → 14,1 hands (57 inches, 145 cm)
  • {{convert/sandbox|14.1|hand|in cm}} → 14.1 hands (57 inches; 145 cm)
{{hands|14.1|in cm}} → 14,1 hands (57 inches, 145 cm)
{{hands/sandbox|14.1|in cm}} → 14,1 hands (57 inches, 145 cm)
  • {{convert/sandbox|14.1|hand|cm in}} → 14.1 hands (145 cm; 57 inches)
{{hands|14.1|cm in}} → 14,1 hands (57 inches, 145 cm)
{{hands/sandbox|14.1|cm in}} → 14,1 hands (57 inches, 145 cm)
  • {{convert/sandbox|14.2|hand|in cm}} → 14.2 hands (58 inches; 147 cm)
{{hands|14.2}} → 14,2 hands (58 inches, 147 cm)
{{hands/sandbox|14.2}} → 14,2 hands (58 inches, 147 cm)
  • {{convert/sandbox|14.1+3/4|hand|in cm}} → 14.1 34 hands (57.75 inches; 147 cm)
{{hands|14.1+3/4}} → 14,1 34 hands (57.75 inches, 147 cm)
{{hands/sandbox|14.1+3/4}} → 14,1 34 hands (57.75 inches, 147 cm)

Show precision

  • {{convert/sandbox|14.1+3/4|hand|hand in cm|4}} → 14.1 34 hands (14.1 34 hands; 57 34 inches; 146.6850 cm)
{{hands|14.1+3/4|4}} → 14,1 34 hands (57.75 inches, 147 cm)
{{hands/sandbox|14.1+3/4|4}} → 14,1 34 hands (57.75 inches, 147 cm)

Ranges

[uredi izvor]
Hands to length
  • {{convert/sandbox|14.1|-|14.3|hand|in}} → 14.1—14.3 hands (57—59 inches)
{{hands|14.1|-|14.3|in}} → 14.1–14.3 šaka (57–59 inches, 145–150 cm)
{{hands/sandbox|14.1|-|14.3|in}} → 14.1–14.3 hands (57–59 inches, 145–150 cm)
  • {{convert/sandbox|14.1|-|14.3|hand|cm}} → 14.1—14.3 hands (145—150 cm)
{{hands|14.1|-|14.3|cm}} → 14.1–14.3 šaka (57–59 inches, 145–150 cm)
{{hands/sandbox|14.1|-|14.3|cm}} → 14.1–14.3 hands (57–59 inches, 145–150 cm)
  • {{convert/sandbox|14.2|to|16.1|hand|in cm}} → 14.2 to 16.1 hands (58 to 65 inches; 147 to 165 cm)
{{hands|15.1|-|16.3}} → 15.1–16.3 šaka (61–67 inches, 155–170 cm)
{{hands/sandbox|15.1|-|16.3}} → 15.1–16.3 hands (61–67 inches, 155–170 cm)

Sequence

  • {{convert/sandbox|14.1|-|14.3|hand|in cm}} → 14.1—14.3 hands (57—59 inches; 145—150 cm)
{{hands|14.1|-|14.3|in cm}} → 14.1–14.3 šaka (57–59 inches, 145–150 cm)
{{hands/sandbox|14.1|-|14.3|in cm}} → 14.1–14.3 hands (57–59 inches, 145–150 cm)
  • {{convert/sandbox|14.1|-|14.3|hand|cm in}} → 14.1—14.3 hands (145—150 cm; 57—59 inches)
{{hands|14.1|-|14.3|cm in}} → 14.1–14.3 šaka (57–59 inches, 145–150 cm)
{{hands/sandbox|14.1|-|14.3|cm in}} → 14.1–14.3 hands (57–59 inches, 145–150 cm)
Length to hands

See also {convert/2}, below

  • {{convert/sandbox|50|-|57|in|hand}} → 50—57 inches (12.2—14.1 hands)
  • {{convert/sandbox|2|-|3|m|hand}} → 2—3 metres (19.3—29.2 hands)
  • {{convert/sandbox|57|or|59|in|hand}} → 57 or 59 inches (14.1 or 14.3 hands)
  • {{convert/sandbox|137|-|139|cm|hand|lk=on}} → 137—139 centimetres (13.2—13.3 hands)

Outlist for a range

  • {{convert/sandbox|57|or|59|in|hand cm}} → 57 or 59 inches (14.1 or 14.3 hands; 140 or 150 cm)
  • {{convert/sandbox|137|-|139|cm|hand cm}} → 137—139 centimetres (13.2—13.3 hands; 137—139 cm)

Precision, sigfig

[uredi izvor]

|rinch=1

{{hands|14.1+1/3|rinch=1}} → 14,1 13 hands (57.3 inches, 146 cm)
{{hands/sandbox|14.1+1/3|rinch=1}} → 14,1 13 hands (57.3 inches, 146 cm)

|r=1

{{hands|14.1+1/3|r=1}} → 14,1 13 hands (57.3 inches, 145.6 cm)
{{hands/sandbox|14.1+1/3|r=1}} → 14,1 13 hands (57.3 inches, 145.6 cm)

Sigfig

  • {{convert/sandbox|14.1|hand|in cm|sigfig=4}} → 14.1 hands (57.00 inches; 144.8 cm)
{{hands|14.1|sigfig=4}} → 14,1 hands (57 inches, 145 cm)
{{hands/sandbox|14.1|sigfig=4}} → 14,1 hands (57 inches, 145 cm)
  • {{convert/sandbox|14.1|in|hand in cm|sigfig=4}} → 14.1 hands (14.1 hands; 57.00 inches; 144.8 cm)

Precision by unnamed parameter

  • {{convert/sandbox|14.1|hand|hand in cm|4}} → 14.1 hands (14.1 hands; 57 inches; 144.7800 cm)
{{hands|14.1|4}} → 14,1 hands (57 inches, 145 cm)
{{hands/sandbox|14.1|4}} → 14,1 hands (57 inches, 145 cm)

Length to hands In a range

  • {{convert/sandbox|57|to|59|in|hand cm|sigfig=4}} → 57 to 59 inches (14.1 to 14.3 hands; 144.8 to 149.9 cm)
  • {{convert/sandbox|57|to|59|in|hand cm|4}} → 57 to 59 inches (14.1 to 14.3 hands; 144.7800 to 149.8600 cm)
  • {{convert/sandbox|157|to|160|in|hand in cm|sigfig=4}} → 157 to 160 inches (39.1 to 40.0 hands; 157.0 to 160.0 in; 398.8 to 406.4 cm)
  • {{convert/sandbox|157|to|160|in|hand in cm|4}} → 157 to 160 inches (39.1 to 40.0 hands; 157 to 160 in; 398.7800 to 406.4000 cm)