Template:Category other: Difference between revisions
Jump to navigation
Jump to search
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: | {{#switch:{{#if:{{{demospace|}}}|{{lc:{{{demospace|}}}}}|{{#ifeq:{{NAMESPACE}}|{{ns:Category}}|category}}<!--If no demospace then detect namespace-->}}|category={{{1|}}}|#default={{{2|}}}}} | ||
| | |||
| #default = {{{2|}}} | |||
}} |