Template:Infobox enchantment: Difference between revisions

Replace "Namespaced ID" with "Identifier" and add a link to Resource location
Not abbreviations
Line 4: Line 4:
|rows=
|rows=
{{Infobox row|Maximum level|{{ #if: {{{maxlevel|}}} | {{{maxlevel}}} | — }} }}
{{Infobox row|Maximum level|{{ #if: {{{maxlevel|}}} | {{{maxlevel}}} | — }} }}
{{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|{{tooltip|Primary items|The items that can receive the enchantment legitimately in Survival mode by using an enchanting table}}|{{{primaryitems|''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|{{tooltip|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|{{tooltip|Enchantment weight|Relative chance of the enchantment being offered.}}|{{{weight|—}}} }}
{{#if: {{{id|}}} | {{Infobox row|[[Resource location|Identifier]]|<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}}} }} }}