Template:Convert/-/AoffSoff

From Wikibooks, open books for an open world
Jump to: navigation, search

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

Template documentation[edit] [history] [purge]

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 " – ".

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.