Template:Who

From AltgothicWiki

(Difference between revisions)
Jump to: navigation, search
(http://en.wikipedia.org/w/index.php?title=User_talk:Debresser/Template_sandbox&oldid=471484886)
Current revision (20:17, 24 June 2012) (edit) (undo)
m (1 revision)
 

Current revision

{{#switch:

|¬={{#if:
 {{#ifeq:  | true
 | dontcat    
 }}{{#ifeq:  | no
 | dontcat
 }}{{#switch: ¬
 | yes
 | ¬   =   
 | #default = dontcat   
 }}{{#switch: 
 | no = 
   {{#switch:
 {{#if:
 | {{#if:{{#titleparts:|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:|0|2}}
     | subpage
     | basepage
     }}
   }}
 | {{#if:{{#titleparts:Template:Who|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Who|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:Who|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Who|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

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

|


     {{#if:{{#titleparts:{{#if:|  | Template:Who }}|0|2}}
     | 
        
          
            
              
                
                       
                 
               
             
           
         
       
     | 
             
       
     }}   
   
 

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |       
   | 
     {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:template:namespace:|template:talkspace:
       | talk
       | template:subjectspace: 
       }}
     | 
       {{#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:template:namespace:|template:talkspace:
       | talk
       | template:subjectspace: 
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

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

}} }} | {{#switch:

 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:template:namespace:|template:talkspace:
       | talk
       | template:subjectspace: 
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

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

}} | }}

   }}
 }}

}}

|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:Who|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Who|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:Who|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Who|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

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

|


     {{#if:{{#titleparts:{{#if:|  | Template:Who }}|0|2}}
     | 
        
          
            
              
                
                       
                 
               
             
           
         
       
     | 
             
       
     }}   
   
 

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |{{#if:Category:Articles with specifically marked weasel-worded phrases
 |[[Category:Articles with specifically marked weasel-worded phrases {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with specifically marked weasel-worded phrases from |
   |
  }}
 }}
}}{{#if:|}}{{#if:
 |[[ {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist: from |
   |
  }}
 }}
}}{{#if:|}}{{#if:
 |[[ {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist: from |
   |
  }}
 }}
}} 
   | 
     {{#switch:
 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:template:namespace:|template:talkspace:
       | talk
       | template:subjectspace: 
       }}
     | 
       {{#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:template:namespace:|template:talkspace:
       | talk
       | template:subjectspace: 
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | ={{#if:Category:Articles with specifically marked weasel-worded phrases

 |[[Category:Articles with specifically marked weasel-worded phrases {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with specifically marked weasel-worded phrases from |
   |
  }}
 }}
}}{{#if:|}}{{#if:
 |[[ {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist: from |
   |
  }}
 }}
}}{{#if:|}}{{#if:
 |[[ {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist: from |
   |
  }}
 }}
}}

| talk = | user = | wikipedia = | file | image = | mediawiki = | template = {{#if:|{{#ifeq:{{{name}}}|Template:ROOTPAGENAME||{{#if:||}}}}}} | help = | category = | portal = | book = | other | #default =

}} }} | {{#switch:

 {{#if: 
   | {{{demospace}}}
   | {{#if: 
     | 
       {{#ifeq:template:namespace:|template:talkspace:
       | talk
       | template:subjectspace: 
       }}
     | 
       {{#ifeq:template|template talk
       | talk
       | template 
       }}
     }}
   }}

| main | ={{#if:Category:Articles with specifically marked weasel-worded phrases

 |[[Category:Articles with specifically marked weasel-worded phrases {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with specifically marked weasel-worded phrases from |
   |
  }}
 }}
}}{{#if:|}}{{#if:
 |[[ {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist: from |
   |
  }}
 }}
}}{{#if:|}}{{#if:
 |[[ {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist: from |
   |
  }}
 }}
}}

| talk = | user = | wikipedia = | file | image = | mediawiki = | template = {{#if:|{{#ifeq:{{{name}}}|Template:ROOTPAGENAME||{{#if:||}}}}}} | help = | category = | portal = | book = | other | #default =

}} | }}

   }}
 }}

}}{{#if:who?

|[{{#if:
 |{{{pre-text}}} 
}}who?{{#if:
 | {{{post-text}}}
}}]|

}} Template:Documentation

Personal tools