Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
(removed old code that has been moved to a sub template)
Line 10: Line 10:
 
| {{#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}} }}<!--
-->, {{ShowTier}}<!--{{#switch: {{#show: {{PAGENAME}} |?ItemType#}}
+
-->, {{ShowTier}}
      | Recipe (Item) | Piece of Equipment | Weapon | Cape | Protective Gear = {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}}
 
                                                                            | 0  = [[Nomenclature#Equipment|T0]] (No Expertise needed)
 
                                                                            | 15 = [[Nomenclature#Equipment|T1]] ({{Emoticon|emoticon=Bookred}})
 
                                                                            | 25 = [[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}})
 
                                                                            | 35 = [[Nomenclature#Equipment|T3]] ({{Emoticon|emoticon=Bookblue}})
 
                                                                            | 45 = [[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}})
 
                                                                            | #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value:  {{#show: {{PAGENAME}} |?LevelEquipRequirement}})
 
                                                                          }}
 
      | Resource = [[Nomenclature#Resource|C{{#if:{{#show: {{PAGENAME}} |?SkillCraftLevel}} | {{#show: {{PAGENAME}} |?SkillCraftLevel}} | 0}}{{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | | a }}]]
 
      | Consumable = {{#switch: {{#show: {{PAGENAME}} |?ItemSubType#}}
 
                        | Ammunition = [[Nomenclature|A{{#show: {{PAGENAME}} |?SkillCraftLevel}}]]
 
                      }}
 
    }}-->
 
 
|-
 
|-
 
{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Recipe (Item) | {{!}} Used in {{!}}{{!}} {{#ask: [[Crafting ingredient::{{PAGENAME}}]] |headers=hide |format=list |?{{PAGENAME}} }}
 
{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Recipe (Item) | {{!}} Used in {{!}}{{!}} {{#ask: [[Crafting ingredient::{{PAGENAME}}]] |headers=hide |format=list |?{{PAGENAME}} }}

Revision as of 17:29, 22 August 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