Difference between revisions of "Template:Formatnum"
From Kerbal Space Program Wiki
(Created page with "<includeonly>{{#formatnum:{{{1}}}|{{{2|0}}}|{{lang|en=.|de=,}}|{{lang|en= }}}}</includeonly><noinclude>An language specific to the w:mw:Extension:FormatNum|FormatNum e...") |
|||
Line 1: | Line 1: | ||
− | <includeonly>{{#formatnum:{{{1}}}|{{{2|0}}}|{{lang|en=.|de=,}}|{{lang|en= | + | <includeonly><span style="white-space:nowrap;">{{#formatnum:{{{1}}}|{{{2|0}}}|{{lang|en=.|de=,}}|{{lang|en=t}}}}</span></includeonly><noinclude>An language specific to the [[w:mw:Extension:FormatNum|FormatNum extension]]. Following values for the languages are used: |
{| class="wikitable mw-datatable" | {| class="wikitable mw-datatable" | ||
! Language code | ! Language code | ||
Line 7: | Line 7: | ||
| en | | en | ||
| . | | . | ||
− | | rowspan="2" valign="top" | [[w:Thin space|& | + | | rowspan="2" valign="top" | [[w:Thin space|&thinsp;]] |
|- | |- | ||
| de | | de | ||
Line 13: | Line 13: | ||
|} | |} | ||
− | According to [[w:ISO_31-0#Numbers|ISO 31-0]] (and in German also [[w:de:DIN 1333|DIN 1333]], [[w:de:DIN 5008|5008]]) a space should be used as a thousand separator to avoid confusion with the decimal separator. This templates uses the Unicode | + | According to [[w:ISO_31-0#Numbers|ISO 31-0]] (and in German also [[w:de:DIN 1333|DIN 1333]], [[w:de:DIN 5008|5008]]) a space should be used as a thousand separator to avoid confusion with the decimal separator. This templates uses the Unicode 8201<sub>10</sub> (or 2009<sub>16</sub>) which is a thin space. |
== Parameters == | == Parameters == |
Revision as of 12:23, 6 April 2013
An language specific to the FormatNum extension. Following values for the languages are used:
Language code | Decimal separator | Thousand separater |
---|---|---|
en | . |   |
de | , |
According to ISO 31-0 (and in German also DIN 1333, 5008) a space should be used as a thousand separator to avoid confusion with the decimal separator. This templates uses the Unicode 820110 (or 200916) which is a thin space.
Parameters
# | Optional | Description |
---|