Template:Price/doc

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...

Star Coin icon.png 100

{{Price|50|moonstone}}

{{Price|30|pixartoken}}

results in...

Moonstone icon.png 50

Pixar Token icon.png 30

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
Star Coin icon.png
moonstone Moonstone icon.png
dreamlight Dreamlight.png
pixartoken Pixar Token icon.png
villaintoken Villains Token.png
festivetoken Festive Token.png
centennialtoken Centennial Token.png