Template:Localized link

From Meta, a Wikimedia project coordination wiki
Jump to: navigation, search

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

Template documentation[view] [edit] [page history] [purge]


Purpose

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

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

Use Becomes
{{ll|Meta:About}} Meta:About
{{ll|Meta:About|关于}} 关于

See also