Difference between revisions of "Template:Attribute icon"

From Project: Gorgon Wiki
Jump to: navigation, search
m (BLITZSHOT 3321 to 3310 to match Ability Icon. Left BASICSHOT, since it's still in CDN)
Line 386: Line 386:
 
| BOOST_ABILITY_BLASTOFDESPAIR = 3672
 
| BOOST_ABILITY_BLASTOFDESPAIR = 3672
 
| BOOST_ABILITY_BLASTOFFURY = 3671
 
| BOOST_ABILITY_BLASTOFFURY = 3671
| BOOST_ABILITY_BLITZSHOT = 3321
+
| BOOST_ABILITY_BLITZSHOT = 3310
 
| BOOST_ABILITY_BLIZZARD = 3525
 
| BOOST_ABILITY_BLIZZARD = 3525
 
| BOOST_ABILITY_BLURCUT = 3592
 
| BOOST_ABILITY_BLURCUT = 3592
Line 1,058: Line 1,058:
 
| MOD_ABILITY_BLASTOFDESPAIR = 3672
 
| MOD_ABILITY_BLASTOFDESPAIR = 3672
 
| MOD_ABILITY_BLASTOFFURY = 3671
 
| MOD_ABILITY_BLASTOFFURY = 3671
| MOD_ABILITY_BLITZSHOT = 3321
+
| MOD_ABILITY_BLITZSHOT = 3310
 
| MOD_ABILITY_BLIZZARD = 3525
 
| MOD_ABILITY_BLIZZARD = 3525
 
| MOD_ABILITY_BLURCUT = 3592
 
| MOD_ABILITY_BLURCUT = 3592

Revision as of 06:05, 8 February 2023

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