Шаблон:Convert/old/doc/benefits

Мавод аз Википедиа — донишномаи озод
This is an information page
about using Template:Convert.
 

The measurement-converter Template:Convert often provides many benefits, including:

  • default conversion to the most-likely other unit, as readers would expect.
  • recalculates any number correctly (often wrong in convert-by-hand)
  • typesets the non-breaking space between amounts and unit symbols (joins "9 km").
  • auto-rounds the amounts, such as converting "300" rounded to the nearest hundred.
  • can set significant digits, such as cases where "120" is exact, as sigfig=3.
  • high-precision results (allows over 14 digits for scientific measurements)
  • hyphenates when unit used in an adjective phrase (per wp:MOS style)
  • can show official symbol for any unit, and knows when no abbreviation
  • converts a range, or sets of up to 4 amounts at once (see: {{convert/4}} )
  • converts to any 2 or 3 other units (see: {{convert/show3}} )
  • converts with fractions, such as: 2 12 фут (76 см).
  • allows reverse, flipped calculations based on output (see: {{convert/flip}} )
  • allows custom text between any calculated numbers and units (see: {{convert/f}} )
  • converts numbers also spelled in words (see: Help:Convert#Spell )
  • converts numbers typeset with gaps or commas (see: {{convert/gaps}} )
  • allows any user to add new unit-code calculations within minutes.
  • tracks use of various units by subtemplate, as counting articles which use "cubic yards".
  • allows similar calculations on other-language wikipedias, translating unit names into other languages (still in development).
  • allows spelling variants: default is metre, kilometre and litre; to show US spelling (meter, liter), use "sp=us".

There are various other benefits, as well. Also read the ongoing discussions at Template talk:Convert,
for requests to add more units into the total set of supported units.

See also