Template:Category other: Difference between revisions

From Test Wiki
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-->

Revision as of 18:38, 6 June 2024