Корбар:Wikid77/sandbox/Template:Convert/x/AonSoff
1 4⁄5 {{{u}}} × 3 6⁄7 {{{u}}}
The Template:Convert/x/AonSoff formats an input or output range where the 2 amounts are separated by an "×" between the amounts, with the unit symbol (if available, else shows the unit name).
For unit-codes where the unit symbol is undefined (or blank), then the template also checks for literal "{{{u}}}" with leading curly brace "{" and then shows the unit name (depending on amount singular or plural) instead.