Template:Tlu: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>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)
meta>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}}}

Revision as of 00:44, 26 April 2009

{{Tlu}}