Difference between revisions of "Template:Market"

From Idlescape Wiki
Jump to navigation Jump to search
m (Added cat)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<includeonly><span class="plainlinks">{{#invoke:Market|_price}}</span></includeonly><noinclude>{{/doc}}[[Category:Template]]</noinclude>
+
<includeonly>{{#invoke:Market|price}}</includeonly><noinclude>{{/doc}}[[Category:Template]]</noinclude>

Latest revision as of 10:17, 13 February 2022

Returns the daily (hopefully) market price.

{{market|itemName|multiplier(Optional)|separator(Optional)|league(Optional)}}

itemName - Name of the item. Letter case does not matter.
multiplier - Price for multiple items. Default is 1.
separator - Adds ',' as thousands separators. Use 1 to enable.
league - 1 for main, 8 for season 2 (Magic Catastrophe). Default is 1.

Examples

{{market|stone}}

320

{{market|stone|10}}

3200

{{market|shard of kalanahmatti|1|1}}

99,999,999

{{market|basic runic dust|1|1|1}}

1,951

{{market|basic runic dust|1|1|8}}

30,000