Template:ItemIcon Internal/Debug: Difference between revisions
Jump to navigation
Jump to search
(try add replace back in) |
(Remove replace again) |
||
Line 1: | Line 1: | ||
<includeonly><onlyinclude>{{#lvardef:is_missing | <includeonly><onlyinclude>{{#lvardef:is_missing | ||
|{{#expr: {{#if:{{{missing|}}}|1|0}} or {{#if:{{{1|}}}|0|1}} }} | |{{#expr: {{#if:{{{missing|}}}|1|0}} or {{#if:{{{1|}}}|0|1}} }} | ||
}}<span {{#if:{{{4|}}}|class="bg3wiki-itemicon bg3wiki-itemicon- | }}<span {{#if:{{{4|}}}|class="bg3wiki-itemicon bg3wiki-itemicon-{{{3}}}" {{#ifexpr:{{#lvar:is_missing}}|style="width: {{{2}}}px; height: {{{2}}}px; display: inline-block; overflow: hidden; vertical-align: middle;"}}>{{Icon | ||
|{{#if:{{{1|}}}|{{{1}}}|{{{5|}}} Item Icon.png}} | |{{#if:{{{1|}}}|{{{1}}}|{{{5|}}} Item Icon.png}} | ||
|{{{2}}} | |{{{2}}} |
Revision as of 16:04, 17 September 2023
filename. Item icon name
2. Icon size
rarity. Item rarity
4. Whether to show rarity
5. Where to link to
missing: If specified will use missing css
Debug
Debug version.