Difference between revisions of "Template:Localized link"
Jump to navigation
Jump to search
m (Protected "Template:Localized link": Highly visible template ([Edit=Allow only autoconfirmed users] (indefinite) [Move=Allow only autoconfirmed users] (indefinite))) |
m (27 revisions imported) |
||
(25 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | [[Special:MyLanguage/{{{1}}}|{{{2|{{{1}}}}}}]]<noinclude> | + | {{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)--> |
− | {{documentation}} | + | |<b> |
+ | }}[[Special:MyLanguage/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{2|{{#ifexist:Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page display title/{{pagelang2}}<!--if the source page, pagelang2 returns en--> | ||
+ | |{{#if:{{{nsp|}}} | ||
+ | |{{PAGENAME:{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }} }} | ||
+ | |{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }} | ||
+ | }} | ||
+ | <!--if the translation page does not exist (or called from the source page), output as is--> | ||
+ | |{{#if:{{{nsp|}}} | ||
+ | |{{PAGENAME:{{{1}}}}} | ||
+ | |{{{1}}} | ||
+ | }} | ||
+ | }}}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)--> | ||
+ | |</b> | ||
+ | }}<span style="display:none">[[:{{{1}}}| ]]</span><!-- T63547 --><noinclude> | ||
+ | {{ {{TNTN|documentation}} }} | ||
</noinclude> | </noinclude> |
Latest revision as of 02:07, 13 November 2020
[[Special:MyLanguage/{{{1}}}|{{{1}}}]]Template:TNTN }}
{{