Template:Item icon/Family: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(add some examples)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This page describes ItemIcon-like templates.
<includeonly>''Transcluded from [[Template:ItemIcon/Family]].''</includeonly>


== [[Template:ItemIcon]] ==
=== [[Template:ItemIcon]] ===
The base '''ItemIcon''' with all functionality.
The base '''ItemIcon''' with all functionality.


{{ItemIcon|name=Potion of Superior Healing}}
{{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}}
{{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}}
{{MdItemIcon|Potion of Superior Healing}}


== [[Template:ItemIcon Insert]] ==
=== [[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]] ===
A version of '''ItemIcon''' that displays the rarity colors and links the item. Defaults to 25px but can be adjusted.
 
{{RarityItem|The Joltshooter}}
-------
=== [[Template:SmRarityItem]] ===
A version of '''RarityItem''' that defaults to 20px instead of 25. For use in running texts.
 
{{SmRarityItem|The Joltshooter}}
 
=== [[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.
 
{{MdRarityItem|The Joltshooter}}
 
=== [[Template:LgRarityItem]] ===
A version of '''RarityItem''' that defaults to 40px instead of 25. For use on various list pages.
 
{{LgRarityItem|The Joltshooter}}
-------
=== [[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}}.

Latest revision as of 18:03, 26 June 2024


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:LgItemIcon

A version of ItemIcon that always has an image height of 40px and links the item.

Potion of Supreme Healing


Template:RarityItem

A version of ItemIcon that displays the rarity colors and links the item. Defaults to 25px but can be adjusted.

The Joltshooter


Template:SmRarityItem

A version of RarityItem that defaults to 20px instead of 25. For use in running texts.

The Joltshooter

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.

The Joltshooter

Template:LgRarityItem

A version of RarityItem that defaults to 40px instead of 25. For use on various list pages.

The Joltshooter


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.