Difference between revisions of "User:LiquidCaesium/Template:Temperature"
Line 1: | Line 1: | ||
<noinclude>The argument is passed as Kelvins. | <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: {{User:LiquidCaesium/Template:Temperature|1000}} and you will get </noinclude> | + | Example: <nowiki>{{User:LiquidCaesium/Template:Temperature|1000}}</nowiki> and you will get {{User:LiquidCaesium/Template:Temperature|1000}} </noinclude> |
<includeonly> '''[{{{1}}}°K: {{#expr:{{{1}}}-273.15}}°C: {{#expr:({{{1}}}*1.8) - 459.67}}°F]''' </includeonly> | <includeonly> '''[{{{1}}}°K: {{#expr:{{{1}}}-273.15}}°C: {{#expr:({{{1}}}*1.8) - 459.67}}°F]''' </includeonly> |
Revision as of 07:51, 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|1000}} and you will get [{{{t}}}°K: Expression error: Unrecognized punctuation character "{".°C: Expression error: Unrecognized punctuation character "{".°F]