Template:Attribute label

From Project Gorgon
Revision as of 16:45, 7 August 2019 by BetaNotus (talk | contribs) (Created page with "{{ #if: {{{1|}}} | {{ #replace:{{ #switch: {{{1|None}}} | ABILITY_AMMOSTICK_DELTA_KNIFE = Chance for Thrown Knives to Stick in Corpse | #default = {{ #if: {{ #pos: {{{1|}}}...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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/v321/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}