Template:SC: Difference between revisions

From Melvor Idle
m (Allow template to be invoked with no parameter)
(Use Currency function from Module:Icons)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
A template for quickly inserting Slayer Coin costs. For example, <nowiki>{{SC|5000}}</nowiki> becomes {{SC|5000}}.
<includeonly><onlyinclude>{{#invoke:Icons|Currency|SC|{{{1|}}}|{{{2|}}}}}</onlyinclude></includeonly><noinclude>{{/doc}}</noinclude>
 
 
<includeonly><onlyinclude><span style="display:inline-block">[[File:Slayer Coins.svg|23x23px|link=Currency]]&nbsp;{{formatnum:{{{1|}}}}}</span></onlyinclude></includeonly>

Latest revision as of 13:02, 26 April 2024

A template for quickly inserting Slayer Coin costs. For example, {{SC|5000}} becomes 5,000SC.