<translate> {{<tvar name=1>PLURAL:2</tvar>|shortcut|shortcuts}}:</translate> {{ll}} {{LL}}

Template:Localized link: Difference between revisions

From Campaigns
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:
   |</b>
   |</b>
}}}}<includeonly>{{#if:{{{iw|}}}||<span style="display:none">[[:{{{1}}}| ]]</span>}}</includeonly></onlyinclude>
}}}}<includeonly>{{#if:{{{iw|}}}||<span style="display:none">[[:{{{1}}}| ]]</span>}}</includeonly></onlyinclude>
{{Documentation|{{Sandbox other|Template:Localized link/sandbox/doc}}}}
{{Documentation}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->

Latest revision as of 12:05, 10 December 2021

[[:{{{1}}}|{{{1}}}]]

Template documentation
<noinlcude></noinclude>

Link to translatable page in the user’s language. It uses the special page prefix “Special:MyLanguage/”.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Page name1

Linked page

Page namerequired
Displayed text2

Display text for this link

Linesuggested
Display the namespacensp

If “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.

Auto value
0
Stringoptional

[[Category:Internationalization templates{{#translation:}}]] [[Category:Internal link templates{{#translation:}}]]