Difference between revisions of "Template:Infobox Element"

From The Powder Toy
Jump to: navigation, search
(HTML)
(Properties)
Line 52: Line 52:
 
     {{Material|mat={{{highpressuretransition}}}}}
 
     {{Material|mat={{{highpressuretransition}}}}}
 
   }} above {{{highpressure}}} pressure | }}
 
   }} above {{{highpressure}}} pressure | }}
 +
| header40 = {{#if: {{{properties|}}} | Misc properties |}}
 +
| data41 = {{#if: {{#pos:{{{properties|}}}|TYPE_PART}} | Powder | }}
 +
| data42 = {{#if: {{#pos:{{{properties|}}}|TYPE_LIQUID}} | Liquid | }}
 +
| data43 = {{#if: {{#pos:{{{properties|}}}|TYPE_SOLID}} | Solid | }}
 +
| data44 = {{#if: {{#pos:{{{properties|}}}|TYPE_GAS}} | Gas | }}
 +
| data45 = {{#if: {{#pos:{{{properties|}}}|TYPE_ENERGY}} | Energy particle | }}
 +
| data46 = {{#if: {{#pos:{{{properties|}}}|PROP_CONDUCTS}} | Conducts electricity ([[SPRK]]) | }}
 +
| data47 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTPENETRATE}} | Mangled by neutrons | }}
 +
| data48 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTABSORB}} | Absorbs neutrons | }}
 +
| data49 = {{#if: {{#pos:{{{properties|}}}|PROP_NEUTPASS}} | Allows neutrons through | }}
 +
| data50 = {{#if: {{#pos:{{{properties|}}}|PROP_DEADLY}} | Harmful to [[STKM]] | }}
 +
| data51 = {{#if: {{#pos:{{{properties|}}}|PROP_RADIOACTIVE}} | Radioactive, harmful to [[STKM]] | }}
 
}}
 
}}
 
</includeonly><noinclude>
 
</includeonly><noinclude>
Infobox for displaying various element properties
+
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
 
</noinclude>
 
</noinclude>

Revision as of 16:45, 5 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