Template:Namespace detect showall

From ETCwiki
Revision as of 21:53, 9 May 2009 by Snoopd (talk | contribs) (Created page with '{{#switch: <!-- Use the parameter --> {{#switch: <!-- Find out which parameter to use --> {{lc: <!--Lower case the result--> <!--If no or empty "demospace" p...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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

}} }} }}}}