Template:ItemIcon Internal/Debug: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(use a switch)
(regretting setting up warn if no summery)
Line 1: Line 1:
<includeonly><onlyinclude>{{#lvardef:rarity|{{#switch:{{{3|}}}
<includeonly><onlyinclude>{{{3}}}{{#lvardef:rarity|{{#switch:{{{3|}}}
|very rare = very-rare
|very rare = very-rare
|{{{3}}}
|{{{3}}}

Revision as of 16:19, 17 September 2023

1. Item icon name

2. Icon size

3. Item rarity

4. Whether to show rarity

5. Where to link to

missing: If specified will use missing css

Used by Template:ItemIcon to format cargo results.

Examples

Potion of Superior Healing Potion of Supreme Healing File:Missing Unfaded Icon.pngMissing File:Template:ItemIcon/Item Missing Images Unfaded Icon.pngTemplate:ItemIcon/Item Missing Images