Jump to content

Шаблон:Convert/LoffAonDxSoff2

Мавод аз Википедиа — донишномаи озод


The Template:Convert/LoffAonDxSoff2 is a subtemplate of Template:Convert to show custom output for a 2-unit abbreviated conversion, such as feet-inches into metres, with unit symbols. Compare the examples:

  • {{convert|6|ft|3|in|cm|1|abbr=on}}                       → 6 ft 3 in (190.5 см)
  • {{convert|6|ft|3|in|cm|disp=x| high [|]|1|abbr=on}} → 6 ft 3 in high [190.5 см]

This template handles the option "disp=x" to pass parameters 6 and 7 as the custom text to show around the output amount. Parameter 8 can be the rounding level, such as "1" to show 1 decimal digit.