Jump to content

Шаблон:Convert/Dual/LoffAoffDxSon

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

{{convert/{{{2}}}/AoffSon|{{{1}}}|{{{3}}}|n={{{n}}}|l={{{n}}}s}} [ {{ convert/{{{4}}}|{{{1}}}|{{{2}}}/AonSon|{{{3}}}|{{{s}}}+{{{b}}}|r={{{r}}}|j={{{j}}}|d=Dual/Loff}} ]


The Template:Convert/Dual/LoffAoffDxSon converts a range of numbers, with hyphenated unit names, while displaying custom separators around the output amounts. Examples:

  • {{convert|3|-|6|cm|ft|adj=on|disp=x| long (or |)}} → 3–6-сантиметр long (or 0.098–0.197 ft)
  • {{convert|4|-|7|km|mi|adj=on|disp=x|, same as }} → 3–6-сантиметр, same as 0.098–0.197 ft

This subtemplate is invoked from whichever range-word subtemplate is used, such as {{Convert/-}} or {{Convert/to}} (etc.), using the name "Dual/LoffAoffDxSon" and passing parameters {6} & {7} as being parameters {5} & {6} here.