Template:Localized link
Appearance
[[Special:MyLanguage/{{{1}}}|{{{1}}}]]
Purpose
[edit]This template can be used to link to translatable pages in the user's language. It uses the special page Special:MyLanguage, which checks if there is a translated version of a page in the user's language, and links to it if there is one, and links to the English version if there isn't.
It should be used in translated pages, so that they link to the right page even if there is no translated page in that language.
Usage
[edit]It is used in the same way normal wikilinks are used: One parameter to use the same link text as the page name, two parameters for different page name and link text.
Examples
[edit]Use | Becomes |
---|---|
{{ll|Meta:About}} | Meta:About |
{{ll|Meta:About|关于}} | 关于 |
See also
[edit]- Template:Localized link/messagedoc – should be used for message documentation in translatable pages that use this template.