Шаблон:Height
Ця сторінка містить неперекладені фрагменти іноземною мовою. |
Шаблон дозволяє конвертувати висоту чого-небудь в різні одиниці.
Використання
[ред. код]| Код | Результат |
|---|---|
| m | |
| {{height|m=1.77}} | 1,77 м (5 фт 9+1⁄2 дюйм) |
| {{height|metres=1.77}} | 1,77 м (5 фт 9+1⁄2 дюйм) |
| {{height|meters=1.77|abbr=no}} | 1,77 метра (5 футів 9+1⁄2 дюйма) |
| {{height|m=1.77|abbr=mos}} | 1,77 метра (5 фт 9+1⁄2 дюйм) |
| {{height|m=1.77|frac=16}} | 1,77 м (5 фт 9+11⁄16 дюйм) |
| {{height|m=1.77|precision=0}} | 1,77 м (5 фт 10 дюйм) |
| cm | |
| {{height|cm=177}} | 177 см (5 фт 9+1⁄2 дюйм) |
| {{height|centimetres=177}} | 177 см (5 фт 9+1⁄2 дюйм) |
| {{height|centimeter=177|abbr=no}} | 177 сантиметрів (5 футів 9+1⁄2 дюйма) |
| {{height|cm=177|abbr=mos}} | 177 сантиметрів (5 фт 9+1⁄2 дюйм) |
| {{height|cm=177|frac=16}} | 177 см (5 фт 9+11⁄16 дюйм) |
| {{height|cm=177|precision=0}} | 177 см (5 фт 10 дюйм) |
| ft and in | |
| {{height|ft=6|in=1}} | 6 фт 1 дюйм (1,85 м) |
| {{height|ft=6|in=1|out=cm}} | 6 фт 1 дюйм (185 см) |
| {{height|ft=6|in=1|precision=1}} | 6 фт 1 дюйм (1,9 м) |
| {{height|ft=6|in=1|precision=-1|out=cm}} | 6 фт 1 дюйм (190 см) |
| {{height|feet=6|inches=1}} | 6 фт 1 дюйм (1,85 м) |
| {{height|feet=6|inches=1|out=cm}} | 6 фт 1 дюйм (185 см) |
| {{height|ft=6|in=1|abbr=no}} | 6 футів 1 дюйм (1,85 метра) |
| {{height|ft=6|in=1|abbr=no|out=cm}} | 6 футів 1 дюйм (185 сантиметрів) |
| {{height|ft=6|in=1|abbr=mos}} | 6 футів 1 дюйм (1,85 м) |
| {{height|ft=6|in=1|abbr=mos|out=cm}} | 6 футів 1 дюйм (185 см) |
| {{height|ft=5|in=7+1/2}} | 5 фт 7+1⁄2 дюйм (1,71 м) |
| {{height|ft=5|in=7+1/2|out=cm}} | 5 фт 7+1⁄2 дюйм (171 см) |
| {{height|ft=5|in=7+1/2|precision=1}} | 5 фт 7+1⁄2 дюйм (1,7 м) |
| {{height|ft=5|in=7+1/2|precision=1|out=cm}} | 5 фт 7+1⁄2 дюйм (171,5 см) |
| {{height|ft=5|in=7+1/2|precision=-1|out=cm}} | 5 фт 7+1⁄2 дюйм (170 см) |
| {{height|ft=5|in=7+1/2|precision=3}} | 5 фт 7+1⁄2 дюйм (1,715 м) |
| ft | |
| {{height|ft=6}} | 6 фт 0 дюйм (1,83 м) |
| {{height|ft=6|out=cm}} | 6 фт 0 дюйм (183 см) |
| {{height|ft=6.5}} | 6,5 фт 0 дюйм (1,98 м) |
| {{height|ft=6.5|out=cm}} | 6,5 фт 0 дюйм (198 см) |
| {{height|ft=6+1/2}} | 6+1⁄2 фт 0 дюйм (1,98 м) |
| {{height|ft=6+1/2|out=cm}} | 6+1⁄2 фт 0 дюйм (198 см) |
| in | |
| {{height|in=10}} | 0 фт 10 дюйм (0,25 м) |
| {{height|in=10|out=cm}} | 0 фт 10 дюйм (25 см) |
| {{height|in=10.5}} | 0 фт 10,5 дюйм (0,27 м) |
| {{height|in=10.5|out=cm}} | 0 фт 10,5 дюйм (27 см) |
| {{height|in=10+1/2}} | 0 фт 10+1⁄2 дюйм (0,27 м) |
| {{height|in=10+1/2|out=cm}} | 0 фт 10+1⁄2 дюйм (27 см) |
| errors | |
| {{height|cm=200|in=2|precision=0}} | Помилка: вкажіть висоту, використовуючи лише один тип одиниць |
| {{height|cm=177|frac=0}} | 177 см (5 фт 9,7 дюйм)* |
| {{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
[ред. код]The template is intended for conversion of heights specified in either metres or in feet and inches.
| Параметр | Опис | Тип | Статус | |
|---|---|---|---|---|
| Metres | m metre metres meter meters | The height in metres. Do not use if feet and inches are specified. | Число | необов'язковий |
| Centimetres | cm centimetre centimetres centimeter centimeters | The height in centimetres. Do not use if feet and inches are specified. | Число | необов'язковий |
| Feet | ft foot feet | The feet part of the height in feet and inches. Do not use if centimetres are specified. | Число | необов'язковий |
| Inches | in 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 value | precision | 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 denominator | frac | 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 style | abbr | 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 linking | wiki | Changes whether units are linked. Set to "no" to not link units (default) or "yes" to link units. | Рядок | необов'язковий |
| Output format | out | 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". | Рядок | необов'язковий |
Див. також
[ред. код]- {{convert}}
Дописувачі можуть експериментувати на підсторінках пісочниці (ред. | різн.) та тести (створити) цього шаблону.
Будь ласка, додавайте категорії до підсторінки /документація. Підсторінки цього шаблону.