Difference between revisions of "Template:Properties sort"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(added Stagger Chance)
old>Realpsojed
(fix for incorrect spacing when properties from propertygrp10 or propertygrp11 were present and properties from propertygrp1 were not)
Line 2: Line 2:
|Armor Penetration
|Armor Penetration
|Armor Damage
|Armor Damage
|Bodypart Damage = Propertygrp1
|Bodypart Damage = Propertygrp01
|Physical Resistance
|Physical Resistance
|Nature Resistance
|Nature Resistance
|Magic Resistance = Propertygrp2
|Magic Resistance = Propertygrp02
|Slashing Resistance
|Slashing Resistance
|Piercing Resistance
|Piercing Resistance
|Crushing Resistance
|Crushing Resistance
|Rending Resistance = Propertygrp3
|Rending Resistance = Propertygrp03
|Fire Resistance
|Fire Resistance
|Frost Resistance
|Frost Resistance
|Shock Resistance
|Shock Resistance
|Caustic Resistance
|Caustic Resistance
|Poison Resistance = Propertygrp4
|Poison Resistance = Propertygrp04
|Arcane Resistance
|Arcane Resistance
|Unholy Resistance
|Unholy Resistance
|Sacred Resistance
|Sacred Resistance
|Psionic Resistance = Propertygrp5
|Psionic Resistance = Propertygrp05
|Bleed Resistance
|Bleed Resistance
|Knockback Resistance
|Knockback Resistance
Line 30: Line 30:
|Knockback Chance
|Knockback Chance
|Stagger Chance
|Stagger Chance
|Immobilization Chance = Propertygrp6
|Immobilization Chance = Propertygrp06
|Block Chance
|Block Chance
|Block Power
|Block Power
Line 41: Line 41:
|Damage Taken
|Damage Taken
|Damage Reflection
|Damage Reflection
|Bonus Range = Propertygrp7
|Bonus Range = Propertygrp07
|Energy
|Energy
|Energy Restoration
|Energy Restoration
Line 56: Line 56:
|Psionic Power
|Psionic Power
|Pyromantic Power
|Pyromantic Power
|Venomantic Power = Propertygrp8
|Venomantic Power = Propertygrp08
|Health Restoration
|Health Restoration
|Healing Efficiency
|Healing Efficiency
|Fortitude
|Fortitude
|Life Drain
|Life Drain
|Energy Drain = Propertygrp9
|Energy Drain = Propertygrp09
|Noise Produced
|Noise Produced
|Stealth
|Stealth
Line 85: Line 85:
|Injury Treatment
|Injury Treatment
|Immunity = Propertygrp11
|Immunity = Propertygrp11
|PropertyGroups = Propertygrp1, Propertygrp2, Propertygrp3, Propertygrp4, Propertygrp5, Propertygrp6, Propertygrp7, Propertygrp8, Propertygrp9, Propertygrp10, Propertygrp11
|PropertyGroups = Propertygrp01, Propertygrp02, Propertygrp03, Propertygrp04, Propertygrp05, Propertygrp06, Propertygrp07, Propertygrp08, Propertygrp09, Propertygrp10, Propertygrp11
|#default = }}<noinclude>{{Doc}}
|#default = }}<noinclude>{{Doc}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 03:54, 11 February 2021

Template-info.png Documentation

This template checks the provided property name against a list of Stoneshard properties. Properties are grouped up based on the ingame property grouping on items.
Returns PropertygrpX where X is the number of the group where the property belongs to. Propertygroup numbers are not based on the code.

Usage:

{{Properties sort|Block Chance}}

Produces:

Propertygrp07