Ad placeholder

Template:Trader gold row: Difference between revisions

Jump to navigation Jump to search
Fix calculations.
(Use DropTableGold)
(Fix calculations.)
Line 1: Line 1:
<includeonly><onlyinclude>{{DropTableGold|lower={{StoreTraderGold|{{{lower}}}|{{{wealth}}} }}|upper={{StoreTraderGold|{{{upper}}}|{{{wealth}}} }}|note={{#tag:ref|Gold for a {{{wealth}}} trader from levels {{{lower}}} to {{{upper}}}|name={{{wealth}}}_{{{lower}}}_{{{upper}}} }} }}</onlyinclude></includeonly><noinclude>
<includeonly><onlyinclude>{{DropTableGold|lower={{StoreTraderGold|{{{lower}}}|{{{wealth}}} }}|upper={{StoreTraderGold|{{{upper}}}|{{{wealth}}}|upper=true }}|note={{#tag:ref|Gold for a {{{wealth}}} trader from levels {{{lower}}} to {{{upper}}}|name={{{wealth}}}_{{{lower}}}_{{{upper}}} }} }}</onlyinclude></includeonly><noinclude>


This template is used to display the amount of gold a trader has. The level range can be adjusted to show a more realistic range of gold, such as limiting it to level 9+ for Baldur's Gate merchants.
This template is used to display the amount of gold a trader has. The level range can be adjusted to show a more realistic range of gold, such as limiting it to level 9+ for Baldur's Gate merchants.
Line 6: Line 6:


<pre>{{TraderGoldRow
<pre>{{TraderGoldRow
|wealth=the trader wealth type (one of poor, modest, normal, wealthy, extremelyrich
|wealth=the trader wealth type (one of poor, modest, normal, wealthy, extremelyrich)
|lower=the lower bound's level
|lower=the lower bound's level
|upper=the upper bound's level
|upper=the upper bound's level

Navigation menu