Template:Lang links/doc

From AerialWiki
Jump to navigation Jump to search

This template shows which language versions of a page exist (based on the naming scheme ../xx, with xx the language code), and provides links to them. For example:

{{lang links|Template:Creator}}English | +/-

This should not be used in really heavily used templates to avoid hitting the "expensive parser function" limit on pages with other expensive templates. If the template/page is not transcluded much or it's used in cases where it's the only template on a page, then the parser function calls shouldn't be an issue. See also the substituted versions Template:Ll and Template:Lle of this template.

Compare:

{{Special:PrefixIndex/Template:Creator/}}

which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout. Also it takes more space. Another difference is that the language code is shown, rather than the local name.

This template takes one optional parameter (suppressaddlink) that allows to remove the +/- -link.


Azərbaycanca: Bu şablon yeni tərcümələri avtomatik əlavə edir.

Deutsch: Diese Vorlage fügt neue Übersetzungen automatisch hinzu.

Español: Esta plantilla añade automáticamente nuevas traducciones. No debe ser usada para reemplazar páginas /lang creadas manualmente. A veces es bueno tener algunos vínculos en rojo pues esto anima a realizar nuevas traducciones.

Français : Ce modèle ajoute automatiquement de nouvelles traductions. Il ne devrait cependant pas être utilisé pour remplacer des pages de type /lang créées manuellement. Parfois il peut être intéressant de disposer de quelques liens rouges, car cela encourage à créer de nouvelles traductions.

Ქართული: ეს თარგი ავტომატურად ამატებს ახალ თარგმანებს.

Русский: Этот шаблон добавляет новые переводы автоматически.
Zazaki: Na şablon açarnayışanê newe otomatikmene dekena de.