Template:Market

From Idlescape Wiki
Revision as of 09:24, 10 February 2022 by Silent1 (talk | contribs) (Created market price template)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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).