Difference between revisions of "Template:Properties sort"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(test)
old>Realpsojed
(spacing)
Line 9: Line 9:
|Nature Resistance
|Nature Resistance
|Magic Resistance = a
|Magic Resistance = a
|#default = }} | {{{Propertygrp1}}} | }}
|#default = }} | {{{Propertygrp1}}} | }}{{{Propertygrp2|{{#if: {{#switch: {{{1}}}
 
{{{Propertygrp2|{{#if: {{#switch: {{{1}}}
|Slashing Resistance
|Slashing Resistance
|Piercing Resistance
|Piercing Resistance

Revision as of 14:54, 8 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:

Block Chance