Template:ApItemIcon Internal: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
<includeonly><onlyinclude>{{#lvardef:rarity|{{#replace:{{{3|}}}|<nowiki> </nowiki>|-}} }}<span {{#if:{{{4|}}}|class="bg3wiki-itemicon bg3wiki-itemicon-{{#lvar:rarity}}"}} {{#if:{{{missing|}}}|style="width: {{{2}}}px; height: {{{2}}}px; display: inline-block; overflow: hidden; vertical-align: middle;"}}>{{Icon
<includeonly><onlyinclude>{{#lvardef:rarity|{{#replace:{{{3|}}}|<nowiki> </nowiki>|-}} }}<span <!--{{#if:{{{4|}}}|class="bg3wiki-itemicon bg3wiki-itemicon-{{#lvar:rarity}}"}}--> {{#if:{{{missing|}}}|style="width: {{{2}}}px; height: {{{2}}}px; display: inline-block; overflow: hidden; vertical-align: middle;"}}>{{Icon
|{{{1}}}
|{{{1}}}
|{{{2}}}
|{{{2}}}
|link = {{{5|}}}
|link = {{{5|}}}
}}</span> <span class="bg3wiki-itemicon-link" style="margin-left: {{#lvar:margin}}rem">[[{{{5|}}}|{{RarityColor|{{#lvar:rarity}}|{{{5|}}}}}]]</span></onlyinclude></includeonly>
}}</span> <span class="bg3wiki-itemicon-link" style="margin-left: {{#lvar:margin}}rem">[[{{{5|}}}|{{RarityColor|{{#lvar:rarity}}|{{{5|}}}}}]]</span></onlyinclude></includeonly>

Latest revision as of 06:24, 11 September 2023