Template:Convert/LonAonSon

From MattWiki
Jump to: navigation, search

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

This Template:Convert/LonAonSon 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 hyphenated unit name {{{h}}} or else {{{n}}} when no specific hyphenated name has been defined.