Template:Infobox enchantment: Difference between revisions

No edit summary
m Majority of enchantments have no incompatibilities, so making this hidden if value not set
Line 7: Line 7:
{{infobox row|Secondary items|{{{secondaryitems|''None''}}}}}
{{infobox row|Secondary items|{{{secondaryitems|''None''}}}}}
{{infobox row|Enchantment weight|{{{weight|—}}}}}
{{infobox row|Enchantment weight|{{{weight|—}}}}}
{{infobox row|Incompatibilities|{{{incompat|{{{incompatibilities|''None''}}} }}}}}
{{#if: {{{incompat|}}} | {{infobox row|Incompatible with|{{{incompat|}}} }} }}
{{#if: {{{sounds|}}} | {{infobox row|Sounds|{{{sounds|}}}}} }}
{{#if: {{{sounds|}}} |   {{infobox row|Sounds           |{{{sounds |}}} }} }}
}}<noinclude>
}}<noinclude>
{{documentation|content=
{{documentation|content=
Line 39: Line 39:
| <code>incompat</code>
| <code>incompat</code>
| Other enchantments incompatible with this one
| Other enchantments incompatible with this one
| ''None''
| (not shown)
|-
|-
| <code>sounds</code>
| <code>sounds</code>
| Sounds made when enchantment takes effect (if any)
| Sounds made when enchantment takes effect (if any)
| ''None''
| (not shown)
|-
|-
|}
|}