Template:Mw-langlink: Difference between revisions
Jump to navigation
Jump to search
(Putting back broken version, for tests.) |
m (That's the fix.) |
||
Line 8: | Line 8: | ||
| {{ns:0}} = {{#switch:{{{en|}}} | | {{ns:0}} = {{#switch:{{{en|}}} | ||
| true = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}}}} | | true = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}}}} | ||
| #default = {{switch:{{SUBPAGENAME}} | | #default = {{#switch:{{SUBPAGENAME}} | ||
|#default = {{#switch:{{NAMESPACE}} | |#default = {{#switch:{{NAMESPACE}} | ||
| {{ns:0}} = {{#ifexist:{{PAGENAME}}/{{{1|}}}|{{PAGENAME}}/{{{1|}}}|-}} | | {{ns:0}} = {{#ifexist:{{PAGENAME}}/{{{1|}}}|{{PAGENAME}}/{{{1|}}}|-}} |