User:Llamageddon/ItemIcon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>{{trim|
<includeonly>{{trim|
{{#vardefine: rrty | {{{1}}} }}
{{#vardefine: rare | {{{1}}} }}
{{#vardefine: exlk | {{{2}}} }}
{{#vardefine: exlk | {{{2}}} }}
{{#vardefine: text | {{{3 | {{{2}}} }}} }}
{{#vardefine: text | {{{3 | {{{2}}} }}} }}
{{#vardefine: co-x | {{{4 |}}} }}
{{#vardefine: co-x | {{{4 |}}} }}
{{#vardefine: co-y | {{{5 |}}} }}
{{#vardefine: co-y | {{{5 |}}} }}
}}<span class="bg3wiki-div-border bg3wiki-icon-colour-{{#if: {{{rarity|}}} | {{#replace: {{{rarity}}} | <nowiki> </nowiki> | }} | common}}">{{icon | {{{#var:exlk}}}_Item_Icon.png | link = {{#var:exlk}} | caption = {{#var:text}} | 25px }}</span>&nbsp;[[{{#var:exlk}}|{{#var:text}}]]&nbsp;<span class="bg3wiki-coordinates">X:&nbsp;{{#var:co-x}}&nbsp;Y:&nbsp;{{#var:co-y}}</span></includeonly>
}}<span class="bg3wiki-div-border bg3wiki-icon-colour-{{#var:rare}}>"{{icon | {{#var:exlk}}_Item_Icon.png | link = {{#var:exlk}} | caption = {{#var:text}} | 25px }}</span>&nbsp;[[{{#var:exlk}}|{{#var:text}}]]&nbsp;<span class="bg3wiki-coordinates">X:&nbsp;{{#var:co-x}}&nbsp;Y:&nbsp;{{#var:co-y}}</span></includeonly>

Revision as of 04:45, 2 September 2023