Template:Conv display: Difference between revisions

From Wikishire
Jump to navigation Jump to search
mNo edit summary
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#switch:{{{5}}}
{{#switch:{{{5}}}
|x={{#switch:{{Database|{{{4}}}|system}}
|x={{#switch:{{Data Units|{{#var:unit 2}}|system}}
|imperial={{commas|{{{3}}} }}{{{4}}}
|imperial={{#number_format:{{{3}}}|{{#var:roundx}}|.|,}}{{{4}}}
|{{commas|{{{1}}} }}{{{2}}}
|{{#number_format:{{{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={{#number_format:{{{3}}}|{{#var:roundx}}|.|,}}{{{4}}} ({{#number_format:{{{1}}}|{{#var:roundx}}|.|,}}{{{2}}})
|{{commas|{{{1}}} }}{{{2}}} ({{commas|{{{3}}} }}{{{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}}})