Template:Localized link: Difference between revisions
Jump to navigation
Jump to search
m 1 revision imported |
mNo edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<onlyinclude>{{#if:{{{iw|}}}||<!-- | <onlyinclude>{{#if:{{{iw|}}}||<!-- | ||
-->{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME | -->{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME}} | ||
|<b> | |<b> | ||
}}}}[[:{{#if:{{{iw|}}}|{{{iw}}}:}} | }}}}[[:{{#if:{{{iw|}}}|{{{iw}}}:}}{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{iw|}}} | ||
<!--interwiki link, output as is--> | <!--interwiki link, output as is--> | ||
|{{#if:{{yesno|{{{nsp|1}}}}} | |{{#if:{{yesno|{{{nsp|1}}}}} | ||
Line 8: | Line 8: | ||
|{{PAGENAME:{{{1}}}}} | |{{PAGENAME:{{{1}}}}} | ||
}} | }} | ||
|{{#if:{{{nsp|}}} | |||
|{{PAGENAME:{{{1}}}}} | |{{PAGENAME:{{{1}}}}} | ||
|{{{1}}} | |{{{1}}} | ||
}}}}}}]]{{#if:{{{iw|}}}| | }}}}}}]]{{#if:{{{iw|}}}| | ||
|{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME | |{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME}} | ||
|</b> | |</b> | ||
}}}}<includeonly>{{#if:{{{iw|}}}||<span style="display:none">[[:{{{1}}}| ]]</span | }}}}<includeonly>{{#if:{{{iw|}}}||<span style="display:none">[[:{{{1}}}| ]]</span>}}</includeonly></onlyinclude> | ||
{{Documentation | {{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}}}]]
<noinlcude>
</noinclude>
This is a documentation subpage for Template:Localized link. It contains usage information, categories and other content that is not part of the original Template page. |
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 “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 |
[[Category:Internationalization templates{{#translation:}}]] [[Category:Internal link templates{{#translation:}}]]