Template:Item icon/Family: Difference between revisions

From Baldur's Gate 3 Wiki
Jump to navigation Jump to search
(Created)
 
(add some examples)
Line 3: Line 3:
== [[Template:ItemIcon]] ==
== [[Template:ItemIcon]] ==
The base '''ItemIcon''' with all functionality.
The base '''ItemIcon''' with all functionality.
{{ItemIcon|name=Potion of Superior Healing}}


== [[Template:SmItemIcon]] ==
== [[Template:SmItemIcon]] ==
A version of '''ItemIcon''' that always has a image height of 25px and links the item.
A version of '''ItemIcon''' that always has a image height of 25px and links the item.
{{SmItemIcon|Potion of Superior Healing}}


== [[Template:MdItemIcon]] ==
== [[Template:MdItemIcon]] ==
A version of '''ItemIcon''' that always has a image height of 30px and links the item.
A version of '''ItemIcon''' that always has a image height of 30px and links the item.
{{MdItemIcon|Potion of Superior Healing}}


== [[Template:ItemIcon Insert]] ==
== [[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 {{SmItemIcon|Food Supply Table 4}}.
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 {{SmItemIcon|Food Supply Table 4}}.

Revision as of 09:59, 9 September 2023

This page describes ItemIcon-like templates.

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.

Potion of Superior Healing

Template:MdItemIcon

A version of ItemIcon that always has a image height of 30px and links the item.

Potion of Superior Healing

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.