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-->" |
-/- |
||
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--> |