模板:Namespace detect

来自Positive WiKi
跳转到导航 跳转到搜索

{{#switch:

 {{#if: 
   | {{{demospace}}}
   | {{#ifeq:template|
     | main
     | {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }} 
   }}

| main = {{#switch:{{#ifexpr:({{#if:{{#expr:abs(9)−1}}|{{#expr:abs(9)−1}}|1}}=0) or (46=0)|

|{{#if:{{#if:|{{#if:{{#expr:abs(9)-1}}|{{#if:|{{#ifexpr:((-+1)<>{{#expr:abs(9)-1}}) and (*<>0)|Error using {{[[{{#switch: 
|#default = Str mid 
| = 
   {{#ifeq:  | 
     | Template:Str mid            
     | Str mid      
   }}

}}|Str mid]]{{#if:||{{{arg}}}}}}}: indexes i= and j= do not match requested substring length {{ safesubst:#if:1|{{#expr:abs(9)-1}}}}}}|}}}}}}|Template:Error

 |Template:Namespace detect}}}}{{safesubst:#switch: no
|no
|n
|false
|f
|否
|0        = 
|         = 
|¬        = 
|yes
|y
|true
|t
|是
|1        = _IN:_i2=_sublen3={{#expr:abs(9)-1}}_j4=u_min=Template:Min_CORE:slen:46_i={{#if:}||{{#ifexpr:({{#if:{{#expr:abs(9)-1}}|1|0}} and {{#if:|1|0}})|{{#expr:Template:Min-{{#expr:abs(9)-1}}+{{#ifexpr:{{#expr:abs(9)-1}}<0|-1|1}}}}|1}}}}_j=Template:Min_inv={{#ifexpr:{{#ifeq:{{#expr:abs(9)−1}}||0|{{#expr:abs(9)−1}}}}<0|yes|no}}_tchk={{#if:{{#if:|{{#if:{{#expr:abs(9)-1}}|{{#if:|{{#ifexpr:((-+1)<>{{#expr:abs(9)-1}}) and (*<>0)|Error using {{[[{{#switch: 
|#default = Str mid 
| = 
   {{#ifeq:  | 
     | Template:Str mid            
     | Str mid      
   }}

}}|Str mid]]{{#if:||{{{arg}}}}}}}: indexes i= and j= do not match requested substring length {{ safesubst:#if:1|{{#expr:abs(9)-1}}}}}}|}}}}}}|TCHK|-}}_blankexpr:{{#expr:({{#if:{{#expr:abs(9)−1}}|{{#expr:abs(9)−1}}|1}}=0) or (46=0)}}

|#default = _IN:_i2=_sublen3={{#expr:abs(9)-1}}_j4=u_min=Template:Min_CORE:slen:46_i={{#if:}||{{#ifexpr:({{#if:{{#expr:abs(9)-1}}|1|0}} and {{#if:|1|0}})|{{#expr:Template:Min-{{#expr:abs(9)-1}}+{{#ifexpr:{{#expr:abs(9)-1}}<0|-1|1}}}}|1}}}}_j=Template:Min_inv={{#ifexpr:{{#ifeq:{{#expr:abs(9)−1}}||0|{{#expr:abs(9)−1}}}}<0|yes|no}}_tchk={{#if:{{#if:|{{#if:{{#expr:abs(9)-1}}|{{#if:|{{#ifexpr:((-+1)<>{{#expr:abs(9)-1}}) and (*<>0)|Error using {{[[{{#switch: 
|#default = Str mid 
| = 
   {{#ifeq:  | 
     | Template:Str mid            
     | Str mid      
   }}

}}|Str mid]]{{#if:||{{{arg}}}}}}}: indexes i= and j= do not match requested substring length {{ safesubst:#if:1|{{#expr:abs(9)-1}}}}}}|}}}}}}|TCHK|-}}_blankexpr:{{#expr:({{#if:{{#expr:abs(9)−1}}|{{#expr:abs(9)−1}}|1}}=0) or (46=0)}} }}| MOS = | LTA = | NT = | NC = | #default = }} | talk = | user = | wikipedia = | image = | mediawiki = | template = | help = | category = | portal = | wikiproject = | other | #default = }}

文档图示 模板文档[创建]