Template:Namespace detect showall

From ETCwiki
Jump to navigationJump to search

{{#switch:

 {{#switch:    
   {{#if: 
     | {{{demospace}}}
     | {{#ifeq:template|
       | main
       | {{#ifeq:template|template talk
         | talk
         | template 
         }}
       }} 
     }}
 | showall   = showall   
 | main      =   
 | talk      =   
 | user      =   
 | wikipedia =   
 | file
 | image     =     
 | mediawiki =   
 | template  =   
 | help      =   
 | category  =   
 | portal    =   
 | other
 | #default  =  
 }}

| 1 = | 2 = | 3 = | 4 = | 5 = | 6 = | showall = }}

{{#ifeq:μ|
 |
|
{{#ifeq:μ|μ
  |{{#ifexist: {{#switch: Namespace detect showall
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Namespace detect showall/doc

}}

   |[[{{fullurl:{{#switch: Namespace detect showall
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Namespace detect showall/doc

}}|action=edit}} edit]] [purge]

   |[[{{fullurl:{{#switch: Namespace detect showall
 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Namespace detect showall/doc

}}|action=edit&preload=Template:Documentation/preload}} create]]

  }}
}} {{#if:|{{{heading}}}|{{#ifeq:Template|Template|50px Template documentation|Documentation}}}}
}}

{{#if:|{{{content}}}|{{#ifexist:{{#switch: Namespace detect showall

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Namespace detect showall/doc

}} | {{ {{#switch: Namespace detect showall

 |sandbox|testcases={{ #rel2abs: ../doc }}
 |#default=Template:Namespace detect showall/doc

}} }} }}}}