Difference between revisions of "Template:ShowTier"

From ChatWars Wiki
Jump to: navigation, search
(added new harvest levels to tiers)
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{#vardefine: page | {{{source|{{PAGENAME}} }}} }}<includeonly>{{#switch: {{#show: {{#var: page}} |?ItemType#}}  
 
{{#vardefine: page | {{{source|{{PAGENAME}} }}} }}<includeonly>{{#switch: {{#show: {{#var: page}} |?ItemType#}}  
   | Recipe (Item) | Piece of Equipment | Weapon | Cape | Protective Gear = {{#switch: {{#show: {{#var: page}} |?LevelEquipRequirement}}
+
   | Recipe (Item) | Piece of Equipment | Weapon | Cape | Protective Gear = {{#if: {{#show: {{#var: page}} |?LevelEquipRequirement}}
                                                                            | 0  = [[Nomenclature#Equipment|T0]] (No Expertise)
+
                                                                            | {{#switch: {{#show: {{#var: page}} |?LevelEquipRequirement}}
                                                                            | 15 = [[Nomenclature#Equipment|T1]] ({{Emoticon|emoticon=Bookred}})
+
                                                                                | 0  = [[Nomenclature#Equipment|T0]] (No Expertise)
                                                                            | 25 = [[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}})
+
                                                                                | 15 = [[Nomenclature#Equipment|T1]] ({{Emoticon|emoticon=Bookred}})
                                                                            | 35 = [[Nomenclature#Equipment|T3]] ({{Emoticon|emoticon=Bookblue}})
+
                                                                                | 25 = [[Nomenclature#Equipment|T2]] ({{Emoticon|emoticon=Bookgreen}})
                                                                            | 45 = [[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}})
+
                                                                                | 35 = [[Nomenclature#Equipment|T3]] ({{Emoticon|emoticon=Bookblue}})
                                                                            | #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value:  {{#show: {{#var: page}} |?LevelEquipRequirement}})
+
                                                                                | 45 = [[Nomenclature#Equipment|T4]] ({{Emoticon|emoticon=Bookorange}})
 +
                                                                                | 60 = [[Nomenclature#Equipment|T5]] ({{Emoticon|emoticon=Yellowpages}})
 +
                                                                                | #default = ERROR: Could not parse Tier info (Property input error or new/unsupported item? Value:  {{#show: {{#var: page}} |?LevelEquipRequirement}})
 +
                                                                              }}
 +
                                                                            | [[Nomenclature#Equipment|T??]]
 
                                                                           }}
 
                                                                           }}
 
   | Resource = {{#switch: {{#show: {{#var: page}} |?ItemSubType#}}
 
   | Resource = {{#switch: {{#show: {{#var: page}} |?ItemSubType#}}
Line 13: Line 17:
 
                                                                         | {{#switch: {{#show: {{#var: page}} |?PerceptionLevel}}
 
                                                                         | {{#switch: {{#show: {{#var: page}} |?PerceptionLevel}}
 
                                                                             | 1 = 1
 
                                                                             | 1 = 1
                                                                             | 2 = 2
+
                                                                             | 3 = 2
 
                                                                             | 7 = 3
 
                                                                             | 7 = 3
 
                                                                             | 12 = 4
 
                                                                             | 12 = 4
 +
                                                                            | 15 = 5
 +
                                                                            | 17 = 6
 
                                                                           }}
 
                                                                           }}
 
                                                                       }}]]
 
                                                                       }}]]

Revision as of 01:10, 5 October 2020


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