Difference between revisions of "Template:Infobox Element"

From The Powder Toy
Jump to: navigation, search
(Generalized the template with parameters)
(Automatic temperature conversions (source is Celsius.))
Line 1: Line 1:
 
 
{{ infobox
 
{{ infobox
 
| name = Element
 
| name = Element
Line 10: Line 9:
 
| data2 = {{{colour}}}
 
| data2 = {{{colour}}}
 
| label3 = Temperature
 
| label3 = Temperature
| data3 = {{{temperature}}}
+
| data3 = {{formatnum:{{{temperature}}}}} *C / {{#expr:{{formatnum:{{{temperature}}}}}+273.25}} K / {{#expr:({{formatnum:{{{temperature}}}}}*(9/5))+32}} °F
 
| label4 = Heat Conductivity
 
| label4 = Heat Conductivity
 
| data4 = {{{heat conductivity}}}
 
| data4 = {{{heat conductivity}}}

Revision as of 15:51, 8 October 2012

{{{id}}}
{{{name}}}
[[File:{{{image}}}|200px]]
{{{description}}}
Properties
Colour {{{colour}}}
Temperature {{{temperature}}} *C / Expression error: Unrecognized punctuation character "{". K / Expression error: Unrecognized punctuation character "{". °F
Heat Conductivity {{{heat conductivity}}}
Diffusion {{{diffusion}}}
Flammable {{{flammable}}}
Explosive {{{explosive}}}
Meltable {{{meltable}}}