Template:Icon: Difference between revisions

From Heroes of Hammerwatch Wiki
Jump to navigation Jump to search
Xhamon (talk | contribs)
Added icons (placeholders) for potion and dash charges. Improved weapon/cast speed.
Xhamon (talk | contribs)
m Improved robustness.
Line 1: Line 1:
<onlyinclude><includeonly>{{#switch:{{ucfirst: {{{1}}} }}
<onlyinclude><includeonly>{{#switch:{{lc: {{{1}}} }}
<!--⚠️Icon names in the code below must be entirely in lowercase.⚠️-->
  <!--Attributes-->
  <!--Attributes-->
  | Str|Strength = 💪
  | str|strength = 💪
  | Dex|Dexterity = 🖐️
  | dex|dexterity = 🖐️
  | Int|Intelligence = 🧠
  | int|intelligence = 🧠
  | Foc|Focus = 🧿
  | foc|focus = 🧿
  | Vit|Vitality = 🦺
  | vit|vitality = 🦺


  <!--Points-->
  <!--Points-->
  | Attribute|Attribute Point = 🔶
  | attribute|attribute point = 🔶
  | Star|Skill Point = ⭐
  | star|skill point = ⭐


  <!--Stats-->
  <!--Stats-->
  | Health|HP = ❤️
  | health|hp = ❤️
  | Health Regen|Health Regeneration|HP Regen|HP Regeneration = ❤️↑
  | health regen|health regeneration|hp regen|hp regeneration = ❤️↑
  | Mana|MP = 🔷
  | mana|mp = 🔷
  | Mana Regen|Mana Regeneration|MP Regen|MP Regeneration = 🔷↑
  | mana regen|mana regeneration|mp regen|mp regeneration = 🔷↑
  | Armor = 🛡️
  | armor = 🛡️
  | Fire Resist|Fire Resistance = 🟠
  | fire resist|fire resistance = 🟠
  | Ice Resist|Ice Resistance = 🔵
  | ice resist|ice resistance = 🔵
  | Lightning Resist|Lightning Resistance = 🟣
  | lightning resist|lightning resistance = 🟣
  | Poison Resist|Poison Resistance = 🟢
  | poison resist|poison resistance = 🟢
  | Movement Speed = 🏃
  | movement speed = 🏃
  | Evade = 👥
  | evade = 👥
  | Parry = ⚔️
  | parry = ⚔️
  | Experience = ➕
  | experience = ➕
  | Weapon Power = 🗡️💥
  | weapon power = 🗡️💥
  | Spell Power = 🪄💥
  | spell power = 🪄💥
  | Weapon Speed = 🗡️⏩
  | weapon speed = 🗡️⏩
  | Weapon Crit Chance = 🗡️🎯%
  | weapon crit chance = 🗡️🎯%
  | Weapon Crit Damage = 🗡️🎯➕
  | weapon crit damage = 🗡️🎯➕
  | Cast Speed = 🪄⏩
  | cast speed = 🪄⏩
  | Spell Crit Chance = 🪄🎯%
  | spell crit chance = 🪄🎯%
  | Spell Crit Damage = 🪄🎯➕
  | spell crit damage = 🪄🎯➕
  | Armor Penetration = 🛡️💔
  | armor penetration = 🛡️💔
  | Fire Penetration = 🟠💔
  | fire penetration = 🟠💔
  | Ice Penetration = 🔵💔
  | ice penetration = 🔵💔
  | Lightning Penetration = 🟣💔
  | lightning penetration = 🟣💔
  | Poison Penetration = 🟢💔
  | poison penetration = 🟢💔
  | Physical Damage = 🗡️
  | physical damage = 🗡️
  | Fire Damage = 🔥
  | fire damage = 🔥
  | Ice Damage = ❄️
  | ice damage = ❄️
  | Lighting Damage = ⚡
  | lighting damage = ⚡
  | Poison Damage = ☣️
  | poison damage = ☣️


  <!--Resources-->
  <!--Resources-->
  | Gold = 💰
  | gold = 💰
  | Wood = 🪵
  | wood = 🪵
  | Stone = 🪨
  | stone = 🪨
  | Iron = ▰
  | iron = ▰
  | Crystals|Crystal = 💠
  | crystals|crystal = 💠
  | Dust = 🔺
  | dust = 🔺
  | Fragments|Fragment = 🍪
  | fragments|fragment = 🍪


  <!--Misc-->
  <!--Misc-->
  | Potion|Potion Charge = ⚗️
  | potion|potion charge = ⚗️
  | Dash|Dash Charge = 🔋
  | dash|dash charge = 🔋


  <!--Invalid-->
  <!--Invalid-->

Revision as of 23:41, 25 January 2025


⚠️This template currently uses emojis as placeholders, until someone uploads the actual icons from the game.

This template is a shorthand to display an icon from the game.
Syntax is {{icon|name}}, where "name" is one of the following: [TODO:Add a fancy table. (For the meantime, look at the source code.)]

Example: {{icon|str}} will produce 💪.