Difference between revisions of "Template:Localized link"

From BTAWiki
Jump to navigation Jump to search
(A smarter way to track the link without using {{#ifexist:}}, which is totally unnecessary. Just put the link always, inside a template argument that never produces output. It was causing the expensive pf count on Manual:Configuration settings to be exceeded (865/500!!))
(Well... this didn't work actually, mw was smarter than me :( return the hidden span)
Line 11: Line 11:
 
}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
 
}}}}}]]{{#ifeq:{{FULLPAGENAME:{{{1}}}}}|{{FULLPAGENAME:{{translatable}}}}<!--self link (including translation pages)-->
 
   |</b>
 
   |</b>
}}{{ns:0|[[:{{{1}}}]]<!-- T63547 -->}}<noinclude>
+
}}<span style="display:none">[[:{{{1}}}| ]]</span><!-- T63547 --><noinclude>
 
{{ {{TNTN|documentation}} }}
 
{{ {{TNTN|documentation}} }}
 
</noinclude>
 
</noinclude>

Revision as of 11:30, 28 October 2018

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