Difference between revisions of "Template:Properties sort"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(I had multiple switches for no reason, reduced to just one)
old>Realpsojed
(added doc)
Line 66: Line 66:
|Lockpicking & Disarming
|Lockpicking & Disarming
|Vision = Propertygrp11
|Vision = Propertygrp11
|#default = }}<noinclude>
|#default = }}<noinclude>{{Doc}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Revision as of 19:36, 11 May 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:

Propertygrp8