Difference between revisions of "Template:Properties sort"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(Added switch case: PropertyGroups = list of available propertygrps)
old>Realpsojed
(added Control and Move resistance, keeping the old values so that it doesn't break items which aren't updated yet)
Line 21: Line 21:
|Bleed Resistance
|Bleed Resistance
|Knockback Resistance
|Knockback Resistance
|Move Resistance
|Stun Resistance
|Stun Resistance
|Control Resistance
|Pain Resistance
|Pain Resistance
|Bleed Chance
|Bleed Chance

Revision as of 16:49, 3 September 2020

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