Difference between revisions of "Template:DS"

From Kerbal Space Program Wiki
Jump to: navigation, search
(*try to minimize expansion depth;)
 
(languages added)
Line 1: Line 1:
<includeonly>{{lang|en=.|fr=,|de=,|force={{{1|}}}}}</includeonly><noinclude>Returns the '''d'''ecimal '''s'''eparator for a given language. Accepts one parameter with an enforced language code. Usually used in {{Tl|Formatnum}} or together with <nowiki>{{#formatnum:}}</nowiki>: <code><nowiki>{{#formatnum:NUMBER|#DECIMAL PLACES|{{DS}}|t}}</nowiki></code>
+
<includeonly>{{lang|en=.|fr=,|de=,|hu=,|ru=,|es=,|it=,|pl=,|pt=,|sv=,|da=,|nl=,|tr=,|cs=,|no=,|force={{{1|}}}}}</includeonly><noinclude>Returns the '''d'''ecimal '''s'''eparator for a given language. Accepts one parameter with an enforced language code. Usually used in {{Tl|Formatnum}} or together with <nowiki>{{#formatnum:}}</nowiki>: <code><nowiki>{{#formatnum:NUMBER|#DECIMAL PLACES|{{DS}}|t}}</nowiki></code>
  
 
{| class="wikitable"
 
{| class="wikitable"
 
! .
 
! .
| English (en, default)
+
| English (en, default), {{#language:hr|en}} (hr, {{#language:hr}}), {{#language:ja|en}} (ja, {{#language:ja}}), {{#language:zh|en}} (zh, {{#language:zh}})
 
|-
 
|-
 
! ,
 
! ,
| {{#language:de|en}} (de, {{#language:de}}), {{#language:fr|en}} (fr, {{#language:fr}})
+
| {{#language:de|en}} (de, {{#language:de}}), {{#language:fr|en}} (fr, {{#language:fr}}), {{#language:hu|en}} (hu, {{#language:hu}}), {{#language:ru|en}} (ru, {{#language:ru}}), {{#language:es|en}} (es, {{#language:es}}), {{#language:it|en}} (it, {{#language:it}}), {{#language:pl|en}} (pl, {{#language:pl}}), {{#language:pt|en}} (pt, {{#language:pt}}), {{#language:sv|en}} (sv, {{#language:sv}}), {{#language:da|en}} (da, {{#language:da}}), {{#language:nl|en}} (nl, {{#language:nl}}), {{#language:tr|en}} (tr, {{#language:tr}}), {{#language:cs|en}} (cs, {{#language:cs}}), {{#language:no|en}} (no, {{#language:no}})
 
|}
 
|}
  
 
[[Category:Templates]]</noinclude>
 
[[Category:Templates]]</noinclude>

Revision as of 18:25, 12 July 2014

Returns the decimal separator for a given language. Accepts one parameter with an enforced language code. Usually used in {{Formatnum}} or together with {{#formatnum:}}: {{#formatnum:NUMBER|#DECIMAL PLACES|{{DS}}|t}}

. English (en, default), Croatian (hr, hrvatski), Japanese (ja, 日本語), Chinese (zh, 中文)
, German (de, Deutsch), French (fr, français), Hungarian (hu, magyar), Russian (ru, русский), Spanish (es, español), Italian (it, italiano), Polish (pl, polski), Portuguese (pt, português), Swedish (sv, svenska), Danish (da, dansk), Dutch (nl, Nederlands), Turkish (tr, Türkçe), Czech (cs, čeština), Norwegian (bokmål) (no, norsk bokmål)