Template:CRT shortcut/mainlink

From Wikimedia Commons, the free media repository
Jump to navigation Jump to search
Template documentationview · edit · history · purge ]

Render the target "See also pagename" for a CRT shortcut

Usage

{{CRT shortcut/mainlink |1= }}

Returns the translated page if it exists, the English version if not. For example, {{CRT shortcut/mainlink|Commons:Currency}} would render Commons:Currency/fr if invoked on a French language page, but would render Commons:Currency if invoked on a page in a language for which there is no translation of Commons:Currency.

Template parameters

ParameterDescriptionDefaultStatus
1page nameemptyrequired

Additional information

The template is intended to be used in the following namespaces: the Commons namespace

The template is intended to be used by the following user groups: all users

Localization

This template is not intended to be localized.