Template:Category handler

From Expertiza_Wiki
Jump to navigation Jump to search

{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   Template:Basepage subpage
 | only = 
   Template:Basepage subpage
 }}

| |

 {{#switch:
   {{#ifeq:  | false
   |   
   | {{#ifeq:  | yes
     |   
     | {{#ifeq:  | yes
       |   
       | {{#if:x   

|


     {{#if:{{#titleparts:{{#if:|  | Template:Category handler }}|0|2}}
     | 
        
          
            
              
                
                       
                 
               
             
           
         
       
     | 
             
       
     }}   
   
 

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |              h0#384!5nea+w9             
   | 
     {{#invoke:Namespace detect|main}}
   | 
     {{#iferror: {{#expr: 1 + {{#invoke:Namespace detect|main}} }} 

| {{#invoke:Namespace detect|main}} | }}

   }}
 }}

}} Template:Documentation