Difference between revisions of "Template:ItemPropertiesInfoBox"
Line 100: | Line 100: | ||
{{!}}- | {{!}}- | ||
{{!}} 1 | {{!}} 1 | ||
− | + | {{#ifexpr: {{#var: showAtkEnchant}} != 0 | |
− | + | | {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- atk bonus this enchant --> | |
− | + | {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- total atk bonus to this level --> | |
− | + | }} | |
+ | {{#ifexpr: {{#var: showDefEnchant}} != 0 | ||
+ | | {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | ? }} <!-- def bonus this enchant --> | ||
+ | {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | ? }} <!-- total def bonus to this level --> | ||
+ | }} | ||
{{!}}- | {{!}}- | ||
{{!}} 2 | {{!}} 2 |
Revision as of 03:50, 12 August 2018
This template is designed for being used inside Template:InfoOverview. It adds information on equippable Items to the general info overview