Template:ItemIcon Internal/Debug: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(no default?)
(no spaces?)
Line 1: Line 1:
<includeonly><onlyinclude>{{{3}}}{{#lvardef:rarity|{{#switch:{{{3}}}
<includeonly><onlyinclude>{{{3}}}{{#lvardef:rarity|{{#switch:{{{3}}}
|very rare = very-rare
|very rare=very-rare
|{{{3}}}
|{{{3}}}
}} }}{{#lvardef:is_missing
}} }}{{#lvardef:is_missing

Revision as of 16:20, 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