Template:Convert/LoffAmonSoff

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

{{convert/outsep{{{?}}} | 1={{convert/round{{{?}}}|{{{1}}}|{{{2}}}/{{{b}}}|{{{3}}}|{{{4}}}|{{{j}}}}} | 2= | 3={{{n}}}s | sep=

}}

[edit] [history] [purge] Template documentation

Template:Convert/LoffAmonSoff sets the separator/space for the converted output amount, depending on the existence of the unit symbol {u} to put &nbsp for non-wrapped text. This template invokes {{Convert/outsep}} to select either a singular or plural unit name, depending on the output amount {1}.