Template:Attribute label: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
AllyBot (talk | contribs)
Bot added info for game version v341, bot version 106. Contact User:Alleryn for issues concerning this bot edit.
Alleryn (talk | contribs)
mNo edit summary
Line 1,554: Line 1,554:
| WIND_INSTRUMENT_COMPETENCE = Brass/Wind Instrument Skill
| WIND_INSTRUMENT_COMPETENCE = Brass/Wind Instrument Skill
| WORKORDER_COIN_REWARD_MOD = Cash Payout From Work Orders %
| WORKORDER_COIN_REWARD_MOD = Cash Payout From Work Orders %
| #default = {{ #if: {{ #pos: {{{1|}}} | : }} |  4003 | <span style="color:red">Error: Attribute not found</span> }}
| #default = {{ #if: {{ #pos: {{{1|}}} | : }} |  4003 | <span style="color:red">Error: Attribute not found</span> }}
}}|
}}|

Revision as of 19:18, 15 December 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/v341/icons/icon_Error: Attribute not found.png | Error: Attribute not found }}