Template:Price format

From the Portal Wiki
Jump to navigation Jump to search
The template above may be partially or fully invisible or glitched due to the respected strings aren't entered.
This is normal.

Documentation for Price format

Template to format prices in multiple currencies inline.

To display item prices for the Mann Co. Store, see {{item price}}. Price values themselves are stored in {{Dictionary/price}}. To edit currency names (e.g. 'United States dollars'), see Template:Dictionary/common strings#currency.

Usage

Please do not use this template for items. Use {{item price|batter's helmet}} instead. This allows prices to be kept up-to-date.

  • {{price format|usd=4.99}} produces $4.99
  • {{price format|usd=4.99|gbp=7.99|eur=7.99|rub=400}} produces $4.99 / £7.99 / 7.99 / 400 rub