Difference between revisions of "Template:Formatnum"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (*use Formatnum/Core;)
Line 1: Line 1:
<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:
+
<includeonly><span style="white-space:nowrap;">{{Formatnum/Core|{{{1}}}|{{{2|0}}}}}</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

Revision as of 13:49, 13 April 2013

An language specific to the FormatNum extension. Following values for the languages are used:

Language code Decimal separator Thousand separater
en . &thinsp;
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

Template:ParameterRow Template:ParameterRow