Template documentation
This documentation is transcluded from Template:,/doc. [edit] [history] [purge]

The , template is a special template used to remove "group separator" commas from numbers that are used in expressions to prevent an expression error from occurring:

Expression error: Unrecognised punctuation character ","


This template is used in Template:ExchangeItem to remove commas that users might have been included in Exchange prices.

Usage

  • {{,|number}}
  • {{,|expression}}

Template data

Show/hide template's data

The following information is used by extensions and applications, such as VisualEditor, to help users implement this template onto pages. Please ensure that it is up-to-date.

The , template is a special template used to remove "group separator" commas from numbers that are used in expressions to prevent an expression error from occurring: Expression error: Unrecognised punctuation character ","

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Number or expression1

The number or expression to remove commas from

Example
1,000
Stringoptional