Template:Enlink

From Bonkipedia
Revision as of 19:11, 12 September 2020 by [[mw:]]>Tacsipacsi (Undid revision 4098674 by Baris6161TURK (talk): I don’t know how unused that thing is (at least there’s a link to it at the bottom of this page), but inverting the #ifexist (making the “else” branch the “if” branch) doesn’t seem right to me)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation

Purpose

This template is deprecated: use Special:MyLanguage instead.

This template is mainly used in hook-related pages.

If the translation page doesn't exist, generates a link to the corresponding English page.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
base page name1

The title of the English page

Page namerequired

Mainly-useful for navigation templates. e.g. Template:Databases/ja

Example

Use Special:MyLanguage instead of using this template:

  • [[Special:MyLanguage/MediaWiki 1.22|MediaWiki 1.22]]

MediaWiki 1.22

If you really need to link a specific language code and the translation page doesn't exist:

  • [[MediaWiki 1.22/qqq]]{{enlink|MediaWiki 1.22}}

MediaWiki 1.22/qqq /en

See also

...

Maintenance: List1