Difference between revisions of "User:LiquidCaesium/Template:Temperature"

From The Powder Toy
Jump to: navigation, search
 
Line 1: Line 1:
<noinclude>The argument is passed as Kelvins.
+
<includeonly>'''[{{{t}}}&deg;K: {{#expr:{{{t}}}-273.15}}&deg;C: {{#expr:({{{t}}}*1.8)-459.67}}&deg;F]'''</includeonly><noinclude>The argument is passed as Kelvins.
 
Do not try to fix the expression errors: if you pass the parameter right, it will work.
 
Do not try to fix the expression errors: if you pass the parameter right, it will work.
 
Example: <nowiki>{{ User:LiquidCaesium/Template:Temperature | t=1000 }}</nowiki> and you will get {{ User:LiquidCaesium/Template:Temperature | t=1000 }} </noinclude>
 
Example: <nowiki>{{ User:LiquidCaesium/Template:Temperature | t=1000 }}</nowiki> and you will get {{ User:LiquidCaesium/Template:Temperature | t=1000 }} </noinclude>
<includeonly> '''[{{{t}}}&deg;K: {{#expr: {{{t}}} -273.15}}&deg;C: {{#expr:({{{t}}}*1.8) - 459.67}}&deg;F]''' </includeonly>
 

Latest revision as of 08:43, 14 September 2013

The argument is passed as Kelvins. Do not try to fix the expression errors: if you pass the parameter right, it will work. Example: {{ User:LiquidCaesium/Template:Temperature | t=1000 }} and you will get [1000°K: 726.85°C: 1340.33°F]