Difference between revisions of "Template:Infobox Element"

From The Powder Toy
Jump to: navigation, search
(Ignore State, display state based on TYPE_ from properties instead)
m (Fix SPRK link)
Line 58: Line 58:
 
   }} above {{{highpressure}}} pressure | }}
 
   }} above {{{highpressure}}} pressure | }}
 
| header40 = {{#if: {{#pos:{{{properties|}}} | PROP_}} | Misc properties |}}
 
| header40 = {{#if: {{#pos:{{{properties|}}} | PROP_}} | Misc properties |}}
| data46 = {{#if: {{#pos:{{{properties|}}}|PROP_CONDUCTS}} | Conducts electricity ([[SPRK]]) | }}
+
| data46 = {{#if: {{#pos:{{{properties|}}}|PROP_CONDUCTS}} | Conducts electricity ([[Element:SPRK|SPRK]]) | }}
 
| data47 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTPENETRATE}} | Mangled by neutrons | }}
 
| data47 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTPENETRATE}} | Mangled by neutrons | }}
 
| data48 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTABSORB}} | Absorbs neutrons | }}
 
| data48 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTABSORB}} | Absorbs neutrons | }}
| data49 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTPASS}} | Allows neutrons through | }}
+
| data49 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTPASS}} | Allows neutrons to pass through | }}
 
| data50 = {{#if: {{#pos:{{{properties|}}}|PROP_DEADLY}} | Harmful to [[STKM]] | }}
 
| data50 = {{#if: {{#pos:{{{properties|}}}|PROP_DEADLY}} | Harmful to [[STKM]] | }}
 
| data51 = {{#if: {{#pos:{{{properties|}}}|PROP_RADIOACTIVE}} | Radioactive, harmful to [[STKM]] | }}
 
| data51 = {{#if: {{#pos:{{{properties|}}}|PROP_RADIOACTIVE}} | Radioactive, harmful to [[STKM]] | }}

Revision as of 10:53, 6 October 2014

Infobox for displaying various element properties.

Most of them should be passed exactly as in the source code. However, the properties parameter should be space separated (so remove the pipes). Example: TYPE_LIQUID PROP_CONDUCTS PROP_NEUTPENETRATE PROP_LIFE_DEC