Difference between revisions of "Template:Chembox MeltingPt"

From blackwiki
Jump to navigation Jump to search
imported>Beetstra
(correct numbering)
imported>Beetstra
(swap F and K)
Line 2: Line 2:
 
|  
 
|  
 
{{#if:{{{value1|}}}|{{{value1}}}{{#if:{{{value4|}}}|-{{{value4}}} }} °C, {{#expr:({{{value1|}}}+273.15 round 0)}}{{#if:{{{value4|}}}|-{{#expr:({{{value4|}}}+273.15 round 0)}} }} K, {{#expr:({{{value1}}} * 9 / 5 + 32 round 0) }}{{#if:{{{value4|}}}|-{{#expr:({{{value4}}} * 9 / 5 + 32 round 0) }} }} °F|
 
{{#if:{{{value1|}}}|{{{value1}}}{{#if:{{{value4|}}}|-{{{value4}}} }} °C, {{#expr:({{{value1|}}}+273.15 round 0)}}{{#if:{{{value4|}}}|-{{#expr:({{{value4|}}}+273.15 round 0)}} }} K, {{#expr:({{{value1}}} * 9 / 5 + 32 round 0) }}{{#if:{{{value4|}}}|-{{#expr:({{{value4}}} * 9 / 5 + 32 round 0) }} }} °F|
{{#if:{{{value2|}}}|{{#expr:({{{value2}}}-273.15 round 0)}}{{#if:{{{value5|}}}|-{{#expr:({{{value5}}}-273.15 round 0)}} }} °C, {{{value2|}}}{{#if:{{{value5|}}}|-{{{value5|}} }} K, {{#expr:(({{{value2}}}-273.15) * 9 / 5 + 32 round 0) }}{{#if:{{{value5|}}}|-{{#expr:(({{{value5}}}-273.15) * 9 / 5 + 32 round 0) }} }} °F|
+
{{#if:{{{value2|}}}|{{{value2}}}{{#if:{{{value5|}}}|-{{{value5}}} }} °C, {{#expr:({{{value5|}}}+273.15 round 0)}}{{#if:{{{value5|}}}|-{{#expr:({{{value5|}}}+273.15 round 0)}} }} K, {{{value2}}}{{#if:{{{value5|}}}|-{{{value5}}} }} °F|
{{#if:{{{value3|}}}|{{{value3}}}{{#if:{{{value6|}}}|-{{{value6}}} }} °C, {{#expr:({{{value3|}}}+273.15 round 0)}}{{#if:{{{value6|}}}|-{{#expr:({{{value6|}}}+273.15 round 0)}} }} K, {{{value3}}}{{#if:{{{value6|}}}|-{{{value6}}} }} °F||{{{value|}}} }} }} }} {{#if:{{{label|}}}|{{{label}}} }}
+
{{#if:{{{value3|}}}|{{#expr:({{{value3}}}-273.15 round 0)}}{{#if:{{{value6|}}}|-{{#expr:({{{value6}}}-273.15 round 0)}} }} °C, {{{value3|}}}{{#if:{{{value6|}}}|-{{{value6|}} }} K, {{#expr:(({{{value3}}}-273.15) * 9 / 5 + 32 round 0) }}{{#if:{{{value6|}}}|-{{#expr:(({{{value6}}}-273.15) * 9 / 5 + 32 round 0) }} }} °F|
 +
{{{value|}}} }} }} }} {{#if:{{{label|}}}|{{{label}}} }}
 
|-
 
|-

Revision as of 22:31, 8 February 2007

| Melting point | {{#if:|{{{value1}}} °C, 273 K, Expression error: Unrecognized punctuation character "{". °F| {{#if:|{{{value2}}} °C, 273 K, {{{value2}}} °F| {{#if:|Expression error: Unrecognized punctuation character "{". °C, {{#if:|-{Template:Value6 }} K, Expression error: Unrecognized punctuation character "{". °F|

}} }} }} 

|-