Template:Pc

From Terraria Wiki
Jump to navigation Jump to search
This template is i18n-ready, which means it is easy to localize for different languages. Please see I18n & l10n for templates to learn more.
Template-info.svg Documentation The documentation below is transcluded from Template:Pc/doc. (edit | history)

A minimalist helper template to quickly create a "pc" (Platinum Coin).

Standard Usage

{{pc}}
{{pc|t=10-30}} 10-30
{{pc|text=about 5|title=hover text}} about 5
{{pc|1}} 1 PC
{{pc|5}} 5 PC

Multiple coins

If you want to create a price with multiple type coins, please insert a single non-breaking space (   ) between each coin:

{{gc|5}} {{sc|50}} 5 GC 50 SC

Or, just use template:coin, which is optimized for multiple currencies.

Without a parameter

Using the template without any parameters will simply generate a Platinum Coin, without anything other text.

Render and link

  • The pc template will not generate a link, and will not be linkable (neither the text, nor the coin).
  • However, mousing over the template will create a hover text with the full English rendering, for readability:
Platinum Coin
1 PC 1 Platinum Coin
5 PC 5 Platinum Coins

See Also

Other templates for displaying formatted currency values: