Template:ItemIcon Internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
m fix
try missing css
Line 1: Line 1:
<includeonly><onlyinclude>{{#lvardef:rarity|{{#replace:{{{3|}}}|<nowiki> </nowiki>|-}} }}<span {{#if:{{{4|}}}|class="bg3wiki-itemicon bg3wiki-itemicon-{{#lvar:rarity}}"}}>{{#if: {{{1|}}}|{{Icon
<includeonly><onlyinclude>{{#lvardef:rarity|{{#replace:{{{3|}}}|<nowiki> </nowiki>|-}} }}<span {{#if:{{{4|}}}|class="bg3wiki-itemicon bg3wiki-itemicon-{{#lvar:rarity}}"}} {{#if:{{{missing|}}}|style="text-overflow:clip; display:inline-block; width:{{#lvar:size}}px;  height:{{#lvar:size}}px; overflow:hidden;}}>{{#if: {{{1|}}}|{{Icon
|{{{1}}}
|{{{1}}}
|{{{2}}}
|{{{2}}}
Line 13: Line 13:


5. Where to link to
5. Where to link to
missing: If specified will use missing css


Used by [[Template:ItemIcon]] to format cargo results.
Used by [[Template:ItemIcon]] to format cargo results.

Revision as of 03:22, 11 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 HealingPotion of Superior Healing Potion of Supreme HealingPotion of Supreme Healing