Template:Infobox enchantment: Difference between revisions

This wiki uses American spelling
Added and removed versions & cleanup
Line 1: Line 1:
<includeonly>{{#invoke:infobox|infobox
{{#invoke:infobox|infobox
|title={{{1|{{{title|{{BASEPAGENAME}} }}} }}}
|title={{{1|{{BASEPAGENAME}}}}}
|imagearea=none
|imagearea=none
|rows=
|rows=
{{infobox row|Maximum level|{{ #if: {{{maxlevel|}}} | <span style="font-family: serif;">{{{maxlevel}}}</span> | — }}
{{Infobox row|Maximum level|{{ #if: {{{maxlevel|}}} | {{{maxlevel}}} | — }} }}
}}
{{#if: {{{versionAdded|}}} | {{Infobox row|Version added|{{{versionAdded}}}{{#if: {{{dateAdded|}}} | , {{{dateAdded}}} }} }} }}
{{infobox row|<abbr title{{=}}"The items that can receive the enchantment legitimately in Survival mode by using an enchanting table.">Primary items</abbr>|{{{primaryitems|''None''}}}}}
{{#if: {{{versionRemoved|}}} | {{Infobox row|Version removed|{{{versionRemoved}}}{{#if: {{{dateRemoved|}}} | , {{{dateRemoved}}} }} }} }}
{{infobox row|<abbr title{{=}}"Items which, in Survival mode, cannot receive the enchantment from an enchanting table but can from an enchanted book with an anvil.">Secondary items</abbr>|{{{secondaryitems|''None''}}}}}
{{Infobox row|{{abbr|Primary items|The items that can receive the enchantment legitimately in Survival mode by using an enchanting table}}|{{{primaryitems|''None''}}} }}
{{infobox row|<abbr title{{=}}"Relative chance of the enchantment being offered.">Enchantment weight</abbr>|{{{weight|—}}}}}
{{Infobox row|{{abbr|Secondary items|Items which, in Survival mode, cannot receive the enchantment from an enchanting table but can from an enchanted book with an anvil.}}|{{{secondaryitems|''None''}}} }}
{{#if: {{{incompat|}}} | {{infobox row|Incompatible with|{{{incompat}}} }} }}
{{Infobox row|{{abbr|Enchantment weight|Relative chance of the enchantment being offered.}}|{{{weight|—}}} }}
{{#if: {{{overleveling|}}} | {{infobox row|<abbr title{{=}}"How the enchantment's behavior scales when exceeding the maximum level via commands or other means.">Overleveling behavior</abbr>|{{{overleveling}}} }} }}
{{#if: {{{incompat|}}} | {{Infobox row|Incompatible with|{{{incompat}}} }} }}
}}</includeonly><noinclude>
{{#if: {{{overleveling|}}} | {{Infobox row|{{abbr|Overleveling behavior|How the enchantment's behavior scales when exceeding the maximum level via commands or other means.}}|{{{overleveling}}} }} }}
{{documentation}}</noinclude>
}}<noinclude>
{{documentation}}
<!-- Put categories/interwiki on the documentation page -->
</noinclude>