Warning
This is an unofficial archive of PsychonautWiki as of 2025-08-08T03:33:20Z. Content on this page may be outdated, incomplete, or inaccurate. Please refer to the original page for the most up-to-date information.

Template:Localized link

From PsychonautWiki Archive
Revision as of 10:45, 28 July 2014 by iw>Kaganer (update from wikidata)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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

Documentation icon Documentationviewedithistory⧼Code-rev-purge-link⧽

This documentation is transcluded from Template:Localized link/doc.

Shortcut:


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
{{Localized link|Commons:Welcome}} Commons:Welcome
{{Localized link|Commons:Welcome|关于}} 关于

See also