Template:Price format

From Team Fortress Wiki
Jump to: navigation, search

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|cad=6.59|gbp=7.99|eur=7.99|rub=400}} produces $4.99 / CAD$6.59 / £7.99 / 7.99 / 400 rub