Category handler

来自广财百科
跳到导航 跳到搜索

{{#if:

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

| |

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

|


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

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |              h0#384!5nea+w9             
   | 
     {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#ifeq:|
     | main
     | {{#ifeq:|讨论
       | talk
       |  
       }}
     }} 
   }}

| main = | talk = | user = | wikipedia = | image = | mediawiki = | template = | help = | category = | portal = | other | #default =

}}

   | 
     {{#iferror: {{#expr: 1 + {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#ifeq:|
     | main
     | {{#ifeq:|讨论
       | talk
       |  
       }}
     }} 
   }}

| main = | talk = | user = | wikipedia = | image = | mediawiki = | template = | help = | category = | portal = | other | #default =

}} }} | {{#switch:

 {{#if: 
   | {{{demospace}}}
   | {{#ifeq:|
     | main
     | {{#ifeq:|讨论
       | talk
       |  
       }}
     }} 
   }}

| main = | talk = | user = | wikipedia = | image = | mediawiki = | template = | help = | category = | portal = | other | #default =

}} | }}

   }}
 }}

}} {{#invoke:documentation|main|_content={{ {{#invoke:documentation|contentTitle}}}}}}{{#if:| [[Category:Template documentation pages{{#translation:}}]] }}