Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
Line 36: Line 36:
 
|-
 
|-
 
{{#switch: {{#show: {{#var: source}} |?ItemType#}}
 
{{#switch: {{#show: {{#var: source}} |?ItemType#}}
   | Weapon | Protective Gear | Cape | Special Equippable = {{ItemPropertiesInfoBox}}
+
   | Weapon | Protective Gear | Cape | Special Equippable = {{ItemPropertiesInfoBox|source={{#var: source}} }}
 
   | Piece of Equipment | Recipe (Item) | Resource | Misc = {{ResourcePropertiesInfoBox|source={{#var: source}} }}
 
   | Piece of Equipment | Recipe (Item) | Resource | Misc = {{ResourcePropertiesInfoBox|source={{#var: source}} }}
 
   | Consumable = {{#switch: {{#show: {{#var: source}} |?ItemSubType#}}
 
   | Consumable = {{#switch: {{#show: {{#var: source}} |?ItemSubType#}}

Revision as of 11:48, 22 October 2018

This template displays all information of an item/resource/... display changes depending on type of content. It uses Template:ItemPropertiesInfoBox and Template:ResourcePropertiesInfoBox to display not general content