Template:Dead link

From RouteWiki
Revision as of 11:19, 19 October 2010 by Fram (talk) (Undid revision 390521623 by Rich Farmbrough (talk) Why? These are useful...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

{{#ifeq:¬|SUBST

|

}}{{#if:

 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: no
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Dead link|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Dead link|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage =

| subpage = dontcat

| subsubpage = dontcat

}}

 | only = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Dead link|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Dead link|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

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

|


     {{#if:{{#titleparts:{{#if:|  | Template:Dead link }}|0|2}}
     | 
        
          
            
              
                
                       
                 
               
             
           
         
       
     | 
             
       
     }}   
   
 

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |{{#if:Category:Articles with dead external links
 |[[Category:Articles with dead external links {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with dead external links from |
   |
  }}
 }}
}} 
   | 
     {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

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

}}

   | 
     {{#iferror: {{#expr: 1 + {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:|
       | talk
       |  
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | ={{#if:Category:Articles with dead external links

 |[[Category:Articles with dead external links {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with dead external links from |
   |
  }}
 }}
}}

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

}} }} | {{#switch:

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

| main | ={{#if:Category:Articles with dead external links

 |[[Category:Articles with dead external links {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with dead external links from |
   |
  }}
 }}
}}

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

}} | }}

   }}
 }}

}}{{#if:

|[{{#if:
 |{{{pre-text}}} 
}}[[Wikipedia:Cleanup|]]{{#if:
 | {{{post-text}}}
}}]|[{{#if: |dead link|dead link}}]

}} Template:Documentation