Jump to content

साचा:M to ft in

विकिपीडिया, मुक्‍त ज्ञानकोशातून
Usage
{{m to ft in| num | abbr | spell | precision | wiki | frac}}
Examples
Manual of Style notation:
  • {{m to ft in|9}} → ९ मीटर (२९ फु ६.३ इं)
  • {{m to ft in|9|frac=7}} → ९ मीटर (२९ फु + इं)
  • {{m to ft in|9|frac=16}} → ९ मीटर (२९ फु +१६ इं)
Short notation:
  • {{m to ft in|9|abbr=yes}} → ९ मी (२९ फु ६.३ इं)
  • {{m to ft in|9|abbr=yes|frac=7}} → ९ मी (२९ फु + इं)
  • {{m to ft in|9|abbr=yes|frac=16}} → ९ मी (२९ फु +१६ इं)
Full notation:

Italicized parameters are optional:

  • num is a required parameter, which specifies the number of meters to be converted to feet and inches. Please do not format this parameter; i.e., use 1234 instead of 1,234.
  • abbr can take values of either mos, yes, or no. Mos will show the names of the units as specified in the Manual of Style for dates and numbers (meters, ft/in); yes will show the abbreviated names of the units (m, ft/in); and no will show the full names of the units (meters, feet/inches). The default value is mos.
  • spell can take values of American or Commonwealth and is only meaningful when abbr is set to no. American will use "meters", and Commonwealth—"metres". The default value is American.
  • precision is the number of decimal digits in the converted value. The default value is 1.
  • wiki 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.
  • frac specifies whether the output of inches should be decimal or in vulgar fractions and can take integer values. The value of 10 will lead to showing fractions of inches as decimals, while any other number will lead to showing fractions of inches as vulgar fractions (e.g., 16 will produce sixteenths). Output vulgar fractions are resolved in lower terms whenever possible.

Capitalization of the parameters is unimportant.