Difference between revisions of "Template:Properties sort"

From Stoneshard wiki
Jump to navigation Jump to search
old>Realpsojed
(languages moved to the Translate template, this template does sorting, which will be done only in english)
old>Realpsojed
m
Line 85: Line 85:
|Immunity = Propertygrp11
|Immunity = Propertygrp11
|PropertyGroups = Propertygrp1, Propertygrp2, Propertygrp3, Propertygrp4, Propertygrp5, Propertygrp6, Propertygrp7, Propertygrp8, Propertygrp9, 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 22:19, 6 October 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