Jump to content
Toggle menu
  • 8 articles
  • 75 files
  • 7 users
  • 37.8K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Lang links/doc: Difference between revisions

Template page
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: {{xpdoc|lang links|Template:Creator
Compare: {{xpdoc|Special:PrefixIndex/Template:Creator/}} which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout.
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}


{{en|1=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:
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:


{{xpdoc|lang links|Template:Creator}}
{{xpdoc|lang links|Template:Creator}}


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 the [[Template:Ll|subst version]] of this template for more info.}}
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 the [[Template:Ll|subst version]] of this template for more info.
 
Compare:
 
{{xpdoc|Special:PrefixIndex/Template:Creator/}}
 
which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout.


----
----

Revision as of 10:48, 4 October 2010

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 the subst version of this template for more info.

Compare:

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

which does not distinguish between a postfix for a language and other postfixes such as /doc and /layout.


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

Template:Es


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.

Русский: Этот шаблон добавляет новые переводы автоматически.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.