Difference between revisions of "Template:Properties sort"

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

Revision as of 04:02, 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:

Propertygrp7