Template:Localized link/sandbox
Appearance
[[Special:MyLanguage/{{{1}}}|{{{1}}}]]
This is the template sandbox page for Template:Localized link (diff). See also the companion subpage for test cases. |
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Localized link
Link to translatable page in the user’s language. It uses the special page prefix “Special:MyLanguage/”.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Page name | 1 | Linked page | Page name | required |
Displayed text | 2 | Display text for this link | Line | suggested |
Display the namespace | nsp | If the “nsp” parameter is not defined, as link text displays the full pagename (including namespace); otherwise — if “nsp” parameter is defined by any value — link text displays the short pagename, without namespace.
| String | optional |