Difference between revisions of "Template:Attribute label"

From Project: Gorgon Wiki
Jump to: navigation, search
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 20:54, 18 January 2023

Item-icon-none.png

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}}

Chance for Thrown Knives to Stick in Corpse