Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
Line 54: Line 54:
 
           | 35 = ({{Emoticon|emoticon=Bookblue}})
 
           | 35 = ({{Emoticon|emoticon=Bookblue}})
 
           | 45 = ({{Emoticon|emoticon=Bookorange}})
 
           | 45 = ({{Emoticon|emoticon=Bookorange}})
         }} <!--{{#ifexpr: ({{#show: {{PAGENAME}} |?EnchantAtk1 }} + {{#show: {{PAGENAME}} |?EnchantAtk2 }} + {{#show: {{PAGENAME}} |?EnchantAtk3 }} + {{#show: {{PAGENAME}} |?EnchantAtk4 }} + {{#show: {{PAGENAME}} |?EnchantDef1 }} + {{#show: {{PAGENAME}} |?EnchantDef2 }} + {{#show: {{PAGENAME}} |?EnchantDef3 }} + {{#show: {{PAGENAME}} |?EnchantDef4 }}) > 0
+
         }} {{#ifexpr: ({{#show: {{PAGENAME}} |?EnchantAtk1 }} + {{#show: {{PAGENAME}} |?EnchantAtk2 }} + {{#show: {{PAGENAME}} |?EnchantAtk3 }} + {{#show: {{PAGENAME}} |?EnchantAtk4 }} + {{#show: {{PAGENAME}} |?EnchantDef1 }} + {{#show: {{PAGENAME}} |?EnchantDef2 }} + {{#show: {{PAGENAME}} |?EnchantDef3 }} + {{#show: {{PAGENAME}} |?EnchantDef4 }}) > 0
 
               | {{!}}{{!}} {{{!}} class="wikitable"
 
               | {{!}}{{!}} {{{!}} class="wikitable"
 
                 !Level
 
                 !Level
Line 67: Line 67:
 
                 {{!}}-
 
                 {{!}}-
 
                 {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk1}} + {{#show: {{PAGENAME}} |EnchantDef1}}) > 0
 
                 {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk1}} + {{#show: {{PAGENAME}} |EnchantDef1}}) > 0
                   | {{!}} 1 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantAtk2}} {{!}}-
+
                   | {{!}} 1 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantDef1}} {{!}}-
 
                 }}
 
                 }}
 
                 {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk2}} + {{#show: {{PAGENAME}} |EnchantDef2}}) > 0
 
                 {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk2}} + {{#show: {{PAGENAME}} |EnchantDef2}}) > 0
                   | {{!}} 2 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantAtk2}} {{!}}-
+
                   | {{!}} 2 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} +{{#expr: {{#show: {{PAGENAME}} |EnchantAtk1}} + {{#show: {{PAGENAME}} |EnchantAtk2}} }} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantDef2}} {{!}}-
 
                 }}
 
                 }}
 
                 {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk}} + {{#show: {{PAGENAME}} |EnchantDef3}}) > 0
 
                 {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk}} + {{#show: {{PAGENAME}} |EnchantDef3}}) > 0
                   | {{!}} 3 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantAtk2}} {{!}}-
+
                   | {{!}} 3 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} +{{#expr: {{#show: {{PAGENAME}} |EnchantAtk1}} + {{#show: {{PAGENAME}} |EnchantAtk2}} + {{#show: {{PAGENAME}} |EnchantAtk3}} }} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantDef3}} {{!}}-
 
                 }}
 
                 }}
 
                 {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk4}} + {{#show: {{PAGENAME}} |EnchantDef4}}) > 0
 
                 {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk4}} + {{#show: {{PAGENAME}} |EnchantDef4}}) > 0
                   | {{!}} 4 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantAtk2}} {{!}}-
+
                   | {{!}} 4 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantDef4}} {{!}}-
 
                 }}
 
                 }}
             }}-->
+
             }}
 
   | no
 
   | no
 
  }}  
 
  }}  

Revision as of 15:55, 10 August 2018


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