Template:Icon: Difference between revisions

From Heroes of Hammerwatch Wiki
Jump to navigation Jump to search
Xhamon (talk | contribs)
Added Potion (game icon).
Xhamon (talk | contribs)
Added last missing icons and removed placeholder notice.
Line 1: Line 1:
<onlyinclude><includeonly>{{#switch:{{lc: {{{1}}} }}
<onlyinclude><includeonly>{{#switch:{{lc: {{{1}}} }}
<!--⚠️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).⚠️-->
  <!--⚠️Icon names in the code below must be entirely in lowercase.⚠️-->
  <!--⚠️Icon names in the code below must be entirely in lowercase.⚠️-->
  <!--⚠️Please reflect any change made in the code in the documentation as well.⚠️-->
  <!--⚠️Please reflect any change made in the code in the documentation as well (below code).⚠️-->
  <!--Attributes-->
  <!--Attributes-->
  | str|strength = [[File:Strength.png|26x26px|link=Strength]]
  | str|strength = [[File:Strength.png|26x26px|link=Strength]]
Line 58: Line 59:
  <!--Misc-->
  <!--Misc-->
  | potion|potion charge = [[File:Potion.png|20x28px|link=]]
  | potion|potion charge = [[File:Potion.png|20x28px|link=]]
  | dash|dash charge = [[File:Dash Charge.png|40x18px|link=]]
  | dash|dash charge = [[File:Dash Charge.png|22x14px|link=]]
  | dash recovery = [[File:Dash Charge.png|40x18px|link=]]<span style="font-size:75%; margin-left:-1.5em; vertical-align:-0.25em;">⏱️</span>
  | dash recovery = [[File:Dash Recovery.png|34x22px|link=]]
| shadow curse = [[File:Shadow Curse.png|18x18px|link=]]


  <!--Debuffs-->
  <!--Debuffs-->
Line 79: Line 81:
  <!--Invalid-->
  <!--Invalid-->
  | #default = �
  | #default = �
}}</includeonly></onlyinclude>
}}</includeonly></onlyinclude><!--
 
--------------------------------------------------
<span style="font-size:125%;">⚠️For missing icons, this template currently uses emojis as <u>placeholders</u>, until someone uploads the actual icons from the game.</span><br>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).
📝Documentation:
 
--------------------------------------------------
This template is a shorthand to display an icon from the game.<br>
-->This template is a shorthand to display an icon from the game.<br>
Syntax is '''<nowiki>{{icon|name}}</nowiki>''', where "name" is one of the following:
Syntax is '''<nowiki>{{icon|name}}</nowiki>''', where "name" is one of the following:


Line 205: Line 207:
|-
|-
| dash recovery || {{icon|dash recovery}}
| dash recovery || {{icon|dash recovery}}
|-
| shadow curse || {{icon|shadow curse}}
|-
|-
!colspan="2"| Debuffs
!colspan="2"| Debuffs

Revision as of 01:42, 3 February 2025

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
shadow curse
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.)