Difference between revisions of "Template:Market/doc"

From Idlescape Wiki
Jump to navigation Jump to search
(New doc)
 
m (Fix error)
 
(5 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>
  
To use this template
+
itemName - Name of the item. Letter case does not matter.<br>
:<code><nowiki>{{market|itemName|multiplier(Optional)}}</nowiki></code>
+
multiplier - Price for multiple items. Default is 1.<br>
 +
separator - Adds ',' as thousands separators. Use 1 to enable.<br>
 +
league - 1 for main, 8 for season 2 (Magic Catastrophe). Default is 1.
  
 
==Examples==
 
==Examples==
<code><nowiki>{{market|stone}}</nowiki></code>
+
{{T|market|stone}}
 
:{{market|stone}}
 
:{{market|stone}}
  
<code><nowiki>{{market|stone|10}}</nowiki></code>
+
{{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|8}}
 +
:{{market|basic runic dust|1|1|8}}

Latest revision as of 12:54, 28 May 2024

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