Template:FormatnumDigit/doc

From Wikimedia Commons, the free media repository
Jump to: navigation, search

Helper template that helps {{Formatnum}} to translate Western numbers into local format

Usage

{{FormatnumDigit |1= |2= }}

Template parameters

Parameter Description Default Status
1 Western digit to be transformed in local numeral 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

Relies on:
{{#time}}

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)

Examples

See Template:FormatnumDigit/testcases.