Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Price: Difference between revisions

Template page
Content deleted Content added
No edit summary
No edit summary
Line 9: Line 9:
}}
}}
|}}<span>{{{1}}}</span></div><templatestyles src="Template:Price/styles.css" /></includeonly>
|}}<span>{{{1}}}</span></div><templatestyles src="Template:Price/styles.css" /></includeonly>
<noinclude>

===Template:Price===
'''Parameters:''' ''Amount'', ''Currency'', ''Icon size''

'''Amount:''' Must be entered.
<br>'''Currency:''' Optional. (Default value: 'RaiderCredits')
<br> '''Icon size:''' Optional. (Default value: '22px')

===Example===
<div style="width:min-content">
<pre>{{Price|2,400}}
{{Price|2,400|RaiderCredits|iconsize=28px}}
{{Price|70|Cred|iconsize=32px}}
{{Price|250|Token|iconsize=36px}}
{{Price|1|Augment|iconsize=64px}}
{{Price|10|Assorted Seeds}}
</pre></div>
Output:
{{Price|1,100}}
{{Price|2,400|RaiderCredits|iconsize=48px}}
{{Price|70|Cred}}
{{Price|250|Token|iconsize=64px}}
{{Price|1|Augment|iconsize=20px}}
{{Price|10|Assorted Seeds}}
[[Category:Formatting templates]]</noinclude>

Revision as of 19:07, 26 October 2025