Template:Mw-langlink: Difference between revisions
Jump to navigation
Jump to search
m (Fixing "English" of a non-translation subpage linking to root page.) |
m (I had the #default and give the wrong result) |
||
Line 8: | Line 8: | ||
| {{ns:0}} = {{#switch:{{{en|}}} | | {{ns:0}} = {{#switch:{{{en|}}} | ||
| true = {{#switch:{{SUBPAGENAME}} | | true = {{#switch:{{SUBPAGENAME}} | ||
| #default = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{ | | #default = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{PAGENAME}}|{{NAMESPACE}}:{{PAGENAME}}}} | ||
| ar | | ar | ||
| cs | | cs | ||
Line 29: | Line 29: | ||
| sv | | sv | ||
| zh-hans | | zh-hans | ||
| zh-hant = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{ | | zh-hant = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}}}} | ||
}} | }} | ||
| #default = {{#switch:{{SUBPAGENAME}} | | #default = {{#switch:{{SUBPAGENAME}} |