Template:Item icon/Family: Difference between revisions
(add mdrarityitem) |
(add lgitemicon) |
||
Line 15: | Line 15: | ||
{{MdItemIcon|Potion of Superior Healing}} | {{MdItemIcon|Potion of Superior Healing}} | ||
=== [[Template:LgItemIcon]] === | |||
A version of '''ItemIcon''' that always has an image height of 40px and links the item. | |||
{{LgItemIcon|Potion of Supreme Healing}} | |||
=== [[Template:RarityItem]] === | === [[Template:RarityItem]] === | ||
Line 21: | Line 26: | ||
{{RarityItem|The Joltshooter}} | {{RarityItem|The Joltshooter}} | ||
== [[Template:MdRarityItem]] == | === [[Template:MdRarityItem]] === | ||
A version of '''RarityItem''' that defaults to 30px instead of 25. For use on [[Template:ActionPage]], which specifically needs to be passed a template name. | A version of '''RarityItem''' that defaults to 30px instead of 25. For use on [[Template:ActionPage]], which specifically needs to be passed a template name. | ||
Revision as of 03:37, 14 September 2023
Template:ItemIcon
The base ItemIcon with all functionality.
Template:SmItemIcon
A version of ItemIcon that always has a image height of 25px and links the item.
Template:MdItemIcon
A version of ItemIcon that always has a image height of 30px and links the item.
Template:LgItemIcon
A version of ItemIcon that always has an image height of 40px and links the item.
Template:RarityItem
A version of ItemIcon that displays the rarity colors and links the item. Defaults to 25px but can be adjusted.
Template:MdRarityItem
A version of RarityItem that defaults to 30px instead of 25. For use on Template:ActionPage, which specifically needs to be passed a template name.
Template:ItemIcon Insert
A utility template that inserts information into the "item_icon" table, which is where all information used to provide ItemIcon functionality is stored. This template should only need to be manually called for pages that are not items, but might want to have an icon associated with them, for example Food Supply Table 4.