Difference between revisions of "Template:ItemPropertiesInfoBox"

From ChatWars Wiki
Jump to: navigation, search
Line 18: Line 18:
 
|-
 
|-
 
|Enchantment Slot
 
|Enchantment Slot
|{{#show: {{PAGENAME}} |?BoolEnchantment}}{{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}} | 15 =, {{Emoticon|emoticon=Bookred}} | 25 =, {{Emoticon|emoticon=Bookgreen}} | 35 =, {{Emoticon|emoticon=Bookblue}} | 45 =, {{Emoticon|emoticon=Bookorange}} }}
+
|{{#ifeq: {{#show: {{PAGENAME}} |?BoolEnchantment}} | true | yes | no}}{{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}} | 15 =, {{Emoticon|emoticon=Bookred}} | 25 =, {{Emoticon|emoticon=Bookgreen}} | 35 =, {{Emoticon|emoticon=Bookblue}} | 45 =, {{Emoticon|emoticon=Bookorange}} }}
 
|-
 
|-
 
{{#if: {{#show: {{PAGENAME}} |?Ammunition}} |
 
{{#if: {{#show: {{PAGENAME}} |?Ammunition}} |
 
{{!}}Ammunition
 
{{!}}Ammunition
{{!}} +{{#show: {{PAGENAME}} |?Ammunition}}
+
{{!}} {{#show: {{PAGENAME}} |?Ammunition}}
 
{{!}}-
 
{{!}}-
 
}}
 
}}

Revision as of 12:52, 20 July 2018


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