Template:Attribute label: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Tekkra (talk | contribs)
No edit summary
Litrevan (talk | contribs)
m Added MOUNTED_TOP_SPEED_* attributes, along with Icon
Line 1,397: Line 1,397:
| MOD_UNIVERSAL_INDIRECT = All Indirect Damage %
| MOD_UNIVERSAL_INDIRECT = All Indirect Damage %
| MONSTER_CRIT_CHANCE = Chance to Critically-Hit %
| MONSTER_CRIT_CHANCE = Chance to Critically-Hit %
| MOUNTED_TOP_SPEED_LAND = Mounted Top Speed on Land
| MOUNTED_TOP_SPEED_WATER_SHALLOW = Mounted Top Speed on Shallow Water
| MOUNTED_TOP_SPEED_WATER_DEEP = Mounted Top Speed on Shallow Water
| MOVEMENT_SPEED = Movement Speed
| MOVEMENT_SPEED = Movement Speed
| NECROMANCY_COST_DELTA = Necromancy Ability Power Cost
| NECROMANCY_COST_DELTA = Necromancy Ability Power Cost

Revision as of 20:34, 17 February 2023

Description

This accepts an Attribute name as input and returns the in-game label.

Syntax

{{Attribute label|<name>}}

Parameters

<name>
The name of the Attribute. It must match exactly what the Attributes json uses. NOT the Label.

Examples

Basic Use

{{Attribute label|ABILITY_AMMOSTICK_DELTA_KNIFE}}

{{ #replace:Chance for Thrown Knives to Stick in Corpse| http://cdn.projectgorgon.com/v377/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}