Template:Icon: Difference between revisions
Jump to navigation
Jump to search
Added Potion (game icon). |
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| | | dash|dash charge = [[File:Dash Charge.png|22x14px|link=]] | ||
| dash recovery = [[File:Dash | | 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><!-- | ||
-------------------------------------------------- | |||
📝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:
(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.)