Template:Convert: Difference between revisions

From The World of Gotha
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{{#switch: {{{2}}}
{{#switch: {{{2}}}
| km =   {{formatnum: {{{1}}} }} km ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mi)
| km =   {{formatnum: {{{1}}} }} km ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mi)
| mi =   {{formatnum: {{{1}}} }} mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km)
| mi =   {{formatnum: {{{1}}} }} mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km)
| m =   {{formatnum: {{{1}}} }} m ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 3.281 round {{{3|0}}} }} }} ft)
| m =     {{formatnum: {{{1}}} }} m ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 3.281 round {{{3|0}}} }} }} ft)
| ft =   {{formatnum: {{{1}}} }} ft ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 3.281 round {{{3|0}}} }} }} m)
| ft =   {{formatnum: {{{1}}} }} ft ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 3.281 round {{{3|0}}} }} }} m)
| yd =   {{formatnum: {{{1}}} }} yd ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.094 round {{{3|0}}} }} }} m)
| yd =   {{formatnum: {{{1}}} }} yd ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.094 round {{{3|0}}} }} }} m)
| mm =   {{formatnum: {{{1}}} }} mm ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 25.4 round {{{3|0}}} }} }} in)
| cm =    {{formatnum: {{{1}}} }} cm ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.54 round {{{3|0}}} }} }} in)
| in =   {{formatnum: {{{1}}} }} in ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 25.4 round {{{3|0}}} }} }} mm)
| in cm = {{formatnum: {{{1}}} }} in ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.54 round {{{3|0}}} }} }} cm)
| kg =   {{formatnum: {{{1}}} }} kg ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.205 round {{{3|0}}} }} }} lb)
| mm =   {{formatnum: {{{1}}} }} mm ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 25.4 round {{{3|0}}} }} }} in)
| lb =   {{formatnum: {{{1}}} }} lb ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.205 round {{{3|0}}} }} }} kg)
| in =   {{formatnum: {{{1}}} }} in ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 25.4 round {{{3|0}}} }} }} mm)
| t =   {{formatnum: {{{1}}} }} t ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.102 round {{{3|0}}} }} }} ST)
| kg =   {{formatnum: {{{1}}} }} kg ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.205 round {{{3|0}}} }} }} lb)
| ST =   {{formatnum: {{{1}}} }} ST ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.102 round {{{3|0}}} }} }} t)
| lb =   {{formatnum: {{{1}}} }} lb ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.205 round {{{3|0}}} }} }} kg)
| g =   {{formatnum: {{{1}}} }} g ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 28.35 round {{{3|0}}} }} }} oz)
| t =     {{formatnum: {{{1}}} }} t ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.102 round {{{3|0}}} }} }} ST)
| oz =   {{formatnum: {{{1}}} }} oz ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 28.35 round {{{3|0}}} }} }} g)
| ST =   {{formatnum: {{{1}}} }} ST ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.102 round {{{3|0}}} }} }} t)
| km2 = {{formatnum: {{{1}}} }} km<sup>2</sup> ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.59 round {{{3|0}}} }} }} sq mi)
| g =     {{formatnum: {{{1}}} }} g ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 28.35 round {{{3|0}}} }} }} oz)
| oz =   {{formatnum: {{{1}}} }} oz ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 28.35 round {{{3|0}}} }} }} g)
| km2 =   {{formatnum: {{{1}}} }} km<sup>2</sup> ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 2.59 round {{{3|0}}} }} }} sq mi)
| sq mi
| sq mi
| sqmi = {{formatnum: {{{1}}} }} sq mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.59 round {{{3|0}}} }} }} km<sup>2</sup>)
| sqmi = {{formatnum: {{{1}}} }} sq mi ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 2.59 round {{{3|0}}} }} }} km<sup>2</sup>)
| m2 =   {{formatnum: {{{1}}} }} m<sup>2</sup> ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 10.764 round {{{3|0}}} }} }} sq ft)
| m2 =   {{formatnum: {{{1}}} }} m<sup>2</sup> ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 10.764 round {{{3|0}}} }} }} sq ft)
| sq ft
| sq ft
| sqft = {{formatnum: {{{1}}} }} sq ft ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 10.764 round {{{3|0}}} }} }} m<sup>2</sup>)
| sqft = {{formatnum: {{{1}}} }} sq ft ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 10.764 round {{{3|0}}} }} }} m<sup>2</sup>)
| km/h = {{formatnum: {{{1}}} }} km/h ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mph)
| km/h = {{formatnum: {{{1}}} }} km/h ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} / 1.609 round {{{3|0}}} }} }} mph)
| mph = {{formatnum: {{{1}}} }} mph ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km/h)
| mph =   {{formatnum: {{{1}}} }} mph ({{formatnum: {{#expr: {{formatnum:{{{1}}}|R}} * 1.609 round {{{3|0}}} }} }} km/h)
| #default = <span id="uom" style="font-weight:bold; font-style:italic; color:#C51E3A;">Error: Unit of measure is not supported</span>
| #default = <span id="uom" style="font-weight:bold; font-style:italic; color:#C51E3A;">Error: Unit of measure is not supported</span>
}}
}}

Revision as of 20:58, 24 September 2024

Error: Unit of measure is not supported