Difference between revisions of "Template:Attribute label"

From Project: Gorgon Wiki
Jump to: navigation, search
(Bot added info for game version v341, bot version 105. Contact User:Alleryn for issues concerning this bot edit.)
(Bot added info for game version v341, bot version 106. Contact User:Alleryn for issues concerning this bot edit.)
Line 1: Line 1:
<noinclude><!-- <!-- v341 -->
+
<noinclude>
 +
<!-- v341 -->
 
<!-- 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|}}} |  
 
{{ #replace:{{ #switch: {{{1|None}}}
 
{{ #replace:{{ #switch: {{{1|None}}}
 
| ABILITY_AMMOSTICK_DELTA_KNIFE = Chance for Thrown Knives to Stick in Corpse
 
| ABILITY_AMMOSTICK_DELTA_KNIFE = Chance for Thrown Knives to Stick in Corpse
Line 1,556: Line 1,557:
 
| #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 -->
+
http://cdn.projectgorgon.com/v341/icons/icon_<span style="color:red">Error: Attribute not found</span>.png |  
/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 13:08, 15 December 2020

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