Template:Attribute label: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Litrevan (talk | contribs)
m Added MOUNTED_TOP_SPEED_* attributes, along with Icon
Litrevan (talk | contribs)
m Same for Saddlebags and Reins
Line 979: Line 979:
| MAX_RAGE = Max Rage
| MAX_RAGE = Max Rage
| MAX_SIDEBAR_SLOTS = Sidebar Slots
| MAX_SIDEBAR_SLOTS = Sidebar Slots
| MAX_SADDLEBAG_VAULT_SIZE = Saddle Storage
| MAX_STABLE_SLOTS = Stable Slots
| MAX_STABLE_SLOTS = Stable Slots
| MAX_WARDEN_VAULT_SIZE = Warden Storage
| MAX_WARDEN_VAULT_SIZE = Warden Storage
Line 1,458: Line 1,459:
| SHOP_LOG_DAYSKEPT = Days of Shop Logs Retained
| SHOP_LOG_DAYSKEPT = Days of Shop Logs Retained
| SHOW_BODYHEAT_INDICATORS = Is It Cold?
| SHOW_BODYHEAT_INDICATORS = Is It Cold?
| SHOW_MOUNT_SPEED_INDICATORS = How Fast is Mount?
| SKILL_COST_DELTA_CROSSBOW = Crossbow Attack Power Cost
| SKILL_COST_DELTA_CROSSBOW = Crossbow Attack Power Cost
| SKILL_RESETTIME_DELTA_CROSSBOW = Crossbow Reuse Timer
| SKILL_RESETTIME_DELTA_CROSSBOW = Crossbow Reuse Timer

Revision as of 21:27, 17 February 2023

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