Template:Infobox enchantment: Difference between revisions

From Modded Wiki
Jump to navigation Jump to search
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)
|-
|-
|}
|}

Revision as of 19:47, 4 April 2019

{{{1}}}
Maximum Level

Primary items

None

Secondary items

None

Enchantment weight

[edit] [history] [refresh]Documentation

This template provides a uniform design for the infobox on the Enchanting page. Template:Pipe escape