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#}}
 +
                                      | 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}})
 +
                                                                                                                }}
 +
                                      | Resource = {{#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]] }}
 +
                                                    }}
 +
                                    }}
 
|-
 
|-
{{#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}}
 
}}, Tier {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}} | 25=[[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}}) | 35=[[Nomenclature#Equipment|T3]], {{Emoticon|emoticon=Bookblue}} | 45=[[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}}) }}
 
}}, Tier {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}} | 25=[[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}}) | 35=[[Nomenclature#Equipment|T3]], {{Emoticon|emoticon=Bookblue}} | 45=[[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}}) }}
 
{{!}}- }}  
 
{{!}}- }}  
 
{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Piece of Equipment | {{!}} Used in {{!}}{{!}} {{#ask: [[Crafting ingredient::Champion Sword Recipe]] |headers=hide |format=list |?{{PAGENAME}}
 
{{#ifeq: {{#show: {{PAGENAME}} |?ItemType#}} | Piece of Equipment | {{!}} Used in {{!}}{{!}} {{#ask: [[Crafting ingredient::Champion Sword Recipe]] |headers=hide |format=list |?{{PAGENAME}}
 
}}, Tier {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}} | 25=[[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}}) | 35=[[Nomenclature#Equipment|T3]], {{Emoticon|emoticon=Bookblue}} | 45=[[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}}) }}
 
}}, Tier {{#switch: {{#show: {{PAGENAME}} |?LevelEquipRequirement}} | 25=[[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}}) | 35=[[Nomenclature#Equipment|T3]], {{Emoticon|emoticon=Bookblue}} | 45=[[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}}) }}
{{!}}- }}  
+
{{!}}- }} -->
 
| Weight
 
| Weight
 
| {{#show: {{PAGENAME}} |?Weight}}
 
| {{#show: {{PAGENAME}} |?Weight}}

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