模板:Category handler

来自广财百科
L>Xiplus2017年12月3日 (日) 10:05的版本 (已保护“Template: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:}}]] }}