Template:Page language link

From MediaWiki.org
(Redirected from Template:Pll)
Jump to navigation Jump to search

[[Special:MyLanguage/{{{1}}}|{{{1}}}]]

Template documentation

This template is intended for use on translatable pages. It adds a link that points to a translated page in the language that is the same as the language of the current page. If a translated page doesn't exist, it points to the page in the source language.

It is different from {{Localized link}} ({{Ll}}, which links to a page in the language defined in the user's preferences using Special:MyLanguage.

You can use the short form of this template "{{Pll}}".

Usage[edit]

{{Pll|target page|text}}

TemplateData[edit]

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Page language link

No description.

Template parameters

ParameterDescriptionTypeStatus
Target page1

The target page, without language suffix

Pagerequired
Text2

Optional text to show. If not given, the link target will be shown.

Linesuggested