Template:Languages: Difference between revisions
(Template:TplExample -> Template:Tc) |
(description translated) |
||
Line 16: | Line 16: | ||
</ul></div><nowiki/></includeonly><noinclude> | </ul></div><nowiki/></includeonly><noinclude> | ||
{{Documentation}} | {{Documentation}} | ||
Default template to link to articles which are translations of the same page into other languages. | |||
It is used on plugin pages named <tt>Plugin:PluginName</tt>. Translated articles are located at <tt>Plugin:PluginName\en</tt> for English, <tt>Plugin:PluginName\de</tt> for German and so on. | |||
== Usage == | |||
If an article should have a different title in any language, you need to specify it manually when calling the template: | |||
{{Tc|Languages|2=en=Article name|3=ru=Имя статьи|4=de=Artikelname|5=fr=Nom de l'article}} | |||
<!-- | |||
Дефолтный шаблон для расстановки языков статьи. | |||
Применяется для статей плагинов <tt>Plugin:PluginName</tt>. Переводы на соответствующие языки располагаются по адресам <tt>Plugin:PluginName\en</tt> для английского языка и <tt>Plugin:PluginName\de</tt> для немецкого. | |||
== Usage == | |||
Если на разных языках статьи должны называться по-разному, необходимо вручную прописать соответствия при вызове шаблона. | Если на разных языках статьи должны называться по-разному, необходимо вручную прописать соответствия при вызове шаблона. | ||
{{Tc|Languages|2=en=Article name|3=ru=Имя статьи|4=de=Artikelname|5=fr=Nom de l'article}} | {{Tc|Languages|2=en=Article name|3=ru=Имя статьи|4=de=Artikelname|5=fr=Nom de l'article}} | ||
--> | |||
[[Category:i18n]] | [[Category:i18n]] | ||
</noinclude> | </noinclude> |
Revision as of 14:49, 7 December 2015
![]() | This template's documentation is missing or does not accurately describe its functionality or the parameters in its code. Please help improve it. |
Default template to link to articles which are translations of the same page into other languages.
It is used on plugin pages named Plugin:PluginName. Translated articles are located at Plugin:PluginName\en for English, Plugin:PluginName\de for German and so on.
Usage
If an article should have a different title in any language, you need to specify it manually when calling the template:
{{Languages|en=Article name|ru=Имя статьи|de=Artikelname|fr=Nom de l'article}}
The above documentation is transcluded from Template:Languages/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
Default template to link to articles which are translations of the same page into other languages.
It is used on plugin pages named Plugin:PluginName. Translated articles are located at Plugin:PluginName\en for English, Plugin:PluginName\de for German and so on.
Usage
If an article should have a different title in any language, you need to specify it manually when calling the template:
{{Languages|en=Article name|ru=Имя статьи|de=Artikelname|fr=Nom de l'article}}