Template:Languages: Difference between revisions

From Miranda NG
Jump to navigation Jump to search
(description translated)
(docs excluded)
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}}
-->
[[Category:i18n]]
</noinclude>
</noinclude>

Revision as of 22:43, 18 December 2015

Template documentation[view] [edit] [history] [purge]

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}}