Difference between revisions of "Template:Localized link"

From BTAWiki
Jump to navigation Jump to search
m (style)
(bold text on self links (including translation pages))
Line 1: Line 1:
[[Special:MyLanguage/{{{1}}}|{{{2|{{#ifexist:Translations:{{{1}}}/Page display title/en
+
{{#ifeq:{{{1}}}|{{translatable}}<!--self link (including translation pages)-->
 +
  |<b>
 +
}}[[Special:MyLanguage/{{{1}}}|{{{2|{{#ifexist:Translations:{{{1}}}/Page display title/en
 
   |{{#if:{{{nsp|}}}
 
   |{{#if:{{{nsp|}}}
 
     |{{PAGENAME:{{ {{TNTN|Translations:{{{1}}}/Page_display_title}} }} }}
 
     |{{PAGENAME:{{ {{TNTN|Translations:{{{1}}}/Page_display_title}} }} }}
Line 7: Line 9:
 
     |{{{1}}}
 
     |{{{1}}}
 
   }}
 
   }}
}}}}}]]<span style="display:none">{{#ifexist:{{{1}}}|[[:{{{1}}}]]}}</span><noinclude>
+
}}}}}]]{{#ifeq:{{{1}}}|{{translatable}}<!--self link (including translation pages)-->
 +
  |</b>
 +
}}<span style="display:none">{{#ifexist:{{{1}}}|[[:{{{1}}}]]}}</span><noinclude>
 
{{ {{TNTN|documentation}} }}
 
{{ {{TNTN|documentation}} }}
 
</noinclude>
 
</noinclude>

Revision as of 13:59, 31 December 2016

[[Special:MyLanguage/{{{1}}}|{{{1}}}]] {{ Template:TNTN }}