Difference between revisions of "Template:Attribute icon"

From Project: Gorgon Wiki
Jump to: navigation, search
(Bot added info for game version v345, bot version 110. Contact User:Alleryn for issues concerning this bot edit.)
(Bot added info for game version v349, bot version 115. Contact User:Alleryn for issues concerning this bot edit.)
Line 1: Line 1:
 
<noinclude>
 
<noinclude>
<!-- v345 -->
+
<!-- v349 -->
 
<!-- 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: http://cdn.projectgorgon.com/v345/icons/icon_{{ #switch: {{{1|None}}}
+
{{ #replace: http://cdn.projectgorgon.com/v349/icons/icon_{{ #switch: {{{1|None}}}
 
| ABILITY_AMMOSTICK_DELTA_KNIFE = 108
 
| ABILITY_AMMOSTICK_DELTA_KNIFE = 108
 
| ABILITY_CONSUMECHANCE_MOD_CARROTPOWER = 3697
 
| ABILITY_CONSUMECHANCE_MOD_CARROTPOWER = 3697
Line 137: Line 137:
 
| ABILITY_RANGE_DELTA_FAIRYFIRE = 3783
 
| ABILITY_RANGE_DELTA_FAIRYFIRE = 3783
 
| ABILITY_RANGE_DELTA_PIXIEFLARE = 3784
 
| ABILITY_RANGE_DELTA_PIXIEFLARE = 3784
 +
| ABILITY_RANGE_DELTA_PSYCHOANALYZE = 2118
 +
| ABILITY_RANGE_DELTA_SOOTHE = 2221
 
| ABILITY_RANGE_DELTA_SPIRITBOLT = 3803
 
| ABILITY_RANGE_DELTA_SPIRITBOLT = 3803
 
| ABILITY_RANGE_DELTA_THUNDEROUSNOTE = 3674
 
| ABILITY_RANGE_DELTA_THUNDEROUSNOTE = 3674
Line 288: Line 290:
 
| BATTLECHEMISTRY_COST_MOD = 108
 
| BATTLECHEMISTRY_COST_MOD = 108
 
| BODYHEAT_DROP_MOD_IN_COMBAT = 108
 
| BODYHEAT_DROP_MOD_IN_COMBAT = 108
 +
| BOND_XP_EARNED_MOD = 108
 +
| BONUS_STABLE_SLOTS = 108
 
| BOOSTLATE_SKILL_HAMMER = 108
 
| BOOSTLATE_SKILL_HAMMER = 108
 
| BOOSTLATE_SKILL_KNIFE = 108
 
| BOOSTLATE_SKILL_KNIFE = 108
Line 916: Line 920:
 
| LOOT_CHANCE_BONUS_GARDENING = 108
 
| LOOT_CHANCE_BONUS_GARDENING = 108
 
| LOOT_CHANCE_EXTRA_BASICWOOD = 108
 
| LOOT_CHANCE_EXTRA_BASICWOOD = 108
 +
| LOOT_CHANCE_EXTRA_BONES = 108
 
| LOOT_CHANCE_EXTRA_FISH = 108
 
| LOOT_CHANCE_EXTRA_FISH = 108
 
| LOOT_CHANCE_EXTRA_FRUIT = 108
 
| LOOT_CHANCE_EXTRA_FRUIT = 108
Line 932: Line 937:
 
| MAX_BODYHEAT = 108
 
| MAX_BODYHEAT = 108
 
| MAX_BREATH = 108
 
| MAX_BREATH = 108
 +
| MAX_BREEDING_ATTEMPTS = 108
 
| MAX_CASINO_VAULT_SIZE = 108
 
| MAX_CASINO_VAULT_SIZE = 108
 
| MAX_CLEANLINESS = 108
 
| MAX_CLEANLINESS = 108
Line 944: Line 950:
 
| MAX_PEACEABLENESS = 108
 
| MAX_PEACEABLENESS = 108
 
| MAX_PERSONAL_VAULT_SIZE = 108
 
| MAX_PERSONAL_VAULT_SIZE = 108
 +
| MAX_POVUS_VAULT_SIZE = 108
 
| MAX_POWER = 103
 
| MAX_POWER = 103
 
| MAX_RAGE = 104
 
| MAX_RAGE = 104
Line 1,534: Line 1,541:
 
| #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> }}
 
}}.png |  
 
}}.png |  
http://cdn.projectgorgon.com/v345/icons/icon_<span style="color:red">Error: Attribute not found</span>.png |  
+
http://cdn.projectgorgon.com/v349/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 icon/Explanation}}
 
{{Attribute icon/Explanation}}
 
[[Category:Formatting templates]]
 
[[Category:Formatting templates]]
 
</noinclude>
 
</noinclude>

Revision as of 17:02, 27 September 2021

Item-icon-none.png

Description

This accepts an Attribute name as input and returns the in-game icon. Be aware that Attribute icons have various sizes, and you can use CSS to easily resize them. 99% of the time, you'll want 32x32. If you do NEED 64x64, remember that some icons are not inherently that big so you'll lose image quality. See the Examples section below.

Syntax

{{Attribute icon|<name>}}

Parameters

<name>
The name of the Attribute. It must match exactly what the Attributes json uses. NOT the Label.

Examples

Basic Use

{{Attribute icon|ABILITY_AMMOSTICK_DELTA_KNIFE}}

icon_108.png


Forcing 32x32 size

<span class="extimage32px">{{Attribute icon|ABILITY_AMMOSTICK_DELTA_KNIFE}}</span>

icon_108.png


Forcing 64x64 size

<span class="extimage64px">{{Attribute icon|ABILITY_AMMOSTICK_DELTA_KNIFE}}</span>

icon_108.png