Difference between revisions of "Template:Market/doc"
Jump to navigation
Jump to search
m |
m |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | Returns the daily (hopefully) market price. | + | Returns the daily (hopefully) market price. |
+ | :<code><nowiki>{{market|itemName|multiplier(Optional)|separator(Optional)|league(Optional)}}</nowiki></code> | ||
− | + | itemName - Name of the item. Letter case does not matter.<br> | |
− | + | multiplier - Price for multiple items. Default is 1.<br> | |
+ | separator - Adds ',' as thousands separators. Use 1 to enable.<br> | ||
+ | league - 1 for main, 5 for pre-season, 6 for season 1. Default is 1. | ||
==Examples== | ==Examples== | ||
− | + | {{T|market|stone}} | |
:{{market|stone}} | :{{market|stone}} | ||
− | + | {{T|market|stone|10}} | |
:{{market|stone|10}} | :{{market|stone|10}} | ||
+ | |||
+ | {{T|market|shard of kalanahmatti|1|1}} | ||
+ | :{{market|shard of kalanahmatti|1|1}} | ||
+ | |||
+ | {{T|market|basic runic dust|1|1|1}} | ||
+ | :{{market|basic runic dust|1|1|1}} | ||
+ | |||
+ | {{T|market|basic runic dust|1|1|6}} | ||
+ | :{{market|basic runic dust|1|1|6}} |
Latest revision as of 21:09, 29 October 2023
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, 5 for pre-season, 6 for season 1. Default is 1.
Examples[edit source]
{{market|stone}}
- 249
{{market|stone|10}}
- 2490
{{market|shard of kalanahmatti|1|1}}
- 25,000,000
{{market|basic runic dust|1|1|1}}
- 5,000,000
{{market|basic runic dust|1|1|6}}
- Lua error in Module:Market at line 14: attempt to index field '?' (a nil value).