Predloga:Convert/testniprimeri/bytype/dolžina3 (hand)
Hand (unit) is a measure of length used in WP:EQUINE for horse size (height).
This page tests {{convert/peskovnik}} and {{hands/peskovnik}}, which has a re-engineered "hand" unit handling (situation per 2013-12-29).
Overview
[uredi kodo]- See en:Template talk:Convert#Module_version_2
- Predloga:Convert/peskovnik (uredi|pogovor|zgodovina|povezave|/dok|/podstr|/pesk|/pesk razlika|/testp)
- {{#invoke:convert|function}}
- Hands to length only (not: length to hands).
- Stand alone ("wrapper" for {convert} by functionality, shares some documentation)
- {{Hands/peskovnik}}
- {Hands} template after switchover to module:convert
- Tested here
- Uses {convert/peskovnik}
- Deprecated templates
- We are testing {convert/peskovnik} 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
- hand (unit)
- Hands/doc, Convert/hand/doc have useful descriptions. All examples from these two are reproduced below.
- Category:Subtemplates of Template Convert/wrapper templates
- "Horse Height Conversion", Onlineconversion.com: OC-horse.
Textual options
[uredi kodo]Basic
- {{convert/peskovnik|hand|15.3|in cm}} → 153 h (612 in; 1.554 cm)
- {{hands|15.3}} → Predloga:Hands
- {{hands/peskovnik|15.3}} → Predloga:Hands/peskovnik
Units hand, hands, h, hh in source (input)
[uredi kodo]- {{convert/peskovnik|15.3|hand|in cm}} → 153 h (612 in; 1.554 cm)
- {{hand|15.3}} → -- {{hand}} is not about {convert}
- {{convert/peskovnik|15.3|hands|in cm}} → 153 h (612 in; 1.554 cm) -- plural unit "hands" accepted
- {{hands|15.3}} → Predloga:Hands
- {{hands/peskovnik|15.3}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|15.3|h|in cm}} → 153 h ([convert: neujemanje enot]) -- h is for hour
- {{hands|15.3}} → Predloga:Hands -- no need to cover
- {{hands/peskovnik|15.3}} → Predloga:Hands/peskovnik -- no need to cover
New in {convert}: "units" handlk, hhand, hhandlk
. As source (input):
- {{convert/peskovnik|13|–|15.5|handlk|in cm}} → 137–156 handlk[convert: neznana enota]
- {{hands/peskovnik|13|–|15.5|handlk|in cm}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|137|–|156|hhand|in cm}} → 137–156 hhand[convert: neznana enota]
- {{hands/peskovnik|137|–|156|hhand|in cm}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|137|–|156|hhandlk|in cm|1}} → 137–156 hhandlk[convert: neznana enota]
- {{hands/peskovnik|137|–|156|hhandlk|in cm|1}} → Predloga:Hands/peskovnik
Abbreviated
[uredi kodo]Hands to length Linked unit "h" should link to hand (unit)
- {{convert/peskovnik|15.3|hand|in cm|abbr=on}} → 153 h (612 in; 1.554 cm)
- {{hands|15.3|abbr=on}} → Predloga:Hands
- {{hands/peskovnik|15.3|abbr=on}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|15.3|hand|in cm|abbr=on|lk=off}} → 153 h (612 in; 1.554 cm)
- {{hands|15.3|abbr=on|lk=off}} → Predloga:Hands --lk=off
- {{hands/peskovnik|15.3|abbr=on|lk=off}} → Predloga:Hands/peskovnik --lk=off
{Hands} doc: "abbr=hh shows hh"
-
- {{hands|15.3|abbr=hh}} → Predloga:Hands
- {{hands/peskovnik|15.3|abbr=hh}} → Predloga:Hands/peskovnik
New in {convert}: "units" handlk, hhand, hhandlk
. As source (input):
- {{convert/peskovnik|13|–|15.5|handlk|in cm|abbr=on}} → 137–156 handlk[convert: neznana enota]
- {{hands/peskovnik|13|–|15.5|handlk|in cm|abbr=on}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|137|–|156|hhand|in cm|abbr=on}} → 137–156 hhand[convert: neznana enota]
- {{hands/peskovnik|137|–|156|hhand|in cm|abbr=on}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|137|–|156|hhandlk|in cm|abbr=on|1}} → 137–156 cm ([convert: neznana enota])[convert: nepravilna opcija]
- {{hands/peskovnik|137|–|156|hhandlk|in cm|abbr=on|1}} → Predloga:Hands/peskovnik
Length to hands
New in {convert}. New units include the following variations on hands
- {{convert/peskovnik|137|–|156|cm|handlk in|abbr=on|1}} → 137–156 cm ([convert: neznana enota])
- {{convert/peskovnik|137|–|156|cm|hhand in|abbr=on|1}} → 137–156 cm ([convert: neznana enota])
- {{convert/peskovnik|137|–|156|cm|hhandlk in|abbr=on|1}} → 137–156 cm ([convert: neznana enota])
Link unit
[uredi kodo]Default for {Hands} is: |lk=on
- {{convert/peskovnik|15.3|hand|in cm}} → 153 h (612 in; 1.554 cm)
- {{hands|15.3|abbr=on}} → Predloga:Hands
- {{hands/peskovnik|15.3|abbr=on}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|15.3|hand|in cm|lk=off|abbr=on}} → 153 h (612 in; 1.554 cm)
- {{hands|15.3|lk=off|abbr=on}} → Predloga:Hands
- {{hands/peskovnik|15.3|lk=off|abbr=on}} → Predloga:Hands/peskovnik
New "units", lk=off
- {{convert/peskovnik|13|–|15.5|handlk|in cm|lk=off}} → 137–156 handlk[convert: neznana enota]
- {{hands/peskovnik|13|–|15.5|handlk|in cm|lk=off}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|13|–|15.5|handlk|in cm|lk=off}} → 137–156 handlk[convert: neznana enota]
- {{hands/peskovnik|13|–|15.5|handlk|in cm|lk=off}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|137|–|156|hhand|in cm|lk=off}} → 137–156 hhand[convert: neznana enota]
- {{hands/peskovnik|137|–|156|hhand|in cm|lk=off}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|137|–|156|hhandlk|in cm|1|lk=off}} → 137–156 hhandlk[convert: neznana enota]
- {{hands/peskovnik|137|–|156|hhandlk|in cm|1|lk=off}} → Predloga:Hands/peskovnik
New "units", lk=on testing:|unit=hhandlk
in hands/peskovnik
- {{convert/peskovnik|13|–|15.5|handlk|in cm|lk=on}} → 137–156 handlk[convert: neznana enota]
- {{hands/peskovnik|13|–|15.5|handlk|in cm|lk=on}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|137|–|156|hhand|in cm|lk=on}} → 137–156 hhand[convert: neznana enota]
- {{hands/peskovnik|137|–|156|hhand|in cm|lk=on}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|137|–|156|hhandlk|in cm|1|lk=on}} → 137–156 hhandlk[convert: neznana enota]
- {{hands/peskovnik|137|–|156|hhandlk|in cm|1|lk=on}} → Predloga:Hands/peskovnik
Adjective
[uredi kodo]- A {{convert/peskovnik|15.3|hand|in cm|adj=on}} → A 153 h (612 in; 1.554 cm) horse
- A {{hands|15.3|adj=on}} → A Predloga:Hands horse
- A {{hands/peskovnik|15.3|adj=on}} → A Predloga:Hands/peskovnik horse
- Singular, plural
-
- {{convert/peskovnik|1|lk=off}} → 1[convert: manjka ime enote]
- {{hands|1|lk=off}} → Predloga:Hands
- {{hands/peskovnik|1|lk=off}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|2|lk=off}} → 2[convert: manjka ime enote]
- {{hands|2|lk=off}} → Predloga:Hands
- {{hands/peskovnik|2|lk=off}} → Predloga:Hands/peskovnik
lk=in, abbr=in, range
[uredi kodo]- {{convert/peskovnik|137|–|162|cm|hand|0|abbr=in|lk=in}} → 137–162 cm (13–16 hand)
- {{hands|137|–|162|cm|0|abbr=in|lk=in}} → Predloga:Hands
- {{hands/peskovnik|137|–|162|cm|0|abbr=in|lk=in}} → Predloga:Hands/peskovnik
Length to hands
[uredi kodo]- Not available through {{Hands}}
- {{convert/peskovnik|57|in|hand}} → 57 in (14,1 h) -- as with donkeys and miniature horses
- {{convert/peskovnik|137|cm|hand}} → 137 cm (13,2 h)
- {{convert/peskovnik|137.1|cm|hand}} → 1.371 cm (135,0 h)
- {{convert/peskovnik|137.2|cm|hand}} → 1.372 cm (135,0 h)
- {{convert/peskovnik|137.5|cm|hand}} → 1.375 cm (135,1 h)
- {{convert/peskovnik|137.9|cm|hand}} → 1.379 cm (135,3 h)
- {{convert/peskovnik|138.4|cm|hand}} → 1.384 cm (136,1 h)
- {{convert/peskovnik|138.5|cm|hand}} → 1.385 cm (136,1 h)
- {{convert/peskovnik|2|m|hand}} → 2 m (19,3 h) -- "rare to use m instead of cm"
- {{convert/peskovnik|2.01|m|hand}} → 201 m (1.978,1 h)
- {{convert/peskovnik|2.02|m|hand}} → 202 m (1.988,1 h)
- {{convert/peskovnik|2.03|m|hand}} → 203 m (1.998,0 h)
- {{convert/peskovnik|1.67|m|hand in}} → 167 m (1.643,3 h; 6.600 in)
- {{convert/peskovnik|167|cm|hand in}} → 167 cm (16,2 h; 66 in) -- compare
- {{convert/peskovnik|57.54|in|hand}} → 5.754 in (1.438,2 h)
- {{convert/peskovnik|57.44|in|hand}} → 5.744 in (1.436,0 h)
- {{convert/peskovnik|57.45|in|hand}} → 5.745 in (1.436,1 h)
Decimals in source (show feedback)
- {{convert/peskovnik|57.54|in|hand in cm}} → 5.754 in (1.438,2 h; 5.754 in; 14.620 cm)
- {{convert/peskovnik|57.44|in|hand in cm}} → 5.744 in (1.436,0 h; 5.744 in; 14.590 cm)
- {{convert/peskovnik|57.45|in|hand in cm}} → 5.745 in (1.436,1 h; 5.745 in; 14.590 cm)
- {{convert/peskovnik|57.45|in|hand in cm|4}} → 5.745 in (1.436,1 h; 5.745 in; 14.592,3000 cm) --precision=4
Fractions in source
- {{convert/peskovnik|57+1/2|in|hand in cm}} → 57 1⁄2 in (14,2 h; 57,5 in; 146 cm)
- {{convert/peskovnik|57+3/4|in|hand in cm}} → 57 3⁄4 in (14,2 h; 57,8 in; 147 cm)
- {{convert/peskovnik|57+3/8|in|hand in cm}} → 57 3⁄8 in (14,1 h; 57,4 in; 146 cm)
- {{convert/peskovnik|57+1/3|in|hand in cm}} → 57 1⁄3 in (14,1 h; 57,3 in; 146 cm)
Show precision
- {{convert/peskovnik|137|cm|hand|2}} → 137 cm (13,2 h)
- {{convert/peskovnik|57+1/3|in|hand in cm|4}} → 57 1⁄3 in (14,1 1⁄4 h; 57 1⁄4 in; 145,6267 cm)
Hands to length
[uredi kodo]Default outlist in {hands} is: |in cm
- {{convert/peskovnik|15.3|hand|in cm|lk=off}} → 153 h (612 in; 1.554 cm)
- {{hands|15.3|lk=off}} → Predloga:Hands
- {{hands/peskovnik|15.3|lk=off}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.1|hand|in cm}} → 141 h (564 in; 1.433 cm)
- {{hands|14.1}} → Predloga:Hands
- {{hands/peskovnik|14.1}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.1|hand|in}} → 141 h (564 in)
- {{hands|14.1|in}} → Predloga:Hands -- "will rarely be used"
- {{hands/peskovnik|14.1|in}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.1|hand|cm}} → 141 h (1.433 cm)
- {{hands|14.1|cm}} → Predloga:Hands
- {{hands/peskovnik|14.1|cm}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.1|hand|in cm}} → 141 h (564 in; 1.433 cm)
- {{hands|14.1|in cm}} → Predloga:Hands
- {{hands/peskovnik|14.1|in cm}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.1|hand|cm in}} → 141 h (1.433 cm; 564 in)
- {{hands|14.1|cm in}} → Predloga:Hands
- {{hands/peskovnik|14.1|cm in}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.2|hand|in cm}} → 142 h (568 in; 1.443 cm)
- {{hands|14.2}} → Predloga:Hands
- {{hands/peskovnik|14.2}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.1+3/4|hand|in cm}} → 141 3⁄4 h (564,75 in; 1.434 cm)
- {{hands|14.1+3/4}} → Predloga:Hands
- {{hands/peskovnik|14.1+3/4}} → Predloga:Hands/peskovnik
Show precision
- {{convert/peskovnik|14.1+3/4|hand|hand in cm|4}} → 141 3⁄4 h (141,0 3⁄4 h; 564 3⁄4 in; 1.434,4650 cm)
- {{hands|14.1+3/4|4}} → Predloga:Hands
- {{hands/peskovnik|14.1+3/4|4}} → Predloga:Hands/peskovnik
Ranges
[uredi kodo]- Hands to length
-
- {{convert/peskovnik|14.1|-|14.3|hand|in}} → 141–143 h (564–572 in)
- {{hands|14.1|-|14.3|in}} → Predloga:Hands
- {{hands/peskovnik|14.1|-|14.3|in}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.1|-|14.3|hand|cm}} → 141–143 h (1.433–1.453 cm)
- {{hands|14.1|-|14.3|cm}} → Predloga:Hands
- {{hands/peskovnik|14.1|-|14.3|cm}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.2|to|16.1|hand|in cm}} → 142 do 161 h (568 do 644 in; 1.443 do 1.636 cm)
- {{hands|15.1|-|16.3}} → Predloga:Hands
- {{hands/peskovnik|15.1|-|16.3}} → Predloga:Hands/peskovnik
Sequence
- {{convert/peskovnik|14.1|-|14.3|hand|in cm}} → 141–143 h (564–572 in; 1.433–1.453 cm)
- {{hands|14.1|-|14.3|in cm}} → Predloga:Hands
- {{hands/peskovnik|14.1|-|14.3|in cm}} → Predloga:Hands/peskovnik
- {{convert/peskovnik|14.1|-|14.3|hand|cm in}} → 141–143 h (1.433–1.453 cm; 564–572 in)
- {{hands|14.1|-|14.3|cm in}} → Predloga:Hands
- {{hands/peskovnik|14.1|-|14.3|cm in}} → Predloga:Hands/peskovnik
- Length to hands
See also {convert/2}, below
- {{convert/peskovnik|50|-|57|in|hand}} → 50–57 in (12,2–14,1 h)
- {{convert/peskovnik|2|-|3|m|hand}} → 2–3 m (19,3–29,2 h)
- {{convert/peskovnik|57|or|59|in|hand}} → 57 ali 59 in (14,1 ali 14,3 h)
Outlist for a range
- {{convert/peskovnik|57|or|59|in|hand cm}} → 57 ali 59 in (14,1 ali 14,3 h; 140 ali 150 cm)
- {{convert/peskovnik|137|-|139|cm|hand cm}} → 137–139 cm (13,2–13,3 h; 137–139 cm)
Precision, sigfig
[uredi kodo]|rinch=1
- {{convert/peskovnik|14.1+1/3|hand|in cm|rinch=1}} → 141 1⁄3 h (564,333 in; 1.433 cm)[convert: nepravilna opcija]
- {{hands|14.1+1/3|rinch=1}} → Predloga:Hands
- {{hands/peskovnik|14.1+1/3|rinch=1}} → Predloga:Hands/peskovnik
|r=1
- {{convert/peskovnik|14.1+1/3|hand|in cm|r=1}} → 141 1⁄3 h (564,333 in; 1.433 cm)[convert: nepravilna opcija]
- {{hands|14.1+1/3|r=1}} → Predloga:Hands
- {{hands/peskovnik|14.1+1/3|r=1}} → Predloga:Hands/peskovnik
Sigfig
- {{convert/peskovnik|14.1|hand|in cm|sigfig=4}} → 141 h (564,0 in; 1.433 cm)
- {{hands|14.1|sigfig=4}} → Predloga:Hands
- {{hands/peskovnik|14.1|sigfig=4}} → Predloga:Hands
- {{convert/peskovnik|14.1|in|hand in cm|sigfig=4}} → 141 h (141,0 h; 564,0 in; 1.433 cm)
Precision by unnamed parameter
- {{convert/peskovnik|14.1|hand|hand in cm|4}} → 141 h (141,0 h; 564 in; 1.432,5600 cm)
- {{hands|14.1|4}} → Predloga:Hands
- {{hands/peskovnik|14.1|4}} → Predloga:Hands/peskovnik
Length to hands In a range
- {{convert/peskovnik|57|to|59|in|hand cm|sigfig=4}} → 57 do 59 in (14,1 do 14,3 h; 144,8 do 149,9 cm)
- {{convert/peskovnik|57|to|59|in|hand cm|4}} → 57 do 59 in (14,1 do 14,3 h; 144,7800 do 149,8600 cm)
- {{convert/peskovnik|157|to|160|in|hand in cm|sigfig=4}} → 157 do 160 in (39,1 do 40,0 h; 157,0 do 160,0 in; 398,8 do 406,4 cm)
- {{convert/peskovnik|157|to|160|in|hand in cm|4}} → 157 do 160 in (39,1 do 40,0 h; 157 do 160 in; 398,7800 do 406,4000 cm)
Using {convert/2}
[uredi kodo]
- Predloga:Convert/2 (uredi|pogovor|zgodovina|povezave|/dok|/podstr|/pesk|/pesk razlika|/testp)
- Does not work well with hands (outlist disrupted)
- When unit "hand" is in {convert} module, check for {convert/2} using "hand" and replace with {convert}.
- {{convert/peskovnik|137|–|162|cm|hand in}} → 137–162 cm (13,2–16,0 h; 54–64 in)
- {{convert/2|137|–|162|cm|hand in}} → Predloga:Convert/2
- {{convert/peskovnik|15.1|–|16|hand|cm in}} → 151–16 h (1.534–163 cm; 604–64 in)
- {{convert/2|15.1|–|16|hand|cm in}} → Predloga:Convert/2
- {{hands|15.1|–|16|hand|cm in}} → Predloga:Hands
- {{hands/peskovnik|15.1|–|16|hand|cm in}} → Predloga:Hands/peskovnik