Difference between revisions of "Template:ShowTier"

From ChatWars Wiki
Jump to: navigation, search
Line 8: Line 8:
 
                                                                             | #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value:  {{#show: {{#var: page}} |?LevelEquipRequirement}})
 
                                                                             | #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value:  {{#show: {{#var: page}} |?LevelEquipRequirement}})
 
                                                                           }}
 
                                                                           }}
   | Resource = [[Nomenclature#Resource|C{{#if:{{#show: {{#var: page}} |?SkillCraftLevel}} | {{#show: {{#var: page}} |?SkillCraftLevel}} | 0}}{{#ifeq: {{#show: {{#var: page}} |?BoolQuest}} | true | | a }}]]
+
   | Resource = {{#switch: {{#show: {{PAGENAME}} |?ItemSubType#}}
 +
                | Herb = [[Nomenclature#Alchemy Resource|H{{#switch: {{#show: {{#var: page}} |?PerceptionLevel}}
 +
                                                            | 1 = 1
 +
                                                            | 2 = 2
 +
                                                            | 7 = 3
 +
                                                            | 12 = 4
 +
                                                          }}]]
 +
                | #default = [[Nomenclature#Resource|C{{#if: {{#show: {{#var: page}} |?SkillCraftLevel}} | {{#show: {{#var: page}} |?SkillCraftLevel}} | 0}}{{#ifeq: {{#show: {{#var: page}} |?BoolQuest}} | true | | a }}]]
 
   | Consumable = {{#switch: {{#show: {{#var: page}}} |?ItemSubType#}}
 
   | Consumable = {{#switch: {{#show: {{#var: page}}} |?ItemSubType#}}
                   | Ammunition = [[Nomenclature|A{{#show: {{PAGENAME}} |?SkillCraftLevel}}]]
+
                   | Ammunition = [[Nomenclature|CA{{#show: {{PAGENAME}} |?SkillCraftLevel}}]]
 +
                  | Potion = [[Nomenclature|A{{#show: {{PAGENAME}} |?SkillCraftLevel}}]]
 
                 }}
 
                 }}
 
}}</includeonly>
 
}}</includeonly>

Revision as of 15:23, 27 August 2018


This template returns a short text displaying the tier of either the current page or a selected source page