Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
Line 100: Line 100:
 
                 {{!}}-
 
                 {{!}}-
 
                 {{!}} 1
 
                 {{!}} 1
                 {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: showAtkEnchant}} | {{#var: enchantAtk1}} | ? }} <!-- atk bonus this enchant -->
+
                 {{#ifexpr: {{#var: showAtkEnchant}} != 0
                {{!}} +{{#ifexpr: {{#var: enchantAtk1}} and {{#var: showAtkEnchant}} | {{#var: enchantAtk1}} | ? }} <!-- total atk bonus to this level -->
+
                  | {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- atk bonus this enchant -->
                 {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: showDefEnchant}} | {{#var: enchantDef1}} | ? }} <!-- def bonus this enchant -->
+
                    {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- total atk bonus to this level -->
                {{!}} +{{#ifexpr: {{#var: enchantDef1}} and {{#var: showDefEnchant}} | {{#var: enchantDef1}} | ? }} <!-- total def 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