Difference between revisions of "Template:Translate"
Jump to navigation
Jump to search
m (11 revisions imported) |
(test for one template with translations) |
||
Line 23: | Line 23: | ||
|ValuableDescriptions = {{RU ValuableDescriptions|{{{1}}}}} | |ValuableDescriptions = {{RU ValuableDescriptions|{{{1}}}}} | ||
|Treatises = {{RU Treatises|{{{1}}}}} | |Treatises = {{RU Treatises|{{{1}}}}} | ||
|Translations-RU = {{Translations-RU|{{{1}}}}} | |||
|#default = Нет перевода}} | |#default = Нет перевода}} | ||
|zh = {{#switch: {{{2}}} | |zh = {{#switch: {{{2}}} |
Revision as of 15:10, 18 February 2022
Documentation
[purge]
This template checks if SUBPAGENAME is one of the languages. If match is found, the first parameter (some text) will be translated to the language of that subpage. The second parameter (for example ItemDescriptions) tells the template which dictionary to use.
See Category:Language_templates for a list of dictionaries for your language.
Used on Template:Properties and Template:Weapon.