Template:Price

From Starmancer Wiki
Revision as of 12:41, 15 January 2021 by Katzeus (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Description

This template is used to insert File:Money Icon.png in-line with text before the amount.

Usage

This template can be used by entering the following onto a relevant page.

{{Price|''amount''}}

This template uses Money Icon.png by default. To use different in-game currencies, add the appropriate name.

{{Price|''amount''|''currency''}}

Sample

{{Price|2000}}

results in...

Money Icon.png 2,000

{{Price|2}}k

{{Price|2|Upgrade}}

{{Price|20|DNA}} 

results in...

Money Icon.png 2k

Upgrade Module Icon.png 2

DNA Fragment Icon.png 20

Amount

This parameter accepts the amount of currency.

Currency

This parameter accepts different currency types, but without input will simply output Zipher (money).

Input Output
Money Icon.png
Upgrade Upgrade Module Icon.png
DNA DNA Fragment Icon.png