Difference between revisions of "Template:Translate"
Jump to navigation
Jump to search
old>Realpsojed |
old>Realpsojed |
||
Line 10: | Line 10: | ||
|ValuableNames = {{CZ ValuableNames|{{{1}}}}} | |ValuableNames = {{CZ ValuableNames|{{{1}}}}} | ||
|ValuableDescriptions = {{CZ ValuableDescriptions|{{{1}}}}} | |ValuableDescriptions = {{CZ ValuableDescriptions|{{{1}}}}} | ||
|Treatises = {{CZ Treatises|{{{1}}}}} | |||
|#default = Chybí překlad}} | |#default = Chybí překlad}} | ||
|ru = {{#switch: {{{2}}} | |ru = {{#switch: {{{2}}} | ||
Line 21: | Line 22: | ||
|ValuableNames = {{RU ValuableNames|{{{1}}}}} | |ValuableNames = {{RU ValuableNames|{{{1}}}}} | ||
|ValuableDescriptions = {{RU ValuableDescriptions|{{{1}}}}} | |ValuableDescriptions = {{RU ValuableDescriptions|{{{1}}}}} | ||
|Treatises = {{RU Treatises|{{{1}}}}} | |||
|#default = Нет перевода}} | |#default = Нет перевода}} | ||
|#default = {{{1}}}}}</includeonly><noinclude>{{Doc}}[[Category:Language templates]]</noinclude> | |#default = {{{1}}}}}</includeonly><noinclude>{{Doc}}[[Category:Language templates]]</noinclude> |
Revision as of 15:23, 9 October 2020
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.