Template:Trader gold row/Icon: Difference between revisions

From bg3.wiki
Jump to navigation Jump to search
(created)
 
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><onlyinclude>{{#ifexpr:{{{1}}} = 1|Gold Pile Single Item Image.png}}{{
Deprecated.
#ifexpr:{{{1}}} > 1 and {{{1}}} < 100|Gold Pile Small Item Image.png}}{{
#ifexpr:100 <= {{{1}}} and {{{1}}} < 500|Gold Pile Medium Item Image.png}}{{
#ifexpr:{{{1}}} >= 500|Gold Pile Large Item Image.png}}</onlyinclude></includeonly>
 
Returns the appropriate gold icon file name (without namespace) for given amount of gold.
 
{| class="wikitable"
! Amount !! Result
|-
| 1 || {{TraderGoldRow/Icon|1}}
|-
| 2 - 99 || {{TraderGoldRow/Icon|2}}
|-
| 100 - 499 || {{TraderGoldRow/Icon|100}}
|-
| 500+ || {{TraderGoldRow/Icon|500}}
|}

Latest revision as of 16:24, 18 October 2023

Deprecated.