Nodyn:Convert/and/AonSoff

Oddi ar Wicipedia
Jump to navigation Jump to search

1+45 a 3+67 {{{u}}} The Template:Convert/and/AonSoff formats a range where the 2 amounts are separated with word "and" between the numbers. The range can text-wrap at "and" if the first amount > 4 long, such as a number in scientific x10 notation.

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 the unit name (depending on amount singular or plural) will be displayed instead.