Шаблон дозволяє конвертувати висоту чого-небудь в різні одиниці.

Використання ред.

Код Результат
m
{{height|m=1.77}} 1,77 m (5 ft 9+12 in)
{{height|metres=1.77}} 1,77 m (5 ft 9+12 in)
{{height|meters=1.77|abbr=no}} 1,77 metres (5 feet 9+12 inches)
{{height|m=1.77|abbr=mos}} 1,77 metres (5 ft 9+12 in)
{{height|m=1.77|frac=16}} 1,77 m (5 ft 9+1116 in)
{{height|m=1.77|precision=0}} 1,77 m (5 ft 10 in)
cm
{{height|cm=177}} 177 cm (5 ft 9+12 in)
{{height|centimetres=177}} 177 cm (5 ft 9+12 in)
{{height|centimeter=177|abbr=no}} 177 centimetres (5 feet 9+12 inches)
{{height|cm=177|abbr=mos}} 177 centimetres (5 ft 9+12 in)
{{height|cm=177|frac=16}} 177 cm (5 ft 9+1116 in)
{{height|cm=177|precision=0}} 177 cm (5 ft 10 in)
ft and in
{{height|ft=6|in=1}} 6 ft 1 in (1,85 m)
{{height|ft=6|in=1|out=cm}} 6 ft 1 in (185 cm)
{{height|ft=6|in=1|precision=1}} 6 ft 1 in (1,9 m)
{{height|ft=6|in=1|precision=-1|out=cm}} 6 ft 1 in (190 cm)
{{height|feet=6|inches=1}} 6 ft 1 in (1,85 m)
{{height|feet=6|inches=1|out=cm}} 6 ft 1 in (185 cm)
{{height|ft=6|in=1|abbr=no}} 6 feet 1 inch (1,85 metres)
{{height|ft=6|in=1|abbr=no|out=cm}} 6 feet 1 inch (185 centimetres)
{{height|ft=6|in=1|abbr=mos}} 6 feet 1 inch (1,85 m)
{{height|ft=6|in=1|abbr=mos|out=cm}} 6 feet 1 inch (185 cm)
{{height|ft=5|in=7+1/2}} 5 ft 7+12 in (1,71 m)
{{height|ft=5|in=7+1/2|out=cm}} 5 ft 7+12 in (171 cm)
{{height|ft=5|in=7+1/2|precision=1}} 5 ft 7+12 in (1,7 m)
{{height|ft=5|in=7+1/2|precision=1|out=cm}} 5 ft 7+12 in (171,5 cm)
{{height|ft=5|in=7+1/2|precision=-1|out=cm}} 5 ft 7+12 in (170 cm)
{{height|ft=5|in=7+1/2|precision=3}} 5 ft 7+12 in (1,715 m)
ft
{{height|ft=6}} 6 ft 0 in (1,83 m)
{{height|ft=6|out=cm}} 6 ft 0 in (183 cm)
{{height|ft=6.5}} 6,5 ft 0 in (1,98 m)
{{height|ft=6.5|out=cm}} 6,5 ft 0 in (198 cm)
{{height|ft=6+1/2}} 6+12 ft 0 in (1,98 m)
{{height|ft=6+1/2|out=cm}} 6+12 ft 0 in (198 cm)
in
{{height|in=10}} 0 ft 10 in (0,25 m)
{{height|in=10|out=cm}} 0 ft 10 in (25 cm)
{{height|in=10.5}} 0 ft 10,5 in (0,27 m)
{{height|in=10.5|out=cm}} 0 ft 10,5 in (27 cm)
{{height|in=10+1/2}} 0 ft 10+12 in (0,27 m)
{{height|in=10+1/2|out=cm}} 0 ft 10+12 in (27 cm)
errors
{{height|cm=200|in=2|precision=0}} Помилка: вкажіть висоту, використовуючи лише один тип одиниць
{{height|cm=177|frac=0}} 177 cm (5 ft 9,7 in)*
{{height|ft=5|in={{frac|7|1|2}}}} [convert: недійсне число]
{{height|ft=5|in={{frac|7|1|2}}}} [convert: недійсне число]
{{height|ft=5|in=7 1/2}} [convert: недійсне число]
{{height|ft=5|in=7_1/2}} [convert: недійсне число]
{{height|ft=5|in=7-1/2}} [convert: недійсне число]
{{height|ft=5|in=7½}} [convert: недійсне число]
непідтримувані одиниці
{{height|mm=2000}}
{{height|dm=20}}
{{height|'=6|"=1}}
{{height|′=6|″=1}}
{{height|hand=20}}
{{height|yard=2}}
  • m is for metres
  • cm is for centimetres
  • ft is for feet
  • in is for inches

Template data ред.

Це документація TemplateData для шаблону Height, яка використовується Візуальним редактором та іншими інструментами.

The template is intended for conversion of heights specified in either metres or in feet and inches.

Параметри шаблону

ПараметрОписТипСтатус
Metresm metre metres meter meters

The height in metres. Do not use if feet and inches are specified.

Числонеобов'язковий
Centimetrescm centimetre centimetres centimeter centimeters

The height in centimetres. Do not use if feet and inches are specified.

Числонеобов'язковий
Feetft foot feet

The feet part of the height in feet and inches. Do not use if centimetres are specified.

Числонеобов'язковий
Inchesin inch inches

The inches part of the height in feet and inches (optional). Do not use if centimetres are specified. Fractions are supported in the form u+n/d.

Числонеобов'язковий
Precision of converted valueprecision

The amount of decimal places to display the converted value to. Defaults to 2 for feet and inches to metres and to 1 for metres/centimetres to feet and inches.

Числонеобов'язковий
Fraction denominatorfrac

Shows result as a fraction. The number in this parameter is the denominator of the fraction. Used only for metres/centimetres to feet and inches. Set to "10" for decimals. Defaults to 2 (halves).

Числонеобов'язковий
Abbreviation styleabbr

Changes abbreviation style. Set to "yes" for all units to be abbreviated (default), "no" for all to be spelled out, or "mos" for the units being converted to be spelled out and the converted units to be abbreviated.

Рядокнеобов'язковий
Unit linkingwiki

Changes whether units are linked. Set to "no" to not link units (default) or "yes" to link units.

Рядокнеобов'язковий
Output formatout

Changes output format of conversion. Set to "cm" with input values in feet and inches to output the conversion as centimetres. No other options currently exist and the template ignores anything other than "cm".

Рядокнеобов'язковий

Див. також ред.