Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
(fixed error with non craftable resources showing unknown tier)
(cleaning up)
Line 11: Line 11:
 
                                   -->{{#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)
 
                                                                             | 15 = [[Nomenclature#Equipment|T1]] ({{Emoticon|emoticon=Bookred}})
 
                                                                             | 15 = [[Nomenclature#Equipment|T1]] ({{Emoticon|emoticon=Bookred}})
Line 19: Line 19:
 
                                                                             | #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value:  {{#show: {{PAGENAME}} |?LevelEquipRequirement}})
 
                                                                             | #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 }}]]
+
      | Resource = [[Nomenclature#Resource|C{{#if:{{#show: {{PAGENAME}} |?SkillCraftLevel}} | {{#show: {{PAGENAME}} |?SkillCraftLevel}} | 0}}{{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | | a }}]]
<!--{{#switch: {{#show: {{PAGENAME}} |?SkillCraftLevel}}
+
    }}
                | 0 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C0]] | [[Nomenclature#Resource|C0a]] }}
 
                | 1 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C1]] | [[Nomenclature#Resource|C1a]] }}
 
                | 2 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C2]] | [[Nomenclature#Resource|C2a]] }}
 
                | 3 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C3]] | [[Nomenclature#Resource|C3a]] }}
 
                | 4 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C4]] | [[Nomenclature#Resource|C4a]] }}
 
                | #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value: {{#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 11:28, 31 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