Andoza:Infobox shaxs/balandligi/doc

Vikipediya, ochiq ensiklopediya

This template is used to automatically add conversions of height measurements displayed by Template:Infobox person and other infoboxes with a |height= parameter.

Andoza:Template see also

Usage[manbasini tahrirlash]

{{Bilgiquti
...
| label# = Height
| data#  = {{#if: {{{height|}}} | {{Infobox person/height|{{{height}}}}} }}
...
}}

Exceptions[manbasini tahrirlash]

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) → 5 ft 2 in (1.00 m)
  • |height=5 feet 2 inches (100 centimetres) → 5 ft 2 in (100 cm)
  • |height=1.57 metres (5 feet 5 inches) → 1.57 m (5 ft 5 in)
  • |height=157 centimetres (5 feet 5 inches) → 157 cm (5 ft 5 in)


  • |height={{Convert|5|ft|2|in|m|3|abbr=off}} → 5 ft 2 in (1.575 metr)
    • output of convert template: 5 feet 2 inches (1.575 metr)
  • |height={{Convert|5|ft|2|in|cm|sigfig=4|abbr=off}} → 5 ft 2 in (157.5 cmetr)
    • output of convert template: 5 feet 2 inches (157.5 centimetr)
  • |height={{Convert|1.57|m|ftin|1|abbr=off}}Andoza:Infobox person/height
    • output of convert template: 1.57 metr (5 feet 1.8 inches)
  • |height={{Convert|157|cm|ftin|1|abbr=off}}Andoza:Infobox person/height
    • output of convert template: 157 centimetr (5 feet 1.8 inches)
  • |height={{Height|m=1.57|frac=4|abbr=no}}Andoza:Infobox person/height
    • output of height template: 1.57 metr (5 feet 1 34 inches)
  • |height={{Height|cm=157|frac=4|abbr=no}}Andoza:Infobox person/height
    • output of height template: 157 centimetr (5 feet 1 34 inches)

Areas for improvement[manbasini tahrirlash]