Template:Infobox enchantment: Difference between revisions

remove previously deprecated version & date params
Replace "Namespaced ID" with "Identifier" and add a link to Resource location
Line 7: Line 7:
{{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''}}} }}
{{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''}}} }}
{{Infobox row|{{abbr|Enchantment weight|Relative chance of the enchantment being offered.}}|{{{weight|—}}} }}
{{Infobox row|{{abbr|Enchantment weight|Relative chance of the enchantment being offered.}}|{{{weight|—}}} }}
{{#if: {{{id|}}} | {{Infobox row|Namespaced ID|<code>{{{id}}}</code> }} }}
{{#if: {{{id|}}} | {{Infobox row|[[Resource location|Identifier]]|<code>{{{id}}}</code> }} }}
{{#if: {{{incompat|}}} | {{Infobox row|Incompatible with|{{{incompat}}} }} }}
{{#if: {{{incompat|}}} | {{Infobox row|Incompatible with|{{{incompat}}} }} }}
{{#if: {{{overleveling|}}} | {{Infobox row|{{abbr|Overleveling behavior|How the enchantment's behavior scales when exceeding the maximum level via commands or other means.}}|{{{overleveling}}} }} }}
{{#if: {{{overleveling|}}} | {{Infobox row|{{abbr|Overleveling behavior|How the enchantment's behavior scales when exceeding the maximum level via commands or other means.}}|{{{overleveling}}} }} }}