Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
(formatting change of code)
Line 54: Line 54:
 
           | 35 = ({{Emoticon|emoticon=Bookblue}})
 
           | 35 = ({{Emoticon|emoticon=Bookblue}})
 
           | 45 = ({{Emoticon|emoticon=Bookorange}})
 
           | 45 = ({{Emoticon|emoticon=Bookorange}})
         }} <!--{{#ifexpr: }}-->
+
         }} <!--{{#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"
 +
                !Level
 +
                {{#ifexpr: ({{#show: {{PAGENAME}} |?EnchantAtk1 }} + {{#show: {{PAGENAME}} |?EnchantAtk2 }} + {{#show: {{PAGENAME}} |?EnchantAtk3 }} + {{#show: {{PAGENAME}} |?EnchantAtk4 }}) > 0
 +
                  | !{{Emoticon|emoticon=Attack}}
 +
                    !{{Emoticon|emoticon=Attack}} (cumulative)
 +
                }}
 +
                {{#ifexpr: ({{#show: {{PAGENAME}} |?EnchantDef1 }} + {{#show: {{PAGENAME}} |?EnchantDef2 }} + {{#show: {{PAGENAME}} |?EnchantDef3 }} + {{#show: {{PAGENAME}} |?EnchantDef4 }}) > 0
 +
                  | !{{Emoticon|emoticon=Defend}}
 +
                    !{{Emoticon|emoticon=Defend}} (cumulative)
 +
                }}
 +
                {{!}}-
 +
                {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk1}} + {{#show: {{PAGENAME}} |EnchantDef1}}) > 0
 +
                  | {{!}} 1 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantAtk2}} {{!}}-
 +
                }}
 +
                {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk2}} + {{#show: {{PAGENAME}} |EnchantDef2}}) > 0
 +
                  | {{!}} 2 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantAtk2}} {{!}}-
 +
                }}
 +
                {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk}} + {{#show: {{PAGENAME}} |EnchantDef3}}) > 0
 +
                  | {{!}} 3 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantAtk2}} {{!}}-
 +
                }}
 +
                {{#ifexpr: ({{#show: {{PAGENAME}} |EnchantAtk4}} + {{#show: {{PAGENAME}} |EnchantDef4}}) > 0
 +
                  | {{!}} 4 {{!}}{{!}} +{{#show: {{PAGENAME}} |EnchantAtk1}} {{!}}{{!}} {{#show: {{PAGENAME}} |EnchantAtk2}} {{!}}-
 +
                }}
 +
            }}-->
 
   | no
 
   | no
 
  }}  
 
  }}  

Revision as of 13:51, 10 August 2018


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