Difference between revisions of "Template:Infobox Element"

From The Powder Toy
Jump to: navigation, search
(Make menu section name into a link to the category)
m (Missing curly bracket)
Line 39: Line 39:
 
| data10 = {{{flammable}}}
 
| data10 = {{{flammable}}}
 
| label12 = {{#ifexpr: {{{explosive}}} > 0 | Explosive | }}
 
| label12 = {{#ifexpr: {{{explosive}}} > 0 | Explosive | }}
| data12 = {{#switch: {{{explosive}}
+
| data12 = {{#switch: {{{explosive}}}
 
   | 1 = when touching fire
 
   | 1 = when touching fire
 
   | 2 = with fire or pressure
 
   | 2 = with fire or pressure

Revision as of 14:01, 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