Template:Conv display: Difference between revisions

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

Latest revision as of 17:22, 25 October 2024

1{{{2}}} (3{{{4}}})