Template:Tlu: Difference between revisions

4 bytes added ,  25 April 2009
Fixed a bug related to testing in User-space rather than in template space.
w:en>Willscrlt
({{tl|tlx}} does not support namespaces other than 'Template', and this only supports 3 parameters an no subst. I copied/pasted Tlx's code here, removed Template namespace, added FULLPAGENAME default (except in Template ns))
w:en>Willscrlt
(Fixed a bug related to testing in User-space rather than in template space.)
Line 1: Line 1:
<span style="font-family:monospace;"><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}[[{{{LANG|}}}{{{SISTER|}}}{{{1|{{FULLPAGENAME}}}}}|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:User}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}]]<!--
<span style="font-family:monospace;"><nowiki>{{</nowiki>{{#if:{{{subst|}}}|[[Help:Substitution|subst]]:}}[[{{{LANG|}}}{{{SISTER|}}}{{{1|{{FULLPAGENAME}}}}}|{{{1|{{#ifeq:{{NAMESPACE}}|{{ns:Template}}|{{PAGENAME}}|{{FULLPAGENAME}}}}}}}]]<!--
-->{{#if:{{{2|}}}|
-->{{#if:{{{2|}}}|
&#124;{{{2}}}
&#124;{{{2}}}
Anonymous user