Template:Category redirect

From Embroidery Machine WIKI
Jump to navigation Jump to search
{{#ifeq:File:Redirect arrow.svg|none | | }} {{#if: |

}}

{{#switch:move

| | speedy | delete | content | style | move | protection | notice =

| #default =

This message box is using an invalid "type=move" parameter and needs fixing.

}}{{#switch:

 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:Template|Category
   | category
   | other
   }}
 }}

| category = {{#ifexist:Category:{{{1}}}

 | 
 |
 }}{{#ifeq:{{{1}}}|Category redirect|}}

| other | #default =  :::::This template should only be used on category pages.

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Category redirect|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Category redirect|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Category redirect|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Category redirect|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

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

|


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

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 | {{#ifexpr:0
|

}}

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

}}{{#iferror: {{#expr: 1 + {{#invoke:Namespace detect|main}} }} | {{#invoke:Namespace detect|main}} | }}

   }}
 }}

}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}