Template:Icon: Difference between revisions
Jump to navigation
Jump to search
m Improved robustness. |
Added documentation (and a few spelling variants). |
||
| Line 1: | Line 1: | ||
<onlyinclude><includeonly>{{#switch:{{lc: {{{1}}} }} | <onlyinclude><includeonly>{{#switch:{{lc: {{{1}}} }} | ||
<!--⚠️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.⚠️--> | |||
<!--Attributes--> | <!--Attributes--> | ||
| str|strength = 💪 | | str|strength = 💪 | ||
| Line 10: | Line 11: | ||
<!--Points--> | <!--Points--> | ||
| attribute|attribute point = 🔶 | | attribute|attribute point = 🔶 | ||
| star|skill point = ⭐ | | star|skill|skill point = ⭐ | ||
<!--Stats--> | <!--Stats--> | ||
| Line 22: | Line 23: | ||
| lightning resist|lightning resistance = 🟣 | | lightning resist|lightning resistance = 🟣 | ||
| poison resist|poison resistance = 🟢 | | poison resist|poison resistance = 🟢 | ||
| movement speed = 🏃 | | movement speed|move speed = 🏃 | ||
| evade = 👥 | | evade = 👥 | ||
| parry = ⚔️ | | parry = ⚔️ | ||
| experience = ➕ | | xp|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|armor pen = 🛡️💔 | ||
| fire penetration = 🟠💔 | | fire penetration|fire pen = 🟠💔 | ||
| ice penetration = 🔵💔 | | ice penetration|ice pen = 🔵💔 | ||
| lightning penetration = 🟣💔 | | lightning penetration|lightning pen = 🟣💔 | ||
| poison penetration = 🟢💔 | | poison penetration|poison pen = 🟢💔 | ||
| physical damage = 🗡️ | | physical damage = 🗡️ | ||
| fire damage = 🔥 | | fire damage = 🔥 | ||
| Line 62: | Line 63: | ||
}}</includeonly></onlyinclude> | }}</includeonly></onlyinclude> | ||
⚠️This template currently uses emojis as <u>placeholders</u>, until someone uploads the actual icons from the game. | <span style="font-size:125%;">⚠️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). | ||
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: | ||
{| class="wikitable" style="text-align:center; line-height:1;" | |||
|- | |||
!colspan="2"| Attributes | |||
|- | |||
! Name !! Icon | |||
|- | |||
| str(ength) || {{icon|str}} | |||
|- | |||
| dex(terity) || {{icon|dex}} | |||
|- | |||
| int(elligence) || {{icon|int}} | |||
|- | |||
| foc(us) || {{icon|foc}} | |||
|- | |||
| vit(ality) || {{icon|vit}} | |||
|- | |||
!colspan="2"| Points | |||
|- | |||
! Name !! Icon | |||
|- | |||
| attribute (point) || {{icon|attribute}} | |||
|- | |||
| star, skill (point) || {{icon|star}} | |||
|- | |||
!colspan="2"| Stats | |||
|- | |||
! Name !! Icon | |||
|- | |||
| health/hp || {{icon|health}} | |||
|- | |||
| health/hp regen(eration) || {{icon|health regen}} | |||
|- | |||
| mana/mp || {{icon|mana}} | |||
|- | |||
| mana/mp regen(eration) || {{icon|mana regen}} | |||
|- | |||
| armor || {{icon|armor}} | |||
|- | |||
| fire resist(ance) || {{icon|fire resist}} | |||
|- | |||
| ice resist(ance) || {{icon|ice resist}} | |||
|- | |||
| lightning resist(ance) || {{icon|lightning resist}} | |||
|- | |||
| poison resist(ance) || {{icon|poison resist}} | |||
|- | |||
| move(ment) speed || {{icon|move speed}} | |||
|- | |||
| evade || {{icon|evade}} | |||
|- | |||
| parry || {{icon|parry}} | |||
|- | |||
| xp, experience || {{icon|xp}} | |||
|- | |||
| weapon power || {{icon|weapon power}} | |||
|- | |||
| spell power || {{icon|spell power}} | |||
|- | |||
| weapon speed || {{icon|weapon speed}} | |||
|- | |||
| weapon crit chance || {{icon|weapon crit chance}} | |||
|- | |||
| weapon crit damage || {{icon|weapon crit damage}} | |||
|- | |||
| cast speed || {{icon|cast speed}} | |||
|- | |||
| spell crit chance || {{icon|spell crit chance}} | |||
|- | |||
| spell crit damage || {{icon|spell crit damage}} | |||
|- | |||
| armor pen(etration) || {{icon|armor penetration}} | |||
|- | |||
| fire pen(etration)|| {{icon|fire penetration}} | |||
|- | |||
| ice pen(etration)|| {{icon|ice penetration}} | |||
|- | |||
| lightning pen(etration)|| {{icon|lightning penetration}} | |||
|- | |||
| poison pen(etration)|| {{icon|poison penetration}} | |||
|- | |||
| physical damage || {{icon|physical damage}} | |||
|- | |||
| fire damage || {{icon|fire damage}} | |||
|- | |||
| ice damage || {{icon|ice damage}} | |||
|- | |||
| lighting damage || {{icon|lighting damage}} | |||
|- | |||
| poison damage || {{icon|poison damage}} | |||
|- | |||
!colspan="2"| Resources | |||
|- | |||
! Name !! Icon | |||
|- | |||
| gold || {{icon|gold}} | |||
|- | |||
| wood || {{icon|wood}} | |||
|- | |||
| stone || {{icon|stone}} | |||
|- | |||
| iron || {{icon|iron}} | |||
|- | |||
| crystal(s) || {{icon|crystal}} | |||
|- | |||
| dust || {{icon|dust}} | |||
|- | |||
| fragment(s) || {{icon|fragment}} | |||
|- | |||
!colspan="2"| Misc | |||
|- | |||
! Name !! Icon | |||
|- | |||
| potion (charge) || {{icon|potion}} | |||
|- | |||
| dash (charge) || {{icon|dash}} | |||
|- | |||
!colspan="2"| Debuffs | |||
|- | |||
! Name !! Icon | |||
|- | |||
|colspan="2"| TBA | |||
|} | |||
<small>(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”.)<br> | |||
(The template can handle all variations of lower/upper cases; you can spell “Strength”, “strength”, “STRENGTH”, “sTReNgTH”, they all work.)</small> | |||
Revision as of 00:41, 26 January 2025
⚠️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 | 👥 |
| parry | ⚔️ |
| xp, experience | ➕ |
| weapon power | 🗡️💥 |
| spell power | 🪄💥 |
| weapon speed | 🗡️⏩ |
| weapon crit chance | 🗡️🎯% |
| weapon crit damage | 🗡️🎯+ |
| cast speed | 🪄⏩ |
| 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 | ❄️ |
| lighting damage | ⚡ |
| poison damage | ☣️ |
| Resources | |
| Name | Icon |
| gold | 💰 |
| wood | 🪵 |
| stone | 🪨 |
| iron | ▰ |
| crystal(s) | 💠 |
| dust | 🔺 |
| fragment(s) | 🍪 |
| Misc | |
| Name | Icon |
| potion (charge) | ⚗️ |
| dash (charge) | 🔋 |
| Debuffs | |
| Name | Icon |
| TBA | |
(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.)