Difference between revisions of "Template:Market"
Jump to navigation
Jump to search
(Created market price template) |
m (Added cat) |
||
Line 1: | Line 1: | ||
− | <includeonly><span class="plainlinks">{{#invoke:Market|_price}}</span></includeonly><noinclude>{{/doc}}</noinclude> | + | <includeonly><span class="plainlinks">{{#invoke:Market|_price}}</span></includeonly><noinclude>{{/doc}}[[Category:Template]]</noinclude> |
Revision as of 10:40, 10 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}}
- Lua error in Module:Market at line 43: bad argument #1 to 'lower' (string expected, got nil).
{{market|stone|10}}
- Lua error in Module:Market at line 43: bad argument #1 to 'lower' (string expected, got nil).
{{market|shard of kalanahmatti|1|1}}
- Lua error in Module:Market at line 43: bad argument #1 to 'lower' (string expected, got nil).
{{market|basic runic dust|1|1|1}}
- Lua error in Module:Market at line 43: bad argument #1 to 'lower' (string expected, got nil).
{{market|basic runic dust|1|1|8}}
- Lua error in Module:Market at line 43: bad argument #1 to 'lower' (string expected, got nil).