Template:Attribute label: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Alleryn (talk | contribs)
m fixed capitalization errors (hopefully)
Tamiq (talk | contribs)
m Adds OOC fast swim boost
Line 1,188: Line 1,188:
| NONCOMBAT_REGEN_POWER_MOD =  Power Regen (Non-Combat) %
| NONCOMBAT_REGEN_POWER_MOD =  Power Regen (Non-Combat) %
| NONCOMBAT_SPRINT_BOOST =  Sprint Boost (Out of Combat)
| NONCOMBAT_SPRINT_BOOST =  Sprint Boost (Out of Combat)
| NONCOMBAT_SWIM_FASTSPEED_BOOST =  Sprint-Swimming Speed Boost (Out of Combat)
| NPC_MOD_FAVORFROMGIFTS =  Favor Earned From Gifts %
| NPC_MOD_FAVORFROMGIFTS =  Favor Earned From Gifts %
| NPC_MOD_FAVORFROMHANGOUTS =  Favor Earned From Hanging Out %
| NPC_MOD_FAVORFROMHANGOUTS =  Favor Earned From Hanging Out %

Revision as of 00:18, 4 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/v321/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}