User:Wikid77/Template:Convert/-/AonSoff/doc

The Template:Convert/-/AonSoff displays a range of numbers with en dash "–" and the unit symbol abbreviation (if any), else it displays the unit name, as singular or plural for the 2nd amount. An example of a unit which has no unit symbol is the unit acre, which always shows either "acre" or "acres". This template is used to show either the input range numbers or the output range numbers, which might contain commas or x10 notation.

For unit-codes where the unit symbol is undefined (or blank), then the template also checks for literal "" with leading curly brace "{" and then the unit name (depending on amount singular or plural) will be displayed instead.