Difference between revisions of "Template:Formatnum"

From Kerbal Space Program Wiki
Jump to: navigation, search
m (+French;)
m (+references;)
Line 26: Line 26:
 
{{ParameterRow|2|Number of decimal places|0}}
 
{{ParameterRow|2|Number of decimal places|0}}
 
|}
 
|}
 +
 +
== See also ==
 +
* {{Tl|Formatnum/Core}} gets called by this but is without the <span> tag. Useful for usage in tooltips.
 +
* {{Tl|Formatnum/SortCell}} automatically adds the <tt>data-sort-value</tt> and then calls this template
  
 
[[Category:Templates|Formatnum]]</noinclude>
 
[[Category:Templates|Formatnum]]</noinclude>

Revision as of 08:46, 3 September 2013

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

Language code Decimal separator Thousand separater
de , &thinsp;
en .
fr ,

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

See also

  • {{Formatnum/Core}} gets called by this but is without the <span> tag. Useful for usage in tooltips.
  • {{Formatnum/SortCell}} automatically adds the data-sort-value and then calls this template