Template:Convert: Difference between revisions
Jump to navigation
Jump to search
>MJCdetroit (added display option of slash per talk page) |
>MJCdetroit (More flexiable inputs per talk page requests by Jimp and Lightmouse) |
||
Line 18: | Line 18: | ||
|sqmi= square mile{{!}}sq mi | |sqmi= square mile{{!}}sq mi | ||
|sqnmi=square nautical mile{{!}}sq nmi | |sqnmi=square nautical mile{{!}}sq nmi | ||
|ft:s= feet per second{{!}}ft/s | |ft:s|ft/s= feet per second{{!}}ft/s | ||
|mi:h= miles per hour{{!}}mph | |mi:h|mi/h|mph= miles per hour{{!}}mph | ||
|knot= knot (speed){{!}}kt | |knot= knot (speed){{!}}kt | ||
|m:s= metre per second{{!}}m/s | |m:s|m/s= metre per second{{!}}m/s | ||
|km:h= kilometres per hour{{!}}km/h | |km:h|kph|km/h= kilometres per hour{{!}}km/h | ||
|°C= Celsius{{!}}°C | |°C|C= Celsius{{!}}°C | ||
|°F= Fahrenheit{{!}}°F | |°F|F= Fahrenheit{{!}}°F | ||
|K=Kelvin{{!}}K | |K=Kelvin{{!}}K | ||
|°R= Rankine{{!}}°R | |°R|R= Rankine{{!}}°R | ||
}}]]|={{#switch:{{{2|}}} | }}]]|={{#switch:{{{2|}}} | ||
|AU= AU | |AU= AU | ||
Line 46: | Line 46: | ||
|sqmi= sq mi | |sqmi= sq mi | ||
|sqnmi=sq nmi | |sqnmi=sq nmi | ||
|ft:s= ft/s | |ft:s|ft/s= ft/s | ||
|mi:h= mph | |mi:h|mi/h|mph= mph | ||
|knot= kt | |knot= kt | ||
|m:s= m/s | |m:s|m/s= m/s | ||
|km:h= km/h | |km:h|kph|km/h= km/h | ||
|°C= °C | |°C|C= °C | ||
|°F= °F | |°F|F= °F | ||
|K=K | |K=K | ||
|°R= °R | |°R|R= °R | ||
}}}} | {{#switch:{{{lk|}}}|on=[[{{#switch:{{{2|}}} | }}}} | {{#switch:{{{lk|}}}|on=[[{{#switch:{{{2|}}} | ||
|AU= astronomical unit{{!}}{{#ifeq:{{{1}}}|1||{{#ifeq:{{{sing}}}|on||{{!}}astronomical units}}}} | |AU= astronomical unit{{!}}{{#ifeq:{{{1}}}|1||{{#ifeq:{{{sing}}}|on||{{!}}astronomical units}}}} | ||
Line 74: | Line 74: | ||
|sqmi= square mile{{#ifeq:{{{1}}}|1||{{#ifeq:{{{sing}}}|on||{{!}}square miles}}}} | |sqmi= square mile{{#ifeq:{{{1}}}|1||{{#ifeq:{{{sing}}}|on||{{!}}square miles}}}} | ||
|sqnmi=square nautical mile{{#ifeq:{{{1}}}|1||{{#ifeq:{{{sing}}}|on||{{!}}square nautical miles}}}} | |sqnmi=square nautical mile{{#ifeq:{{{1}}}|1||{{#ifeq:{{{sing}}}|on||{{!}}square nautical miles}}}} | ||
|ft:s= feet per second{{#ifeq:{{{1}}}|1|{{!}}foot per second|{{#ifeq:{{{sing}}}|on||{{!}}foot per second}}}} | |ft:s|ft/s= feet per second{{#ifeq:{{{1}}}|1|{{!}}foot per second|{{#ifeq:{{{sing}}}|on||{{!}}foot per second}}}} | ||
|mi:h= miles per hour{{#ifeq:{{{1}}}|1|{{!}}mile per hour|{{#ifeq:{{{sing}}}|on||{{!}}mile per hour}}}} | |mi:h|mi/h|mph= miles per hour{{#ifeq:{{{1}}}|1|{{!}}mile per hour|{{#ifeq:{{{sing}}}|on||{{!}}mile per hour}}}} | ||
|knot= knot (speed){{!}}{{#ifeq:{{{1}}}|1|knot|{{#ifeq:{{{sing}}}|on|knot|knots}}}} | |knot= knot (speed){{!}}{{#ifeq:{{{1}}}|1|knot|{{#ifeq:{{{sing}}}|on|knot|knots}}}} | ||
|m:s= {{#switch:{{{sp|}}}|us=meters|=metres}} per second{{#ifeq:{{{1}}}|1|{{!}}{{#switch:{{{sp|}}}|us=meter|=metre}} per second|{{#ifeq:{{{sing}}}|on||{{!}}{{#switch:{{{sp|}}}|us=meter|=metre}} per second}}}} | |m:s|m/s= {{#switch:{{{sp|}}}|us=meters|=metres}} per second{{#ifeq:{{{1}}}|1|{{!}}{{#switch:{{{sp|}}}|us=meter|=metre}} per second|{{#ifeq:{{{sing}}}|on||{{!}}{{#switch:{{{sp|}}}|us=meter|=metre}} per second}}}} | ||
|km:h= {{#switch:{{{sp|}}}|us=kilometers|=kilometres}} per hour{{#ifeq:{{{1}}}|1|{{!}}{{#switch:{{{sp|}}}|us=kilometer|=kilometre}} per hour|{{#ifeq:{{{sing}}}|on||{{!}}{{#switch:{{{sp|}}}|us=kilometer|=kilometre}} per hour}}}} | |km:h|kph|km/h= {{#switch:{{{sp|}}}|us=kilometers|=kilometres}} per hour{{#ifeq:{{{1}}}|1|{{!}}{{#switch:{{{sp|}}}|us=kilometer|=kilometre}} per hour|{{#ifeq:{{{sing}}}|on||{{!}}{{#switch:{{{sp|}}}|us=kilometer|=kilometre}} per hour}}}} | ||
|°C= Celsius{{!}}°C | |°C|C= Celsius{{!}}°C | ||
|°F= Fahrenheit{{!}}°F | |°F|F= Fahrenheit{{!}}°F | ||
|K=Kelvin{{!}}K | |K=Kelvin{{!}}K | ||
|°R= Rankine{{!}}°R | |°R|R= Rankine{{!}}°R | ||
}}]]|={{#switch:{{{2|}}} | }}]]|={{#switch:{{{2|}}} | ||
|AU= {{#ifeq:{{{1}}}|1|astronomical unit|{{#ifeq:{{{sing}}}|on|astronomical unit|astronomical units}}}} | |AU= {{#ifeq:{{{1}}}|1|astronomical unit|{{#ifeq:{{{sing}}}|on|astronomical unit|astronomical units}}}} | ||
Line 102: | Line 102: | ||
|sqmi= {{#ifeq:{{{1}}}|1|square mile|{{#ifeq:{{{sing}}}|on|square mile|square miles}}}} | |sqmi= {{#ifeq:{{{1}}}|1|square mile|{{#ifeq:{{{sing}}}|on|square mile|square miles}}}} | ||
|sqnmi={{#ifeq:{{{1}}}|1|square nautical mile|{{#ifeq:{{{sing}}}|on|square nautical mile|square nautical miles}}}} | |sqnmi={{#ifeq:{{{1}}}|1|square nautical mile|{{#ifeq:{{{sing}}}|on|square nautical mile|square nautical miles}}}} | ||
|ft:s= {{#ifeq:{{{1}}}|1|foot per second|{{#ifeq:{{{sing}}}|on|foot per second|feet per second}}}} | |ft:s|ft/s= {{#ifeq:{{{1}}}|1|foot per second|{{#ifeq:{{{sing}}}|on|foot per second|feet per second}}}} | ||
|mi:h= {{#ifeq:{{{1}}}|1|mile per hour|{{#ifeq:{{{sing}}}|on|mile per hour|miles per hour}}}} | |mi:h|mi/h|mph= {{#ifeq:{{{1}}}|1|mile per hour|{{#ifeq:{{{sing}}}|on|mile per hour|miles per hour}}}} | ||
|knot= {{#ifeq:{{{1}}}|1|knot|{{#ifeq:{{{sing}}}|on|knot|knots}}}} | |knot= {{#ifeq:{{{1}}}|1|knot|{{#ifeq:{{{sing}}}|on|knot|knots}}}} | ||
|m:s= {{#ifeq:{{{1}}}|1|{{#switch:{{{sp|}}}|us=meter|=metre}} per second|{{#ifeq:{{{sing}}}|on|{{#switch:{{{sp|}}}|us=meter|=metre}} per second|{{#switch:{{{sp|}}}|us=meters|=metres}} per second}}}} | |m:s|m/s= {{#ifeq:{{{1}}}|1|{{#switch:{{{sp|}}}|us=meter|=metre}} per second|{{#ifeq:{{{sing}}}|on|{{#switch:{{{sp|}}}|us=meter|=metre}} per second|{{#switch:{{{sp|}}}|us=meters|=metres}} per second}}}} | ||
|km:h= {{#ifeq:{{{1}}}|1|{{#switch:{{{sp|}}}|us=kilometer|=kilometre}} per hour|{{#ifeq:{{{sing}}}|on|{{#switch:{{{sp|}}}|us=kilometer|=kilometre}} per hour|{{#switch:{{{sp|}}}|us=kilometers|=kilometres}} per hour}}}} | |km:h|kph|km/h= {{#ifeq:{{{1}}}|1|{{#switch:{{{sp|}}}|us=kilometer|=kilometre}} per hour|{{#ifeq:{{{sing}}}|on|{{#switch:{{{sp|}}}|us=kilometer|=kilometre}} per hour|{{#switch:{{{sp|}}}|us=kilometers|=kilometres}} per hour}}}} | ||
|°C= °C | |°C|C= °C | ||
|°F= °F | |°F|F= °F | ||
|K=K | |K=K | ||
|°R= °R | |°R|R= °R | ||
}}}}}}{{#switch:{{{disp|}}}|/|s|slash=/|= (}}{{formatnum:{{#expr:{{{1}}} * {{ #switch:{{{2|}}} | }}}}}}{{#switch:{{{disp|}}}|/|s|slash=/|= (}}{{formatnum:{{#expr:{{{1}}} * {{ #switch:{{{2|}}} | ||
|AU = {{#switch:{{{3|}}} | |AU = {{#switch:{{{3|}}} | ||
Line 294: | Line 294: | ||
|sqmi=1.32429334 | |sqmi=1.32429334 | ||
}} | }} | ||
|ft:s= {{#switch:{{{3|}}} | |ft:s|ft/s= {{#switch:{{{3|}}} | ||
|knot=0.592483801 | |knot=0.592483801 | ||
|m:s=0.3048 | |m:s|m/s=0.3048 | ||
|km:h=1.09728 | |km:h|kph|km/h=1.09728 | ||
|mi:h=0.681818182 | |mi:h|mi/h|mph=0.681818182 | ||
}} | }} | ||
|mi:h= {{#switch:{{{3|}}} | |mi:h|mi/h|mph= {{#switch:{{{3|}}} | ||
|ft:s=1.46666667 | |ft:s|ft/s=1.46666667 | ||
|knot=0.868976242 | |knot=0.868976242 | ||
|m:s=0.44704 | |m:s|m/s=0.44704 | ||
|km:h=1.609344 | |km:h|kph|km/h=1.609344 | ||
}} | }} | ||
|knot= {{#switch:{{{3|}}} | |knot= {{#switch:{{{3|}}} | ||
|m:s=0.514444444 | |m:s|m/s=0.514444444 | ||
|km:h=1.85200 | |km:h|kph|km/h=1.85200 | ||
|ft:s=1.68780986 | |ft:s|ft/s=1.68780986 | ||
|mi:h=1.15077945 | |mi:h|mi/h|mph=1.15077945 | ||
}} | }} | ||
|m:s= {{#switch:{{{3|}}} | |m:s|m/s= {{#switch:{{{3|}}} | ||
|knot=1.94384449 | |knot=1.94384449 | ||
|km:h=3.6 | |km:h|kph|km/h=3.6 | ||
|ft:s=3.2808399 | |ft:s|ft/s=3.2808399 | ||
|mi:h=2.23693629 | |mi:h|mi/h|mph=2.23693629 | ||
}} | }} | ||
|km:h= {{#switch:{{{3|}}} | |km:h|kph|km/h= {{#switch:{{{3|}}} | ||
|knot=0.539956803 | |knot=0.539956803 | ||
|m:s=0.277777778 | |m:s|m/s=0.277777778 | ||
|ft:s=0.911344415 | |ft:s|ft/s=0.911344415 | ||
|mi:h=0.621371192 | |mi:h|mi/h|mph=0.621371192 | ||
}} | }} | ||
|°C = {{#switch:{{{3|}}} | |°C|C = {{#switch:{{{3|}}} | ||
|°F=1.8 | |°F|F =1.8 | ||
|K=1 | |K=1 | ||
|°R=1.8 | |°R|R =1.8 | ||
}} | }} | ||
|°F = {{#switch:{{{3|}}} | |°F|F = {{#switch:{{{3|}}} | ||
|°C=1/(1.8) | |°C|C =1/(1.8) | ||
|K=1/(1.8) | |K=1/(1.8) | ||
|°R=1 | |°R|R =1 | ||
}} | }} | ||
|K = {{#switch:{{{3|}}} | |K = {{#switch:{{{3|}}} | ||
|°C=1 | |°C|C =1 | ||
|°F=1.8 | |°F|F =1.8 | ||
|°R=1.8 | |°R|R =1.8 | ||
}} | }} | ||
|°R = {{#switch:{{{3|}}} | |°R|R = {{#switch:{{{3|}}} | ||
|°C=1/(1.8) | |°C|C =1/(1.8) | ||
|°F=1 | |°F|F =1 | ||
|K=1/(1.8) | |K=1/(1.8) | ||
}} | }} | ||
}} {{#switch:{{{2|}}} | }} {{#switch:{{{2|}}} | ||
|°C = {{#switch:{{{3|}}} | |°C|C = {{#switch:{{{3|}}} | ||
|°F= + 32 | |°F|F = + 32 | ||
|K= + 273.15 | |K= + 273.15 | ||
|°R= + 491.67 | |°R|R = + 491.67 | ||
}} | }} | ||
|°F = {{#switch:{{{3|}}} | |°F|F = {{#switch:{{{3|}}} | ||
|°C= - (32/1.8) | |°C|C = - (32/1.8) | ||
|K= + (459.67/1.8) | |K= + (459.67/1.8) | ||
|°R= + 459.67 | |°R|R = + 459.67 | ||
}} | }} | ||
|K = {{#switch:{{{3|}}} | |K = {{#switch:{{{3|}}} | ||
|°C= - 273.15 | |°C|C = - 273.15 | ||
|°F= - 459.67 | |°F|F = - 459.67 | ||
}} | }} | ||
|°R = {{#switch:{{{3|}}} | |°R|R = {{#switch:{{{3|}}} | ||
|°C= - 273.15 | |°C|C = - 273.15 | ||
|°F= - 459.67 | |°F|F = - 459.67 | ||
}} | }} | ||
}} {{#if:{{{4|}}} | round {{{4}}} }}}}}} {{#switch:{{{lk|}}}|on=[[{{#switch:{{{3|}}} | }} {{#if:{{{4|}}} | round {{{4}}} }}}}}} {{#switch:{{{lk|}}}|on=[[{{#switch:{{{3|}}} | ||
Line 382: | Line 382: | ||
|sqmi= square mile{{!}}sq mi | |sqmi= square mile{{!}}sq mi | ||
|sqnmi=square nautical mile{{!}}sq nmi | |sqnmi=square nautical mile{{!}}sq nmi | ||
|ft:s= feet per second{{!}}ft/s | |ft:s|ft/s= feet per second{{!}}ft/s | ||
|mi:h= miles per hour{{!}}mph | |mi:h|mi/h|mph= miles per hour{{!}}mph | ||
|knot= knot (speed){{!}}kt | |knot= knot (speed){{!}}kt | ||
|m:s= metre per second{{!}}m/s | |m:s|m/s= metre per second{{!}}m/s | ||
|km:h= kilometres per hour{{!}}km/h | |km:h|kph|km/h= kilometres per hour{{!}}km/h | ||
|°C= Celsius{{!}}°C | |°C|C= Celsius{{!}}°C | ||
|°F= Fahrenheit{{!}}°F | |°F|F= Fahrenheit{{!}}°F | ||
|K=Kelvin{{!}}K | |K=Kelvin{{!}}K | ||
|°R= Rankine{{!}}°R | |°R|R= Rankine{{!}}°R | ||
}}]]|={{#switch:{{{3|}}} | }}]]|={{#switch:{{{3|}}} | ||
|AU= AU | |AU= AU | ||
Line 410: | Line 410: | ||
|sqmi= sq mi | |sqmi= sq mi | ||
|sqnmi=sq nmi | |sqnmi=sq nmi | ||
|ft:s= ft/s | |ft:s|ft/s= ft/s | ||
|mi:h= mph | |mi:h|mi/h|mph= mph | ||
|knot= kt | |knot= kt | ||
|m:s= m/s | |m:s|m/s= m/s | ||
|km:h= km/h | |km:h|kph|km/h= km/h | ||
|°C= °C | |°C|C= °C | ||
|°F= °F | |°F|F= °F | ||
|K=K | |K=K | ||
|°R= °R | |°R|R= °R | ||
}}}}{{#switch:{{{disp|}}}|s=|/=|slash=|=)}}}}</includeonly><noinclude>{{pp-template|small=yes}}{{esoteric}} | }}}}{{#switch:{{{disp|}}}|s=|/=|slash=|=)}}}}</includeonly><noinclude>{{pp-template|small=yes}}{{esoteric}} | ||
{{template doc}} | {{template doc}} | ||
<!-- Add cats and interwikis to the /doc subpage, not here! --> | <!-- Add cats and interwikis to the /doc subpage, not here! --> | ||
</noinclude> | </noinclude> |