Template:Mw-langlink: Difference between revisions

From Deadlock Wiki
Jump to navigation Jump to search
Mgpt (talk | contribs)
Created page with "{{#switch:{{NAMESPACE}} <!-- Whitelisting certain namespaces --> | Talk | Template | Category | Update | blank | none | {{ns:0}} = {{#switch:{{{en|}}} | true = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{KSPROOTPAGE}}|{{NAMESPACE}}:{{GOAROOTPAGE}}}} | #default = {{#switch:{{NAMESPACE}} | {{ns:0}} = {{#ifexist:{{GOAROOTPAGE}}/{{{1|}}}|{{GOAROOTPAGE}}/{{{1|}}}|-}} | #default = {{#ifexist:{{NAMESPACE}}:{{GOAROOTPAGE}}/{{{1|}}}|{{NAMESPACE}}:{{GOAROOTPAGE}}/{{{1|}}}|-}}..."
 
Mgpt (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{#switch:{{NAMESPACE}} <!-- Whitelisting certain namespaces -->
{{#switch:{{NAMESPACE}} <!-- Whitelisting certain namespaces -->
| Talk
| Talk
| Template
| Template
| Category
| Category
| Update
| Update
| blank
| blank
| none
| none
| {{ns:0}} = {{#switch:{{{en|}}}
| {{ns:0}} = {{#ifexist:{{#ifeq:{{NAMESPACE}}|{{ns:0}}||{{NAMESPACE}}:}}{{{{if lang|non-en=BASE}}PAGENAME}}{{#if:{{{en|}}}||/{{{1|}}}}}
  | true = {{#ifeq:{{NAMESPACE}}|{{ns:0}}|{{KSPROOTPAGE}}|{{NAMESPACE}}:{{GOAROOTPAGE}}}}
|{{#ifeq:{{NAMESPACE}}|{{ns:0}}||{{NAMESPACE}}:}}{{{{if lang|non-en=BASE}}PAGENAME}}{{#if:{{{en|}}}||/{{{1|}}}}}|-}} <!--End #ifexist -->
  | #default = {{#switch:{{NAMESPACE}}
  | #default = -
    | {{ns:0}} = {{#ifexist:{{GOAROOTPAGE}}/{{{1|}}}|{{GOAROOTPAGE}}/{{{1|}}}|-}}
}}
    | #default = {{#ifexist:{{NAMESPACE}}:{{GOAROOTPAGE}}/{{{1|}}}|{{NAMESPACE}}:{{GOAROOTPAGE}}/{{{1|}}}|-}}
    }}
  }}
  | #default = -}}

Revision as of 20:00, 6 October 2024

-