Template:Lang links/doc
More actions
Shows which language versions of a page exist. Only the first 345 subpages are evaluated.
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:No source since}} → English
Compare:
{{Special:PrefixIndex/Template:No source since/}} →
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.
Usage
{{Lang links |1= }}
This template must not be used on templates to avoid hitting the "expensive parser function" or the "LUA execution time" limit on pages with other expensive templates. If your template needs language links, create a /lang subpage, transclude it to the template and regularly update it using {{subst:lle}}. Never use this template directly or indirectly transuded through a template on file pages.
Template:Ll will generate the same results but must be substituted.
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | Page name of the page that's subpages provide the translation | {{NAMESPACE}}:{{BASEPAGENAME}} | optional | |
suppressaddlink | allows to remove the +/- -link | empty | optional | |
Additional information
The template is intended to be used in the following namespaces: the Template namespace
The template is intended to be used by the following user groups: all users
Relies on:
Module:Languages, Module:Languages/List, Module:Page
Localization
This template is not intended to be localized.