Template:Attribute label: Difference between revisions

From Project Gorgon
Jump to navigation Jump to search
Typedeck (talk | contribs)
No edit summary
Tekkra (talk | contribs)
No edit summary
Line 207: Line 207:
| ABILITY_RESETTIME_DELTA_SUPERFIREBALL = Super Fireball Reuse Timer
| ABILITY_RESETTIME_DELTA_SUPERFIREBALL = Super Fireball Reuse Timer
| ABILITY_RESETTIME_DELTA_TERRIFYINGBITE = Terrifying Bite Reuse Timer
| ABILITY_RESETTIME_DELTA_TERRIFYINGBITE = Terrifying Bite Reuse Timer
| ABILITY_RESETTIME_DELTA_THUNDERSTRIKE = Thunderstrike Reuse Timer
| ABILITY_RESETTIME_DELTA_TOUGHHOOF = Tough Hoof Reuse Timer
| ABILITY_RESETTIME_DELTA_TOUGHHOOF = Tough Hoof Reuse Timer
| ABILITY_RESETTIME_DELTA_VIRTUOSOSBALLAD = Virtuoso's Ballad Reuse Timer
| ABILITY_RESETTIME_DELTA_VIRTUOSOSBALLAD = Virtuoso's Ballad Reuse Timer
Line 1,581: Line 1,582:
| #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> }}
}}|
}}|
http://cdn.projectgorgon.com/v349/icons/icon_<span style="color:red">Error: Attribute not found</span>.png |  
http://cdn.projectgorgon.com/v377/icons/icon_<span style="color:red">Error: Attribute not found</span>.png |  
<span style="color:red">Error: Attribute not found</span> }} | [[File:Item-icon-none.png]] }}<noinclude>
<span style="color:red">Error: Attribute not found</span> }} | [[File:Item-icon-none.png]] }}<noinclude>
{{Attribute label/Explanation}}
{{Attribute label/Explanation}}
[[Category:Formatting templates]]
[[Category:Formatting templates]]
</noinclude>
</noinclude>

Revision as of 01:54, 19 January 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 }}