Difference between revisions of "Template:Market/doc"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
− | Returns the daily (hopefully) market price | + | Returns the daily (hopefully) market price. |
− | :<code><nowiki>{{market|itemName|multiplier(Optional)}}</nowiki></code> | + | :<code><nowiki>{{market|itemName|multiplier(Optional)|separator(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. | ||
==Examples== | ==Examples== | ||
− | + | {{T|market|stone}} | |
:{{market|stone}} | :{{market|stone}} | ||
− | + | {{T|market|stone|10}} | |
:{{market|stone|10}} | :{{market|stone|10}} | ||
+ | |||
+ | {{T|market|kalanahmatti|1|1}} | ||
+ | :{{market|kalanahmatti|1|1}} |
Revision as of 12:12, 10 February 2022
Returns the daily (hopefully) market price.
{{market|itemName|multiplier(Optional)|separator(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.
Examples
{{market|stone}}
- 320
{{market|stone|10}}
- 3200
{{market|kalanahmatti|1|1}}
- 4,000,000