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)
 
(32 intermediate revisions by 5 users not shown)
Line 1: Line 1:
<!--
{{#switch: {{{1}}}
Checks the provided Property name against a list of properties.
|Armor Penetration
Properties are grouped up based on the ingame property grouping on items.
|Armor Damage
Returns PropertygrpX where X is the number of group where the property belongs to.
|Weapon Damage
-->{{#switch: {{{1}}}
|Bodypart Damage = Propertygrp01
|Physical Resistance
|Physical Resistance
|Nature Resistance
|Nature Resistance
|Magic Resistance = Propertygrp1
|Magic Resistance = Propertygrp02
|Slashing Resistance
|Slashing Resistance
|Piercing Resistance
|Piercing Resistance
|Crushing Resistance
|Crushing Resistance
|Rending Resistance = Propertygrp2
|Rending Resistance = Propertygrp03
|Fire Resistance
|Fire Resistance
|Frost Resistance
|Frost Resistance
|Shock Resistance
|Shock Resistance
|Caustic Resistance
|Caustic Resistance
|Poison Resistance = Propertygrp3
|Poison Resistance = Propertygrp04
|Arcane Resistance
|Arcane Resistance
|Unholy Resistance
|Unholy Resistance
|Sacred Resistance
|Sacred Resistance
|Psionic Resistance = Propertygrp4
|Psionic Resistance = Propertygrp05
|Bleed Resistance
|Bleed Resistance
|Knockback Resistance
|Knockback Resistance
|Move Resistance
|Stun Resistance
|Stun Resistance
|Pain Resistance = Propertygrp5
|Control Resistance
|Armor Penetration
|Pain Resistance
|Armor Damage
|Bodypart Damage = Propertygrp6
|Bleed Chance
|Bleed Chance
|Daze Chance
|Daze Chance
|Stun Chance
|Stun Chance
|Knockback Chance = Propertygrp7
|Knockback Chance
|Stagger Chance
|Immobilization Chance = Propertygrp06
|Block Chance
|Block Chance
|Block Power
|Block Power
Line 38: Line 39:
|Counter Chance
|Counter Chance
|Fumble Chance
|Fumble Chance
|Range
|Dodge Chance
|Dodge Chance
|Damage Taken
|Damage Taken
|Damage Reflection
|Damage Reflection
|Bonus Range = Propertygrp8
|Bonus Range = Propertygrp07
|Energy
|Energy
|Energy Restoration
|Energy Restoration
Line 56: Line 58:
|Psionic Power
|Psionic Power
|Pyromantic Power
|Pyromantic Power
|Venomantic Power = Propertygrp9
|Venomantic Power = Propertygrp08
|Body Part Condition
|Health Restoration
|Health Restoration
|Healing Efficiency
|Healing Efficiency
|Fortitude
|Fortitude
|Life Drain
|Life Drain
|Energy Drain = Propertygrp10
|Energy Drain = Propertygrp09
|Noise Produced
|Noise Produced
|Stealth
|Stealth
|Lockpicking & Disarming
|Lockpicking & Disarming
|Vision = Propertygrp11
|Experience Gain
|#default = }}<noinclude>
|Vision = Propertygrp10
|Hunger
|Hunger Change
|Hunger Resistance
|Thirst
|Thirst Change
|Intoxication
|Intoxication Change
|Intoxication Resistance
|Pain
|Pain Change
|Pain Limit
|Sanity
|Sanity Change
|Morale
|Morale Change
|Energy Replenishment
|Health Replenishment
|Injury Treatment
|Immunity
|Fatigue
|Fatigue Change
|Fatigue Resistance = Propertygrp11
|PropertyGroups = Propertygrp01, Propertygrp02, Propertygrp03, Propertygrp04, Propertygrp05, Propertygrp06, Propertygrp07, Propertygrp08, Propertygrp09, Propertygrp10, Propertygrp11
|#default = }}<noinclude>{{Doc}}
[[Category:Templates]]</noinclude>
[[Category:Templates]]</noinclude>

Latest revision as of 18:07, 18 August 2022

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:

Propertygrp07