Andoza:Infobox shaxs/balandligi/doc
Qiyofa
| Ushbu sahifa Infobox shaxs/balandligi andozasining hujjat sahifasidir. Bu yerda andozaning asosiy sahifasidan joy olmagan foydalanish qoidalari, turkumlar va boshqa foydali maʼlumotlar joylashtiriladi. |
| This is for use in templates. For articles, please use {{Convert}} or {{Height}}. |
| Bu andoza quyidagi Luadan foydalanadi: |
This template is used to automatically add conversions of height measurements displayed by Template:Infobox person and other infoboxes with a |height= parameter.
Usage
{{Bilgiquti
...
| label# = Height
| data# = {{#if: {{{height|}}} | {{Infobox person/height|{{{height}}}}} }}
...
}}
Exceptions
Does not replace numbers in manually entered conversions, but does replace unit names with abbreviations (examples intentionally show incorrect conversions):
|height=5 feet 2 inches (1.00 metres)→ Andoza:Infobox shaxs/balandligi|height=5 feet 2 inches (100 centimetres)→ Andoza:Infobox shaxs/balandligi|height=1.57 metres (5 feet 5 inches)→ Andoza:Infobox shaxs/balandligi|height=157 centimetres (5 feet 5 inches)→ Andoza:Infobox shaxs/balandligi
|height={{Convert|5|ft|2|in|m|3|abbr=off}}→ Andoza:Infobox shaxs/balandligi- output of convert template: 5 fut 2 inches (1.575 metr)
|height={{Convert|5|ft|2|in|cm|sigfig=4|abbr=off}}→ Andoza:Infobox shaxs/balandligi- output of convert template: 5 fut 2 inches (157.5 centimetr)
|height={{Convert|1.57|m|ftin|1|abbr=off}}→ 1.57 metr (5 fut 1.8 in)- output of convert template: 1.57 metr (5 fut 1.8 inches)
|height={{Convert|157|cm|ftin|1|abbr=off}}→ 157 cmetr (5 fut 1.8 in)- output of convert template: 157 centimetr (5 fut 1.8 inches)
|height={{Height|m=1.57|frac=4|abbr=no}}→ 1.57 metr (5 fut 1 3⁄4 in)- output of height template: 1.57 metr (5 fut 1 3⁄4 inches)
|height={{Height|cm=157|frac=4|abbr=no}}→ 157 cmetr (5 fut 1 3⁄4 in)- output of height template: 157 centimetr (5 fut 1 3⁄4 inches)
Areas for improvement
|height=157 Centimetres→ Andoza:Infobox shaxs/balandligi|height=157 CM→ Andoza:Infobox shaxs/balandligi|height=1.57 Metres→ 1.57 Metres|height=1.57 M→ 1.57 M|height=5 Feet 2 Inches→ 5 Feet 2 Inches|height=5 FT 2 IN→ 5 FT 2 IN
|height=5' 2"→ 5' 2"|height=5′ 2″→ 5′ 2″
|height=157cm (5' 2")→ 157 cm (5 ft 2 in) (5' 2")|height=1.57m (5′ 2″)→ 1.57 m (5 ft 2 in) (5′ 2″)