Template:FormatnumSigns

From Wikimedia Commons, the free media repository
Jump to: navigation, search
Documentation icon Documentation[view] [edit] [history] [purge]

This documentation is transcluded from Template:FormatnumSigns/doc.

Helper template that provides information about the local formatting of numbers to {{Formatnum}}. See Decimal_point for more details.
Decimal marks:
Full Stop "." — Blue
Comma "," — Green
Eastern Arabic numerals — Red
Data unavailable — Grey

Usage

{{FormatnumSigns |1= |2= }}

Template parameters

Parameter Description Default Status
1 value to be retrieved:
  • ',' for the thousands separator
  • '.' for the decimal separator
  • 'sp' for the thousands separator pattern
empty required
2 language code (only needs to be provided if the language shall be fixed and independant from the user's preferences) value of {{int:Lang}} optional

Additional information

The template is intended to be used in the following namespaces: the Template namespace

The template is intended to be used by the following user groups: all users

Localization

To add your language to the list of languages supported by this template, please edit the template and add a row to the "{{LangSwitch|}}" construct. It takes the form "|xx= Your translation " (xx being the code of your language)