Difference between revisions of "Template:Infobox Element"

From The Powder Toy
Jump to: navigation, search
m (Reverted edits by BenNgNg (talk) to last revision by Catelite)
(Try to add low temperature transition)
Line 1: Line 1:
{{ infobox
+
<includeonly>{{ infobox
 
| name = Element
 
| name = Element
 
| title = [[File:{{{icon}}}]] {{{longname}}}
 
| title = [[File:{{{icon}}}]] {{{longname}}}
Line 5: Line 5:
 
| caption = {{{description}}}
 
| caption = {{{description}}}
 
| header1 = Properties
 
| header1 = Properties
| label7 = [[Temperature]]
+
| label7 = [[Spawn temperature]]
| data7 = {{{temperature}}}
+
| data7 = {{Temperature|t={{{temperature}}}}}
 
| label8 = [[Heat Conductivity]]
 
| label8 = [[Heat Conductivity]]
| data8 = {{{heatconduct}}}
+
| data8 = {{#ifexpr: {{{heatconduct}}} > 250 | 100% | {{#expr:{{{heatconduct}}}*100/250 round 1}}% }}
 
| label10 = [[Flammability]]
 
| label10 = [[Flammability]]
 
| data10 = {{{flammable}}}
 
| data10 = {{{flammable}}}
Line 15: Line 15:
 
| label12 = Explosive
 
| label12 = Explosive
 
| data12 = {{{explosive}}}
 
| data12 = {{{explosive}}}
| label13 = Meltable
+
| header30 = {{#if: {{{highpressuretransition|}}} {{{hightemperaturetransition|}}} {{{lowpressuretransition|}}} {{{lowtemperaturetransition|}}} | Transitions | }}
| data13 = {{{meltable}}}
+
| label31 = {{#if: {{{lowtemperaturetransition|}}} | Low temperature | }}
 +
| data31 = {{#if: {{{lowtemperaturetransition|}}} | {{Material|mat={{{lowtemperaturetransition}}}}} at {{Temperature|t={{{lowtemperature}}}}} | }}
 
}}
 
}}
 +
</includeonly>

Revision as of 15:51, 5 October 2014