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  
             | <br><br>!{{Emoticon|emoticon=Defend}}
+
             | !!{{Emoticon|emoticon=Defend}}
 
               !{{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}} +
 
                               {{#var: enchantMana4|0}}
 
                               {{#var: enchantMana4|0}}
 
                     }} > 0  
 
                     }} > 0  
             | !{{Emoticon|emoticon=Mana}}
+
             | !!{{Emoticon|emoticon=Mana}}
 
               !{{Emoticon|emoticon=Mana}} (total)<!--
 
               !{{Emoticon|emoticon=Mana}} (total)<!--
 
               -->{{#vardefine: showManaEnchant | 1 }}
 
               -->{{#vardefine: showManaEnchant | 1 }}

Revision as of 13:53, 10 January 2019












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