Difference between revisions of "Template:Convert"

From Omniverse Nexus
Jump to navigation Jump to search
 
Line 1: Line 1:
<includeonly>{{#switch:{{{1}}}
+
{{#switch:{{{1}}}
 
|km  = {{{2}}} km ({{#expr:{{{2}}}*(5/8)round1}} mi)
 
|km  = {{{2}}} km ({{#expr:{{{2}}}*(5/8)round1}} mi)
 
|mi  = {{{2}}} mi ({{#expr:{{{2}}}*(8/5)round1}} km)
 
|mi  = {{{2}}} mi ({{#expr:{{{2}}}*(8/5)round1}} km)
Line 8: Line 8:
 
|kg  = {{{2}}} kg ({{#expr:{{{2}}}*2.205round1}} lbs)
 
|kg  = {{{2}}} kg ({{#expr:{{{2}}}*2.205round1}} lbs)
 
|lbs = {{{2}}} lbs ({{#expr:{{{2}}}/2.205round1}} kg)
 
|lbs = {{{2}}} lbs ({{#expr:{{{2}}}/2.205round1}} kg)
}}</includeonly>
+
}}
 
<noinclude>{{Documentation}} [[Category:Templates]]</noinclude>
 
<noinclude>{{Documentation}} [[Category:Templates]]</noinclude>

Latest revision as of 03:43, 27 June 2020

Template documentation (for the above template, sometimes hidden or invisible)

Visit Template:Convert/doc to edit this text! (How does this work?)