Template:Tlu: Difference between revisions
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: | <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|}}}| | ||
|{{{2}}} | |{{{2}}} |