Wiktenauer logo.png

Template:Convert/LonAonSoff

From Wiktenauer
< Template:Convert
Revision as of 02:21, 23 September 2012 by Michael Chidester (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

This Template:Convert/LonAonSoff invokes Template:Convert/outsep to display the converted result and wikilinked unit symbol (if any), with {sep} to control wrapping. A number < 1000 is not wrapped, or if the unit symbol is used, then only numbers above 20,000 can wrap at the unit symbol. If the unit symbol {{{u}}} is not set (such as with "acre"), then it passes both the singular unit name {{{n}}} and plural, {{{l}}}, or "{{{n}}}s" when no specific plural name has been defined.