Template:Price/doc
< Template:Price
Jump to navigation
Jump to search
Revision as of 17:16, 7 June 2023 by Marblemadmax (talk | contribs)
Description
This template is used to insert a currency icon in-line with text.
In addition to star coins, it supports displaying premium and event currency as well.
Usage
This template can be used by entering the following onto a relevant page.
{{Price|''amount''}}
By default star coins are displayed, to use an another currency type add the appropriate name.
{{Price|''amount''|''currency''}}
Examples
{{Price|100}}
results in...
{{Price|50|moonstone}} {{Price|30|pixartoken}}
results in...
Amount
This parameter is the amount of currency displayed after the icon
Currency
This parameter accepts different currency types, and will default to Star Coin if there is no value added.
Event currency parameters will automatically link the generated image to the corresponding event article.
Input | Output |
---|---|
moonstone | |
dreamlight | |
energy | |
pixartoken | |
villaintoken | |
festivetoken | |
centennialtoken | |
parkstoken | |
wonderpixartoken |