Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
Line 107: Line 107:
 
                 {{!}} 2
 
                 {{!}} 2
 
                 {{!}} +{{#if: {{#var: enchantAtk2}} | {{#var: enchantAtk2}} | ? }} <!-- atk bonus this enchant -->
 
                 {{!}} +{{#if: {{#var: enchantAtk2}} | {{#var: enchantAtk2}} | ? }} <!-- atk bonus this enchant -->
                 {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: enchantAtk2}} | {{#var: enchantAtk1}} + {{#var: enchantAtk2}} }} | ? }} <!-- total atk bonus to this level -->
+
                 {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: enchantAtk2}} | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} }} | ? }} <!-- total atk bonus to this level -->
 
                 {{!}} +{{#if: {{#var: enchantDef2}} | {{#var: enchantDef2}} | ? }} <!-- def bonus this enchant -->
 
                 {{!}} +{{#if: {{#var: enchantDef2}} | {{#var: enchantDef2}} | ? }} <!-- def bonus this enchant -->
 
                 {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: enchantDef2}} | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} }} | ? }} <!-- total def bonus to this level -->
 
                 {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: enchantDef2}} | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} }} | ? }} <!-- total def bonus to this level -->

Revision as of 03:46, 12 August 2018








This template is designed for being used inside Template:InfoOverview. It adds information on equippable Items to the general info overview