Template:Attribute label/Explanation: Difference between revisions
Jump to navigation
Jump to search
Adding documentation. |
mNo edit summary |
||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
==Description== | ==Description== | ||
This accepts an Attribute name as input and returns the in-game | This accepts an Attribute name as input and returns the in-game label. | ||
==Syntax== | ==Syntax== | ||
<pre> | <pre> | ||
| Line 17: | Line 16: | ||
<pre>{{Attribute label|ABILITY_AMMOSTICK_DELTA_KNIFE}}</pre> | <pre>{{Attribute label|ABILITY_AMMOSTICK_DELTA_KNIFE}}</pre> | ||
{{Attribute label|ABILITY_AMMOSTICK_DELTA_KNIFE}} | {{Attribute label|ABILITY_AMMOSTICK_DELTA_KNIFE}} | ||
Latest revision as of 16:47, 7 August 2019
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/v461/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}