Template:Conv display: Difference between revisions

From Wikishire
Jump to navigation Jump to search
No edit summary
RB (talk | contribs)
No edit summary
Line 1: Line 1:
{{#switch:{{{5}}}
{{#switch:{{{5}}}
|x={{#switch:{{Database|{{#var:unit 2}}|system}}
|x={{#switch:{{Data Units|{{#var:unit 2}}|system}}
|imperial={{commas|{{{3}}} }}{{{4}}}
|imperial={{#formatnum:{{{3}}}|{{#var:roundx}}|.|,}}{{{4}}}
|{{commas|{{{1}}} }}{{{2}}}
|{{#formatnum:{{{1}}}|{{#var:roundx}}|.|,}}{{{2}}}
}}|{{#switch:{{Database|{{#var:unit 2}}|system}}
}}|{{#switch:{{Data Units|{{#var:unit 2}}|system}}
|imperial={{commas|{{{3}}} }}{{{4}}} ({{commas|{{{1}}} }}{{{2}}})
|imperial={{#formatnum:{{{3}}}|{{#var:roundx}}|.|,}}{{{4}}} ({{#formatnum:{{{1}}}|{{#var:roundx}}|.|,}}{{{2}}})
|{{commas|{{{1}}} }}{{{2}}} ({{commas|{{{3}}} }}{{{4}}})
|{{#formatnum:{{{1}}}|{{#var:roundx}}|.|,}}{{{2}}} ({{#formatnum:{{{3}}}|{{#var:roundx}}|.|,}}{{{4}}})
}}}}<noinclude>[[Category:Convert templates|Display]]
}}}}<noinclude>[[Category:Convert templates|Display]]

Revision as of 21:54, 8 February 2014

{{#formatnum:{{{1}}}||.|,}}{{{2}}} ({{#formatnum:{{{3}}}||.|,}}{{{4}}})