Difference between revisions of "Template:Attribute icon"
From Project: Gorgon Wiki
m (Same for Saddlebags and Reins) |
m (Added attributes for Angling and Mystic Saddlebag) |
||
Line 274: | Line 274: | ||
| ACCURACY_DELTA_SIGNATUREDEBUFF = 108 | | ACCURACY_DELTA_SIGNATUREDEBUFF = 108 | ||
| ALCOHOL_LIVER_RECOVERY_MOD = 108 | | ALCOHOL_LIVER_RECOVERY_MOD = 108 | ||
+ | | ALLOW_SADDLEBAG_TELEPORT = 108 | ||
+ | | ANGLING_DELTA_CAPTURETIME = 108 | ||
+ | | ANGLING_DELTA_WAITTIME = 108 | ||
| ANIMALHANDLING_COST_MOD = 108 | | ANIMALHANDLING_COST_MOD = 108 | ||
| ARCHERY_COST_MOD = 108 | | ARCHERY_COST_MOD = 108 |
Revision as of 01:53, 6 June 2023
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}}
Forcing 32x32 size
<span class="extimage32px">{{Attribute icon|ABILITY_AMMOSTICK_DELTA_KNIFE}}</span>
Forcing 64x64 size
<span class="extimage64px">{{Attribute icon|ABILITY_AMMOSTICK_DELTA_KNIFE}}</span>