Template:Attribute label: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 1: | Line 1: | ||
{{ #if: {{{1|}}} | | {{ #if: {{{1|}}} | | ||
{{ #replace:{{ #switch: {{{1|None}}} | {{ #replace:{{ #switch: {{{1|None}}} | ||
Revision as of 14:22, 10 June 2020
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/v335/icons/icon_Error: Attribute not found.png | \mError: Attribute not found }}