Template:Icon: Difference between revisions

From Heroes of Hammerwatch Wiki
Jump to navigation Jump to search
Xhamon (talk | contribs)
Fix for icon sizes, part 1.
Xhamon (talk | contribs)
Added Spell Cooldown (game icon).
Line 33: Line 33:
  | weapon crit damage = [[File:Weapon Crit Damage.png|26x26px|link=]]
  | weapon crit damage = [[File:Weapon Crit Damage.png|26x26px|link=]]
  | cast speed = [[File:Cast Speed.png|26x26px|link=]]
  | cast speed = [[File:Cast Speed.png|26x26px|link=]]
  | spell cooldown = [[File:Cast Speed.png|26x26px|link=]]<span style="font-size:70%; margin-left:-1.25em; vertical-align:-0.5em;">⏱️</span>
  | spell cooldown = [[File:Spell Cooldown.png|26x26px|link=]]
  | spell crit chance = [[File:Spell Crit Chance.png|26x26px|link=]]
  | spell crit chance = [[File:Spell Crit Chance.png|26x26px|link=]]
  | spell crit damage = [[File:Spell Crit Damage.png|26x26px|link=]]
  | spell crit damage = [[File:Spell Crit Damage.png|26x26px|link=]]

Revision as of 19:19, 31 January 2025


⚠️For missing icons, this template currently uses emojis as placeholders, until someone uploads the actual icons from the game.
Changing an icon in the code here will change it everywhere in the wiki (assuming that the icons currently found in the wiki are using this template).

This template is a shorthand to display an icon from the game.
Syntax is {{icon|name}}, where "name" is one of the following:

Attributes
Name Icon
str(ength)
dex(terity)
int(elligence)
foc(us)
vit(ality)
Points
Name Icon
attribute (point)
star, skill (point)
Stats
Name Icon
health/hp
health/hp regen(eration)
mana/mp
mana/mp regen(eration)
armor
fire resist(ance)
ice resist(ance)
lightning resist(ance)
poison resist(ance)
move(ment) speed
evade, evasion
parry
xp, experience
weapon power
spell power
weapon speed
weapon crit chance
weapon crit damage
cast speed
spell cooldown
spell crit chance
spell crit damage
armor pen(etration)
fire pen(etration)
ice pen(etration)
lightning pen(etration)
poison pen(etration)
physical damage
fire damage
ice damage
lightning damage
poison damage
Resources
Name Icon
gold
wood
stone
iron
crys(tal(s))
dust
frag(ment(s))
Misc
Name Icon
potion (charge) ⚗️
dash (charge)
dash recovery ⏱️
Debuffs
Name Icon
confusion, confuse(d)
stun(ned)
freeze, frozen 🧊
immobilize(d) 🚷
cripple(d) 🩼
slow(ed) 🐌
disarm(ed) 🚫
silence(d)
blind(ed/ness)
weak(ened/ness) 🤢
vulnerability, vulnerable
armor break
marked 🎯
bleeding

(If multiples names are listed, any of them will work. “str(enght)” means either “str” or “strength”. “health/hp regen” means “health regen” or “hp regen”.)
(The template can handle all variations of lower/upper cases; you can spell “Strength”, “strength”, “STRENGTH”, “sTReNgTH”, they all work.)