Template:Mw-langlink: Difference between revisions
Jump to navigation
Jump to search
(Something really broke there.) |
m (I had the #default and give the wrong result) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 7: | Line 7: | ||
| none | | none | ||
| {{ns:0}} = {{#switch:{{{en|}}} | | {{ns:0}} = {{#switch:{{{en|}}} | ||
| true = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}}}} | | true = {{#switch:{{SUBPAGENAME}} | ||
| #default = {{#switch:{{NAMESPACE}} | | #default = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{PAGENAME}}|{{NAMESPACE}}:{{PAGENAME}}}} | ||
| {{ns:0}} = {{#ifexist:{{BASEPAGENAME}}/{{{1|}}}|{{BASEPAGENAME}}/{{{1|}}}|-}} | | ar | ||
| cs | |||
| da | |||
| de | |||
| es | |||
| fi | |||
| fr | |||
| hu | |||
| it | |||
| ja | |||
| ko | |||
| nl | |||
| no | |||
| pl | |||
| pt | |||
| pt-br | |||
| ro | |||
| ru | |||
| sv | |||
| zh-hans | |||
| zh-hant = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{BASEPAGENAME}}|{{NAMESPACE}}:{{BASEPAGENAME}}}} | |||
}} | |||
| #default = {{#switch:{{SUBPAGENAME}} | |||
|#default = {{#switch:{{NAMESPACE}} | |||
| {{ns:0}} = {{#ifexist:{{PAGENAME}}/{{{1|}}}|{{PAGENAME}}/{{{1|}}}|-}} | |||
| #default = {{#ifexist:{{NAMESPACE}}:{{PAGENAME}}/{{{1|}}}|{{NAMESPACE}}:{{PAGENAME}}/{{{1|}}}|-}} | |||
}} | |||
| ar | |||
| cs | |||
| da | |||
| de | |||
| es | |||
| fi | |||
| fr | |||
| hu | |||
| it | |||
| ja | |||
| ko | |||
| nl | |||
| no | |||
| pl | |||
| pt | |||
| pt-br | |||
| ro | |||
| ru | |||
| sv | |||
| zh-hans | |||
| zh-hant = {{#switch:{{NAMESPACE}} | |||
| {{ns:0}} = {{#ifexist:{{BASEPAGENAME}}/{{{1|}}}|{{BASEPAGENAME}}/{{{1|}}}|-}} | |||
| #default = {{#ifexist:{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1|}}}|{{NAMESPACE}}:{{BASEPAGENAME}}/{{{1|}}}|-}} | |||
}} | |||
}} | }} | ||
}} | }} |