Instructions دَییشدیر

  • The template is intended for conversion of heights specified in either feet and inches, or metric units (centimetres or metres). Metric units are converted to feet and inches, and feet and inches are converted to metres, or optionally to centimetres.
  • As this template is intended for use in infoboxes, the units on both sides of the conversion are abbreviated by default. When using this template outside of infoboxes, use the abbr parameter, which can take values of yes (default; both sides of the conversion are abbreviated), no (both sides of the conversion are spelled out), or mos (WP:MOSNUM-compliant format, where the units being converted are spelled out and the units of the converted values are abbreviated).
  • For conversion of metric units to feet/inches, the frac parameter can be specified to either show the output inches as decimals (frac=10) or as a vulgar fraction (frac=desired denominator; the default is 2 for halves). The frac parameter is ignored for conversion of feet/inches to metres.
  • When decimal output is used, the default precision is 1 for metres-to-feet/inches conversion and 2 for feet/inches-to-metres conversion, but it can be overridden by specifying a different figure using the precision parameter (see example below). The precision parameter is ignored when frac is set to anything but 10.
  • wiki parameter specifies whether the names of the units should be wikified or not and can take values of either yes or no. The default value is no.
  • Use |out=cm with input values in feet and inches to output the conversion as centimetres.

میثال دَییشدیر

کود نتیجه
m
{{بوی|m=1.77}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|metres=1.77}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|meters=1.77|abbr=no}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|m=1.77|abbr=mos}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|m=1.77|frac=16}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|m=1.77|precision=0}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
cm
{{بوی|cm=177}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|centimetres=177}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|centimeter=177|abbr=no}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|cm=177|abbr=mos}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|cm=177|frac=16}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|cm=177|precision=0}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
ft and in
{{بوی|ft=6|in=1}} ۶ ft ۱ in (۱٫۸۵ m)
{{بوی|ft=6|in=1|out=cm}} ۶ ft ۱ in (۱۸۵ cm)
{{بوی|ft=6|in=1|precision=1}} ۶ ft ۱ in (۱٫۹ m)
{{بوی|ft=6|in=1|precision=-1|out=cm}} ۶ ft ۱ in (۱۹۰ cm)
{{بوی|feet=6|inches=1}} ۶ ft ۱ in (۱٫۸۵ m)
{{بوی|feet=6|inches=1|out=cm}} ۶ ft ۱ in (۱۸۵ cm)
{{بوی|ft=6|in=1|abbr=no}} ۶ feet ۱ inch (۱٫۸۵ metre)
{{بوی|ft=6|in=1|abbr=no|out=cm}} ۶ feet ۱ inch (۱۸۵ سانتیmetre)
{{بوی|ft=6|in=1|abbr=mos}} ۶ feet ۱ inch (۱٫۸۵ m)
{{بوی|ft=6|in=1|abbr=mos|out=cm}} ۶ feet ۱ inch (۱۸۵ cm)
{{بوی|ft=5|in=7+1/2}} ۵ ft ۷+۱۲ in (۱٫۷۱ m)
{{بوی|ft=5|in=7+1/2|out=cm}} ۵ ft ۷+۱۲ in (۱۷۱ cm)
{{بوی|ft=5|in=7+1/2|precision=1}} ۵ ft ۷+۱۲ in (۱٫۷ m)
{{بوی|ft=5|in=7+1/2|precision=1|out=cm}} ۵ ft ۷+۱۲ in (۱۷۱٫۵ cm)
{{بوی|ft=5|in=7+1/2|precision=-1|out=cm}} ۵ ft ۷+۱۲ in (۱۷۰ cm)
{{بوی|ft=5|in=7+1/2|precision=3}} ۵ ft ۷+۱۲ in (۱٫۷۱۵ m)
ft
{{بوی|ft=6}} ۶ ft ۰ in (۱٫۸۳ m)
{{بوی|ft=6|out=cm}} ۶ ft ۰ in (۱۸۳ cm)
{{بوی|ft=6.5}} ۶٫۵ ft ۰ in (۱٫۹۸ m)
{{بوی|ft=6.5|out=cm}} ۶٫۵ ft ۰ in (۱۹۸ cm)
{{بوی|ft=6+1/2}} ۶+۱۲ ft ۰ in (۱٫۹۸ m)
{{بوی|ft=6+1/2|out=cm}} ۶+۱۲ ft ۰ in (۱۹۸ cm)
in
{{بوی|in=10}} ۰ ft ۱۰ in (۰٫۲۵ m)
{{بوی|in=10|out=cm}} ۰ ft ۱۰ in (۲۵ cm)
{{بوی|in=10.5}} ۰ ft ۱۰٫۵ in (۰٫۲۷ m)
{{بوی|in=10.5|out=cm}} ۰ ft ۱۰٫۵ in (۲۷ cm)
{{بوی|in=10+1/2}} ۰ ft ۱۰+۱۲ in (۰٫۲۷ m)
{{بوی|in=10+1/2|out=cm}} ۰ ft ۱۰+۱۲ in (۲۷ cm)
خطالار
{{بوی|cm=200|in=2|precision=0}} خطا: لوطفا، یالنیز بیر نؤوع واحیددن ایستیفاده ائدرک اوجالیغی قید ائدین
{{بوی|cm=177|frac=0}} لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
{{بوی|ft=5|in={{تقسیم|7|1|2}}}} [ابزار تبدیل: invalid number]
{{بوی|ft=5|in={{تقسیم|7|1|2}}}} [ابزار تبدیل: invalid number]
{{بوی|ft=5|in=7 1/2}} [ابزار تبدیل: invalid number]
{{بوی|ft=5|in=7_1/2}} [ابزار تبدیل: invalid number]
{{بوی|ft=5|in=7-1/2}} [ابزار تبدیل: invalid number]
{{بوی|ft=5|in=7½}} [ابزار تبدیل: invalid number]
unsupported units
{{بوی|mm=2000}}
{{بوی|dm=20}}
{{بوی|'=6|"=1}}
{{بوی|′=6|″=1}}
{{بوی|hand=20}}
{{بوی|yard=2}}
  • m is for metres
  • cm is for centimetres
  • ft is for feet
  • in is for inches

Tracking categories دَییشدیر

Template data دَییشدیر

This is the TemplateData documentation for this template used by VisualEditor and other tools; click here to see a monthly parameter usage report for this template.

TemplateData for بوی

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".

رشتهاختیاری

همچینین باخ دَییشدیر

  • {{convert}}
    • {{Convert|1.82|m|ftin|frac=4|abbr=on}} → لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
    • {{Convert|182|cm|ftin|frac=4|abbr=on}} → لوآ خطاسیماژول:Convert-ین 1851-جی/جو خطینده: attempt to index local 'en_value' (a nil value).
    • {{Convert|5|ft|11+3/4|in|m|2|abbr=on}} → ۵ ft ۱۱+۳۴ in (۱٫۸۲ m)
    • {{Convert|5|ft|11+3/4|in|cm|0|abbr=on}} → ۵ ft ۱۱+۳۴ in (۱۸۲ cm)