Difference between revisions of "Template:Lang date"
m (→Usage) |
(Updated available languages) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{common string|month-{{lc:{{{1|january}}}}}|{{#if:{{{lang|{{{force|}}}}}}|lang|null}}={{{lang|{{{force|}}}}}}}}<noinclude> | {{common string|month-{{lc:{{{1|january}}}}}|{{#if:{{{lang|{{{force|}}}}}}|lang|null}}={{{lang|{{{force|}}}}}}}}<noinclude> | ||
− | {{translation switching| | + | {{translation switching|en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant}} |
{{doc begin}} | {{doc begin}} | ||
This template draws month names from [[Template:Dictionary/common_strings]]'s month names, based on the page language. | This template draws month names from [[Template:Dictionary/common_strings]]'s month names, based on the page language. | ||
=== Usage === | === Usage === | ||
* {{tlx|lang date|2}} generates {{lang date|2}} | * {{tlx|lang date|2}} generates {{lang date|2}} | ||
− | * {{tlx|lang date| | + | * {{tlx|lang date|2|3=force=ru}} generates {{lang date|2|force=ru}} |
[[Category:Language templates|Lang date]] | [[Category:Language templates|Lang date]] | ||
[[Category:Templates|Lang date]] | [[Category:Templates|Lang date]] | ||
</noinclude> | </noinclude> |
Latest revision as of 21:05, 20 June 2016
January
This template uses translation switching. The correct language will be displayed automatically. Localized versions of this template (e.g. Template:Lang date/ru) are not necessary. Add your translations directly to this template by editing it. Supported languages for this template: en, ar, cs, da, de, es, fi, fr, hu, it, ja, ko, nl, no, pl, pt, pt-br, ro, ru, sv, tr, zh-hans, zh-hant (add) |
Documentation for Lang date
This template draws month names from Template:Dictionary/common_strings's month names, based on the page language.