Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
Line 142: Line 142:
 
                               {{#var: enchantDef4|0}}
 
                               {{#var: enchantDef4|0}}
 
                     }} > 0  
 
                     }} > 0  
             | <!-- empty line is important! -->
+
             | !{{Emoticon|emoticon=Defend}}
              !{{Emoticon|emoticon=Defend}}
 
 
               !{{Emoticon|emoticon=Defend}} (total)<!--
 
               !{{Emoticon|emoticon=Defend}} (total)<!--
 
               -->{{#vardefine: showDefEnchant | 1 }}
 
               -->{{#vardefine: showDefEnchant | 1 }}
Line 152: Line 151:
 
                               {{#var: enchantMana4|0}}
 
                               {{#var: enchantMana4|0}}
 
                     }} > 0  
 
                     }} > 0  
             | <!-- empty line is important! -->
+
             | !{{Emoticon|emoticon=Mana}}
              !{{Emoticon|emoticon=Mana}}
 
 
               !{{Emoticon|emoticon=Mana}} (total)<!--
 
               !{{Emoticon|emoticon=Mana}} (total)<!--
 
               -->{{#vardefine: showManaEnchant | 1 }}
 
               -->{{#vardefine: showManaEnchant | 1 }}
Line 166: Line 164:
 
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | [[??]] }} <!-- def bonus this enchant -->
 
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | [[??]] }} <!-- def bonus this enchant -->
 
               {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | [[??]] }} <!-- total def bonus to this level -->
 
               {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef1}} | {{#var: enchantDef1}} | [[??]] }} <!-- total def bonus to this level -->
           }}<!--
+
           }}
      -->{{#ifexpr: {{#var: showManaEnchant}} != 0
+
          {{#ifexpr: {{#var: showManaEnchant}} != 0
 
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantMana1}} | {{#var: enchantMana1}} | [[??]] }} <!-- mana bonus this enchant -->
 
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantMana1}} | {{#var: enchantMana1}} | [[??]] }} <!-- mana bonus this enchant -->
 
               {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantMana1}} | {{#var: enchantMana1}} | [[??]] }} <!-- total mana bonus to this level -->
 
               {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantMana1}} | {{#var: enchantMana1}} | [[??]] }} <!-- total mana bonus to this level -->

Revision as of 14:40, 10 January 2019












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