Difference between revisions of "Template:Infobox Element"

From The Powder Toy
Jump to: navigation, search
(Add more properties to infobox (maybe all should be added?))
(Matched format of elements.txt file)
Line 1: Line 1:
 
{{ infobox
 
{{ infobox
 
| name = Element
 
| name = Element
| title = [[File:{{{icon}}}]] {{{name}}}
+
| title = [[File:{{{icon}}}]] {{{longname}}}
 
| image = {{{image}}}
 
| image = {{{image}}}
 
| caption = {{{description}}}
 
| caption = {{{description}}}
Line 22: Line 22:
 
| data9 = {{{gravity}}}
 
| data9 = {{{gravity}}}
 
| label10 = [[Temperature]]
 
| label10 = [[Temperature]]
| data10 = {{formatnum:{{{temperature}}}}} &deg;C<br/>{{#expr:{{formatnum:{{{temperature}}}}}+273.15}} K<br/>{{#expr:({{formatnum:{{{temperature}}}}}*(9/5))+32}} &deg;F
+
| data10 = {{formatnum:{{{temperature}}}}} K<br/>{{#expr:{{formatnum:{{{temperature}}}}}-273.15}} &deg;C<br/>{{#expr:({{formatnum:{{{temperature}}}}}*(9/5))-459.67}} &deg;F
 
| label11 = [[Heat Conductivity]]
 
| label11 = [[Heat Conductivity]]
| data11 = {{{heat conductivity}}}
+
| data11 = {{{heatconduct}}}
 
| label12 = [[Diffusion]]
 
| label12 = [[Diffusion]]
 
| data12 = {{{diffusion}}}
 
| data12 = {{{diffusion}}}

Revision as of 03:58, 10 October 2012

[[File:{{{icon}}}]] {{{longname}}}
{{{image}}}
{{{description}}}
Properties
Section {{{section}}}
Hidden {{{hidden}}}
Colour #{{{colour}}}
Advection {{{advection}}}
Airdrag {{{airdrag}}}
Airloss {{{airloss}}}
Loss {{{loss}}}
Gravity {{{gravity}}}
Temperature {{{temperature}}} K
Expression error: Unrecognized punctuation character "{". °C
Expression error: Unrecognized punctuation character "{". °F
Heat Conductivity {{{heatconduct}}}
Diffusion {{{diffusion}}}
Flammability {{{flammability}}}
Weight {{{weight}}}
Explosive {{{explosive}}}
Meltable {{{meltable}}}
Conductive {{{conductive}}}