Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
Line 19: Line 19:
 
|-
 
|-
 
|Shop prices (buy / sell)
 
|Shop prices (buy / sell)
| {{#if: {{#show: {{PAGENAME}} |?ShopBuyPrice }} | {{#show: {{PAGENAME}} |?ShopBuyPrice }}{{Emoticon|emoticon=Gold}} | ''Can't be bought''}} / {{#if: {{#show: {{PAGENAME}} |?ShopSellPrice }} | {{#show: {{PAGENAME}} |?ShopSellPrice }}{{Emoticon|emoticon=Gold}} | {{#if: {{#show: {{PAGENAME}} |?ShopBuyPrice }} | {{#ifexpr: {{#show: {{PAGENAME}} |?ShopBuyPrice }} < 4 | 0{{Emoticon|emoticon=Gold}} | ''Can't be sold'' }} | ''Can't be sold'' }} }}
+
| {{#if: {{#show: {{PAGENAME}} |?ShopBuyPrice }}
 +
    | {{#ifeq: {{#show: {{PAGENAME}} |?ShopBuyPrice }} | 0
 +
        | ''Can't be bought''
 +
        | {{#show: {{PAGENAME}} |?ShopBuyPrice }}{{Emoticon|emoticon=Gold}}
 +
      }}
 +
    | ?
 +
  }} / <!--
 +
-->{{#if: {{#show: {{PAGENAME}} |?ShopSellPrice }}
 +
    | {{#ifeq: {{#show: {{PAGENAME}} |?ShopSellPrice }} | 0
 +
        | {{#if: {{#show: {{PAGENAME}} |?ShopBuyPrice }} | {{#ifexpr: {{#show: {{PAGENAME}} |?ShopBuyPrice }} < 4 | 0{{Emoticon|emoticon=Gold}} | ''Can't be sold'' }} | ''Can't be sold'' }}
 +
        | {{#show: {{PAGENAME}} |?ShopSellPrice }}{{Emoticon|emoticon=Gold}}
 +
      }}
 +
    | ?
 +
  }}
 
|-
 
|-
 
|colspan="2" align="center"|'''Stats'''
 
|colspan="2" align="center"|'''Stats'''

Revision as of 10:02, 27 August 2018








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