Difference between revisions of "Template:Localized link"

ucfirst pagename
>Ciencia Al Poder
(Well... this didn't work actually, mw was smarter than me :( return the hidden span)
>Shirayuki
(ucfirst pagename)
Line 1: Line 1:
{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
   |<b>
   |<b>
}}[[Special:MyLanguage/{{{1}}}|{{{2|{{#ifexist:Translations:{{{1}}}/Page display title/en
}}[[Special:MyLanguage/{{{1}}}|{{{2|{{#ifexist:Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page display title/en
   |{{#if:{{{nsp|}}}
   |{{#if:{{{nsp|}}}
     |{{PAGENAME:{{ {{TNTN|Translations:{{{1}}}/Page_display_title}} }} }}
     |{{PAGENAME:{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }} }}
     |{{ {{TNTN|Translations:{{{1}}}/Page_display_title}} }}
     |{{ {{TNTN|Translations:{{#if:{{NAMESPACE:{{{1}}}}}|{{NAMESPACE:{{{1}}}}}:}}{{PAGENAME:{{{1}}}}}/Page_display_title}} }}
   }}|{{#if:{{{nsp|}}}
   }}|{{#if:{{{nsp|}}}
     |{{PAGENAME:{{{1}}}}}
     |{{PAGENAME:{{{1}}}}}
Anonymous user