Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
Line 136: Line 136:
 
               !{{Emoticon|emoticon=Attack}} (total)<!--
 
               !{{Emoticon|emoticon=Attack}} (total)<!--
 
               -->{{#vardefine: showAtkEnchant | 1 }}
 
               -->{{#vardefine: showAtkEnchant | 1 }}
           }}<!--
+
           }}
      -->{{#ifexpr: {{#expr: {{#var: enchantDef1|0}} + <!-- checks if there is any defense enchantment bonus, only displays def column if true -->
+
          {{#ifexpr: {{#expr: {{#var: enchantDef1|0}} + <!-- checks if there is any defense enchantment bonus, only displays def column if true -->
 
                               {{#var: enchantDef2|0}} +
 
                               {{#var: enchantDef2|0}} +
 
                               {{#var: enchantDef3|0}} +
 
                               {{#var: enchantDef3|0}} +
Line 146: Line 146:
 
               !{{Emoticon|emoticon=Defend}} (total)<!--
 
               !{{Emoticon|emoticon=Defend}} (total)<!--
 
               -->{{#vardefine: showDefEnchant | 1 }}
 
               -->{{#vardefine: showDefEnchant | 1 }}
           }}<!--
+
           }}
      -->{{#ifexpr: {{#expr: {{#var: enchantMana1|0}} + <!-- checks if there is any mana enchantment bonus, only displays mana column if true -->
+
          {{#ifexpr: {{#expr: {{#var: enchantMana1|0}} + <!-- checks if there is any mana enchantment bonus, only displays mana column if true -->
 
                               {{#var: enchantMana2|0}} +
 
                               {{#var: enchantMana2|0}} +
 
                               {{#var: enchantMana3|0}} +
 
                               {{#var: enchantMana3|0}} +

Revision as of 14:39, 10 January 2019












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