Jump to content

Template:Convert/-/AoffSoff

From Wikiversity

{{{1}}}–{{{2}}} {{{n}}}


The Template:Convert/-/AoffSoff displays a range of two numbers separated by an en-dash "–" followed by the unit name, as singular or plural for the 2nd amount. If the 2nd amount is a negative number, then spaces are added around the en-dash, as " – " (see: WP:DASH).

This template is used to show either the input range numbers or the output range numbers, which might contain commas or x10 notation. Optional parameters {amt1} & {amt2} could be used for numeric tests of the results, as passed with formatted results {1} and {2} from {{Convert/Dual/rnd}}, {{Convert/Dual/prnd}}, etc.