Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
Line 8: Line 8:
 
|-
 
|-
 
| Type
 
| Type
| {{#show: {{PAGENAME}} |?ItemType}} {{#if: {{#show: {{PAGENAME}} |?ItemSubType}}|, {{#show: {{PAGENAME}} |?ItemSubType}} }}
+
| {{#show: {{PAGENAME}} |?ItemType}} {{#if: {{#show: {{PAGENAME}} |?ItemSubType}}|, {{#show: {{PAGENAME}} |?ItemSubType}} }}<!--
                                    {{#if: {{#show: {{PAGENAME}} |?ArmorClass}} |, {{#show: {{PAGENAME}} |?ArmorClass}} }}<!--
+
                                  -->{{#if: {{#show: {{PAGENAME}} |?ArmorClass}} |, {{#show: {{PAGENAME}} |?ArmorClass}} }}<!--
 
-->, {{#switch: {{#show: {{PAGENAME}} |?ItemType#}}  
 
-->, {{#switch: {{#show: {{PAGENAME}} |?ItemType#}}  
 
   | Recipe (Item) | Piece of Equipment | Weapon | Cape | Protective Gear = {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}}
 
   | Recipe (Item) | Piece of Equipment | Weapon | Cape | Protective Gear = {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}}

Revision as of 14:43, 23 July 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