Jump to content
Toggle menu
  • 3 articles
  • 75 files
  • 7 users
  • 37.9K edits
Neodyland Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Localized link/sandbox: Difference between revisions

Template page
Create sandbox version of {{localized link}}
 
Line 1: Line 1:
<noinclude>{{heavily used template}}</noinclude>[[Special:MyLanguage/{{{1}}}|{{{2|{{#ifexist:Translations:{{{1}}}/Page display title/{{int:lang}}|{{Translations:{{{1}}}/Page display title/{{int:lang}}}}|{{{1}}}}}}}}]]<noinclude>
<onlyinclude>{{#if:{{{iw|}}}||<!--
{{documentation}}
-->{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
</noinclude>
  |<b>
}}}}[[:{{#if:{{{iw|}}}|{{{iw}}}:}}Special:MyLanguage/{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{#if:{{{iw|}}}
  <!--interwiki link, output as is-->
  |{{#if:{{yesno|{{{nsp|1}}}}}
    |{{{iw}}}:{{{1}}}
    |{{PAGENAME:{{{1}}}}}
  }}
|{{#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}}}
  }}
}}}}}}]]{{#if:{{{iw|}}}|
|{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
  |</b>
}}}}<includeonly>{{#if:{{{iw|}}}||<span style="display:none">[[:{{{1}}}| ]]</span><!-- T63547 -->}}</includeonly></onlyinclude>
{{Documentation|Template:Localized link/doc}}
<!-- Add categories to the /doc subpage and interwikis in Wikidata, not here! -->
Cookies help us deliver our services. By using our services, you agree to our use of cookies.