Difference between revisions of "Template:InfoOverview"

From ChatWars Wiki
Jump to: navigation, search
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}} }}
                                    {{#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}})
                                                                                                                  | 25 = [[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}})
+
                                                                            | 25 = [[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}})
                                                                                                                  | 35 = [[Nomenclature#Equipment|T3]] ({{Emoticon|emoticon=Bookblue}})
+
                                                                            | 35 = [[Nomenclature#Equipment|T3]] ({{Emoticon|emoticon=Bookblue}})
                                                                                                                  | 45 = [[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}})
+
                                                                            | 45 = [[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}})
                                                                                                                }}
+
                                                                          }}
                                      | Resource = {{#switch: {{#show: {{PAGENAME}} |?SkillCraftLevel}}
+
  | Resource = {{#switch: {{#show: {{PAGENAME}} |?SkillCraftLevel}}
                                                      | 0 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C0]] | [[Nomenclature#Resource|C0a]] }}
+
                | 0 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C0]] | [[Nomenclature#Resource|C0a]] }}
                                                      | 1 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C1]] | [[Nomenclature#Resource|C1a]] }}
+
                | 1 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C1]] | [[Nomenclature#Resource|C1a]] }}
                                                      | 2 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C2]] | [[Nomenclature#Resource|C2a]] }}
+
                | 2 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C2]] | [[Nomenclature#Resource|C2a]] }}
                                                      | 3 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C3]] | [[Nomenclature#Resource|C3a]] }}
+
                | 3 = {{#ifeq: {{#show: {{PAGENAME}} |?BoolQuest}} | true | [[Nomenclature#Resource|C3]] | [[Nomenclature#Resource|C3a]] }}
                                                    }}
+
              }}
                                    }}
+
}}
 
|-
 
|-
 
<!--{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Recipe (Item) | {{!}} Used in {{!}}{{!}} {{#ask: [[Crafting ingredient::Champion Sword Recipe]] |headers=hide |format=list |?{{PAGENAME}}
 
<!--{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Recipe (Item) | {{!}} Used in {{!}}{{!}} {{#ask: [[Crafting ingredient::Champion Sword Recipe]] |headers=hide |format=list |?{{PAGENAME}}

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