Difference between revisions of "Template:Properties sort"
Jump to navigation
Jump to search
old>Realpsojed (fixed missing noinclude) |
old>Realpsojed (Simplified.) |
||
Line 1: | Line 1: | ||
<!-- | <!-- | ||
Checks the provided Property name against a list of properties. | |||
Properties are grouped up based on the ingame property grouping on items. | |||
PropertygrpX | Returns PropertygrpX where X is the number of group where the property belongs to. | ||
-->{{#switch: {{{1}}} | |||
--> | |||
|Physical Resistance | |Physical Resistance | ||
|Nature Resistance | |Nature Resistance | ||
|Magic Resistance = | |Magic Resistance = Propertygrp1 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Slashing Resistance | |Slashing Resistance | ||
|Piercing Resistance | |Piercing Resistance | ||
|Crushing Resistance | |Crushing Resistance | ||
|Rending Resistance = | |Rending Resistance = Propertygrp2 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Fire Resistance | |Fire Resistance | ||
|Frost Resistance | |Frost Resistance | ||
|Shock Resistance | |Shock Resistance | ||
|Caustic Resistance | |Caustic Resistance | ||
|Poison Resistance = | |Poison Resistance = Propertygrp3 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Arcane Resistance | |Arcane Resistance | ||
|Unholy Resistance | |Unholy Resistance | ||
|Sacred Resistance | |Sacred Resistance | ||
|Psionic Resistance = | |Psionic Resistance = Propertygrp4 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Bleed Resistance | |Bleed Resistance | ||
|Knockback Resistance | |Knockback Resistance | ||
|Stun Resistance | |Stun Resistance | ||
|Pain Resistance = | |Pain Resistance = Propertygrp5 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Armor Penetration | |Armor Penetration | ||
|Armor Damage | |Armor Damage | ||
|Bodypart Damage = | |Bodypart Damage = Propertygrp6 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Bleed Chance | |Bleed Chance | ||
|Daze Chance | |Daze Chance | ||
|Stun Chance | |Stun Chance | ||
|Knockback Chance = | |Knockback Chance = Propertygrp7 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Block Chance | |Block Chance | ||
|Block Power | |Block Power | ||
Line 50: | Line 48: | ||
|Damage Taken | |Damage Taken | ||
|Damage Reflection | |Damage Reflection | ||
|Bonus Range = | |Bonus Range = Propertygrp8 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Energy | |Energy | ||
|Energy Restoration | |Energy Restoration | ||
Line 66: | Line 64: | ||
|Psionic Power | |Psionic Power | ||
|Pyromantic Power | |Pyromantic Power | ||
|Venomantic Power = | |Venomantic Power = Propertygrp9 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Health Restoration | |Health Restoration | ||
|Healing Efficiency | |Healing Efficiency | ||
|Fortitude | |Fortitude | ||
|Life Drain | |Life Drain | ||
|Energy Drain = | |Energy Drain = Propertygrp10 | ||
|#default = }} | |#default = }}{{#switch: {{{1}}} | ||
|Noise Produced | |Noise Produced | ||
|Stealth | |Stealth | ||
|Lockpicking & Disarming | |Lockpicking & Disarming | ||
|Vision = | |Vision = Propertygrp11 | ||
|#default = }} | |#default = }}<noinclude> | ||
<noinclude> | |||
[[Category:Templates]]</noinclude> | [[Category:Templates]]</noinclude> |