Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
(formatting)
Line 13: Line 13:
 
<includeonly>
 
<includeonly>
 
|Craftable
 
|Craftable
| {{#if: {{#show: {{PAGENAME}} |?BoolCraft }} | {{#ifeq: {{#show: {{PAGENAME}} |?BoolCraft }} | true | yes | no}} | ? }}
+
| {{#if: {{#show: {{PAGENAME}} |?BoolCraft }} | {{#ifeq: {{#show: {{PAGENAME}} |?BoolCraft }} | true | yes | no}} | [[??]] }}
 
|-
 
|-
 
|Tradeable (Auction)
 
|Tradeable (Auction)
| {{#if: {{#show: {{PAGENAME}} |?BoolAuction }} | {{#ifeq: {{#show: {{PAGENAME}} |?BoolAuction }} | true | yes | no}} | ? }}
+
| {{#if: {{#show: {{PAGENAME}} |?BoolAuction }} | {{#ifeq: {{#show: {{PAGENAME}} |?BoolAuction }} | true | yes | no}} | [[??]] }}
 
|-
 
|-
 
|Shop prices (buy / sell)
 
|Shop prices (buy / sell)
Line 40: Line 40:
 
|-
 
|-
 
|Attack  
 
|Attack  
| +{{#if: {{#show: {{PAGENAME}} |?Attack }} | {{#show: {{PAGENAME}} |?Attack }} | ? }} {{Emoticon|emoticon=Attack}}
+
| +{{#if: {{#show: {{PAGENAME}} |?Attack }} | {{#show: {{PAGENAME}} |?Attack }} | [[??]] }} {{Emoticon|emoticon=Attack}}
 
|-
 
|-
 
|Defense
 
|Defense
| +{{#if: {{#show: {{PAGENAME}} |?Defense }} | {{#show: {{PAGENAME}} |?Defense }} | ? }} {{Emoticon|emoticon=Defend}}
+
| +{{#if: {{#show: {{PAGENAME}} |?Defense }} | {{#show: {{PAGENAME}} |?Defense }} | [[??]] }} {{Emoticon|emoticon=Defend}}
 
|-
 
|-
 
|Mana
 
|Mana
| +{{#if: {{#show: {{PAGENAME}} |?Mana }} | {{#show: {{PAGENAME}} |?Mana }} | ? }} {{Emoticon|emoticon=Mana}}
+
| +{{#if: {{#show: {{PAGENAME}} |?Mana }} | {{#show: {{PAGENAME}} |?Mana }} | [[??]] }} {{Emoticon|emoticon=Mana}}
 
|-
 
|-
 
{{#if: {{#show: {{PAGENAME}} |?Stamina }} |
 
{{#if: {{#show: {{PAGENAME}} |?Stamina }} |
Line 137: Line 137:
 
           {{!}} style="text-align: center" {{!}} 1
 
           {{!}} style="text-align: center" {{!}} 1
 
           {{#ifexpr: {{#var: showAtkEnchant}} != 0
 
           {{#ifexpr: {{#var: showAtkEnchant}} != 0
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- atk bonus this enchant -->
+
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | [[??]] }} <!-- atk bonus this enchant -->
               {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | ? }} <!-- total atk bonus to this level -->
+
               {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk1}} | {{#var: enchantAtk1}} | [[??]] }} <!-- total atk bonus to this level -->
 
           }}
 
           }}
 
           {{#ifexpr: {{#var: showDefEnchant}} != 0
 
           {{#ifexpr: {{#var: showDefEnchant}} != 0
             | {{!}} 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 -->
 
           }}                 
 
           }}                 
 
           {{!}}-
 
           {{!}}-
 
           {{!}} style="text-align: center" {{!}} 2
 
           {{!}} style="text-align: center" {{!}} 2
 
           {{#ifexpr: {{#var: showAtkEnchant}} != 0
 
           {{#ifexpr: {{#var: showAtkEnchant}} != 0
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk2}} | {{#var: enchantAtk2}} | ? }} <!-- atk bonus this enchant -->
+
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk2}} | {{#var: enchantAtk2}} | [[??]] }} <!-- atk bonus this enchant -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantAtk1}} |1 |0 }} and {{#if: {{#var: enchantAtk2}} |1 |0 }} <!-- total atk bonus to this level -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantAtk1}} |1 |0 }} and {{#if: {{#var: enchantAtk2}} |1 |0 }} <!-- total atk bonus to this level -->
                                                         | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} }} | ?
+
                                                         | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} }} | [[??]]
 
                                                       }}
 
                                                       }}
 
           }}
 
           }}
 
           {{#ifexpr: {{#var: showDefEnchant}} != 0
 
           {{#ifexpr: {{#var: showDefEnchant}} != 0
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef2|0}} | {{#var: enchantDef2}} | ? }} <!-- def bonus this enchant -->
+
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef2|0}} | {{#var: enchantDef2}} | [[??]] }} <!-- def bonus this enchant -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantDef1}} |1 |0 }} and {{#if: {{#var: enchantDef2}} |1 |0 }} <!-- total def bonus to this level -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantDef1}} |1 |0 }} and {{#if: {{#var: enchantDef2}} |1 |0 }} <!-- total def bonus to this level -->
                                                         | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} }} | ?
+
                                                         | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} }} | [[??]]
 
                                                       }}
 
                                                       }}
 
           }}
 
           }}
Line 161: Line 161:
 
           {{!}} style="text-align: center" {{!}} 3
 
           {{!}} style="text-align: center" {{!}} 3
 
           {{#ifexpr: {{#var: showAtkEnchant}} != 0
 
           {{#ifexpr: {{#var: showAtkEnchant}} != 0
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk3}} | {{#var: enchantAtk3}} | ? }} <!-- atk bonus this enchant -->
+
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk3}} | {{#var: enchantAtk3}} | [[??]] }} <!-- atk bonus this enchant -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantAtk1}} |1 |0 }} and {{#if: {{#var: enchantAtk2}} |1 |0 }} and {{#if: {{#var: enchantAtk3}} |1 |0 }} <!-- total atk bonus to this level -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantAtk1}} |1 |0 }} and {{#if: {{#var: enchantAtk2}} |1 |0 }} and {{#if: {{#var: enchantAtk3}} |1 |0 }} <!-- total atk bonus to this level -->
                                                         | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} + {{#var: enchantAtk3}} }} | ?
+
                                                         | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} + {{#var: enchantAtk3}} }} | [[??]]
 
                                                       }}
 
                                                       }}
 
           }}
 
           }}
 
           {{#ifexpr: {{#var: showDefEnchant}} != 0
 
           {{#ifexpr: {{#var: showDefEnchant}} != 0
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef3}} | {{#var: enchantDef3}} | ? }} <!-- def bonus this enchant -->
+
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef3}} | {{#var: enchantDef3}} | [[??]] }} <!-- def bonus this enchant -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantDef1}} |1 |0 }} and {{#if: {{#var: enchantDef2}} |1 |0 }} and {{#if: {{#var: enchantDef3}} |1 |0 }} <!-- total def bonus to this level -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantDef1}} |1 |0 }} and {{#if: {{#var: enchantDef2}} |1 |0 }} and {{#if: {{#var: enchantDef3}} |1 |0 }} <!-- total def bonus to this level -->
                                                         | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} + {{#var: enchantDef3}} }} | ?
+
                                                         | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} + {{#var: enchantDef3}} }} | [[??]]
 
                                                       }}
 
                                                       }}
 
           }}
 
           }}
Line 175: Line 175:
 
           {{!}} style="text-align: center" {{!}} 4
 
           {{!}} style="text-align: center" {{!}} 4
 
           {{#ifexpr: {{#var: showAtkEnchant}} != 0
 
           {{#ifexpr: {{#var: showAtkEnchant}} != 0
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk4}} | {{#var: enchantAtk4}} | ? }} <!-- atk bonus this enchant -->
+
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantAtk4}} | {{#var: enchantAtk4}} | [[??]] }} <!-- atk bonus this enchant -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantAtk1}} |1 |0 }} and {{#if: {{#var: enchantAtk2}} |1 |0 }} and {{#if: {{#var: enchantAtk3}} |1 |0 }} and {{#if: {{#var: enchantAtk4}} |1 |0 }} <!-- total atk bonus to this level -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantAtk1}} |1 |0 }} and {{#if: {{#var: enchantAtk2}} |1 |0 }} and {{#if: {{#var: enchantAtk3}} |1 |0 }} and {{#if: {{#var: enchantAtk4}} |1 |0 }} <!-- total atk bonus to this level -->
                                                         | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} + {{#var: enchantAtk3}} + {{#var: enchantAtk4}} }} | ?
+
                                                         | {{#expr: {{#var: enchantAtk1}} + {{#var: enchantAtk2}} + {{#var: enchantAtk3}} + {{#var: enchantAtk4}} }} | [[??]]
 
                                                       }}
 
                                                       }}
 
           }}
 
           }}
 
           {{#ifexpr: {{#var: showDefEnchant}} != 0
 
           {{#ifexpr: {{#var: showDefEnchant}} != 0
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef4}} | {{#var: enchantDef4}} | ? }} <!-- def bonus this enchant -->
+
             | {{!}} style="text-align: center" {{!}} +{{#if: {{#var: enchantDef4}} | {{#var: enchantDef4}} | [[??]] }} <!-- def bonus this enchant -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantDef1}} |1 |0 }} and {{#if: {{#var: enchantDef2}} |1 |0 }} and {{#if: {{#var: enchantDef3}} |1 |0 }} and {{#if: {{#var: enchantDef4}} |1 |0 }} <!-- total def bonus to this level -->
 
               {{!}} style="text-align: center" {{!}} +{{#ifexpr: {{#if: {{#var: enchantDef1}} |1 |0 }} and {{#if: {{#var: enchantDef2}} |1 |0 }} and {{#if: {{#var: enchantDef3}} |1 |0 }} and {{#if: {{#var: enchantDef4}} |1 |0 }} <!-- total def bonus to this level -->
                                                         | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} + {{#var: enchantDef3}} + {{#var: enchantDef4}} }} | ?
+
                                                         | {{#expr: {{#var: enchantDef1}} + {{#var: enchantDef2}} + {{#var: enchantDef3}} + {{#var: enchantDef4}} }} | [[??]]
 
                                                       }}
 
                                                       }}
 
           }}
 
           }}

Revision as of 15:17, 31 August 2018








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