Template:Category other: Difference between revisions
Jump to navigation
Jump to search
Content deleted Content added
Created page with "{{#switch: <!--If no or empty "demospace" parameter then detect namespace--> {{#if:{{{demospace|}}} | {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> | {{#ifeq:{{NAMESPACE}}|{{ns:Template}} | template | other }} }} | template = {{{1|}}} | other | #default = {{{2|}}} }}<!--End switch-->" |
m 1 revision imported: may be useful |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{#switch:{{#if:{{{demospace|}}}|{{lc:{{{demospace|}}}}}|{{#ifeq:{{NAMESPACE}}|{{ns:Category}}|category}}<!--If no demospace then detect namespace-->}}|category={{{1|}}}|#default={{{2|}}}}} |
|||
{{#switch: |
|||
<!--If no or empty "demospace" parameter then detect namespace--> |
|||
{{#if:{{{demospace|}}} |
|||
| {{lc: {{{demospace}}} }} <!--Use lower case "demospace"--> |
|||
| {{#ifeq:{{NAMESPACE}}|{{ns:Template}} |
|||
| template |
|||
| other |
|||
}} |
|||
}} |
|||
| template = {{{1|}}} |
|||
| other |
|||
| #default = {{{2|}}} |
|||
}}<!--End switch--> |