Difference between revisions of "Template:Attribute label"

From Project: Gorgon Wiki
Jump to: navigation, search
m
(Bot added info for game version v342, bot version 107. Contact User:Alleryn for issues concerning this bot edit.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<!-- v341 -->
+
<!-- v342 -->
 
<!-- This section has been added automatically by a bot. Please contact [[User:Alleryn]] (check page history for link to user page with contact info) if you believe this section is in error. -->
 
<!-- This section has been added automatically by a bot. Please contact [[User:Alleryn]] (check page history for link to user page with contact info) if you believe this section is in error. -->
 
</noinclude>{{ #if: {{{1|}}} |  
 
</noinclude>{{ #if: {{{1|}}} |  
Line 1,556: Line 1,556:
 
| #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/v341/icons/icon_<span style="color:red">Error: Attribute not found</span>.png |  
+
http://cdn.projectgorgon.com/v342/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 04:43, 26 March 2021

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