Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
Line 9: Line 9:
 
| 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}}
 
                                                                             | 0  = [[Nomenclature#Equipment|T0]], No Expertise needed
 
                                                                             | 0  = [[Nomenclature#Equipment|T0]], No Expertise needed

Revision as of 14:42, 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