Jump to content

మూస:Height/doc

వికీపీడియా నుండి

Instructions

[మార్చు]
  • The template is intended for conversion of heights specified in either meters, or in feet and inches. Meters are converted to feet and inches, and feet and inches are converted to meters.
  • 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 meters 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 meters.
  • When decimal output is used, the default precision is 1 for meters-to-feet/inches conversion and 2 for feet/inches-to-meters 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.
Code Result
{{height|m=1.77|precision=0}} 1.77 మీ. (5 అ. 10 అం.)
{{height|m=1.77|precision=0}} 1.77 మీ. (5 అ. 10 అం.)
{{height|m=1.77|frac=16}} 1.77 మీ. (5 అ. 9+1116 అం.)
{{height|ft=6}} 6 అ. 0 అం. (1.83 మీ.)
{{height|ft=6|in=1}} 6 అ. 1 అం. (1.85 మీ.)
{{height|ft=6|in=1|precision=1}} 6 అ. 1 అం. (1.9 మీ.)
{{height|ft=5|in=7+1/2}} 5 అ. 7+12 అం. (1.71 మీ.)
{{height|ft=5|in=7+1/2|precision=1}} 5 అ. 7+12 అం. (1.7 మీ.)
{{height|in=10}} 0 అ. 10 అం. (0.25 మీ.)
{{height|m=1.72|precision=0}} 1.72 మీ. (5 అ. 8 అం.)
{{height|ft=6|in=2|abbr=mos}} 6 అడుగులు 2 అంగుళాలు (1.88 మీ.)
{{height|ft=6|in=2}} 6 అ. 2 అం. (1.88 మీ.)
{{height|ft=5|in=7+1/2|precision=3}} 5 అ. 7+12 అం. (1.715 మీ.)
{{height|m=2|in=2|precision=0}} Error: please specify height using only one type of units
  • m is for meters
  • ft is for feet
  • in is for inches

Template data

[మార్చు]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Height in articles based on its TemplateData.

TemplateData for Height

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

మూస పరామితులు

పరామితివివరణరకంస్థితి
Metersm meter meters metre metres

The height in meters. 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 meters are specified.

సంఖ్యఐచ్చికం
Inchesin inch inches

The inches part of the height in feet and inches (optional). Do not use if meters 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 meters and to 1 for meters to feet and inches. Must set "fraction" to "10" for meters 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 meters 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 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.

స్ట్రింగుఐచ్చికం
"https://te.wikipedia.org/w/index.php?title=మూస:Height/doc&oldid=951032" నుండి వెలికితీశారు