Difference between revisions of "Template:Lopsided"

From MediaWiki
Jump to: navigation, search
(Created page with "<!--{{Lopsided}} begin-->{{Fix | subst = <includeonly>{{subst:</includeonly><includeonly>substcheck}}</includeonly> | link = WP:POV | text = unbalanced opinion | title = The...")
 

Latest revision as of 13:46, 22 October 2012

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

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

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

|


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

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |       
   | 
     {{#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 | = | 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 | = | 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:Lopsided|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Lopsided|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:Lopsided|0|3}}
   | subsubpage    
   | {{#if:{{#titleparts:Template:Lopsided|0|2}}
     | subpage
     | basepage
     }}
   }}
 }}

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

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

|


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

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |{{#if:Category:Articles with minor POV problems
 |[[Category:Articles with minor POV problems {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with minor POV problems from |
   |
  }}
 }}
}}{{#if:|}}{{#if:
 |[[ {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist: from |
   |
  }}
 }}
}}{{#if:|}}{{#if:
 |[[ {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist: 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 minor POV problems

 |[[Category:Articles with minor POV problems {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with minor POV problems 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}}}|||{{#if:||}}}}}} | help = | category = | portal = | book = | other | #default =

}} }} | {{#switch:

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

| main | ={{#if:Category:Articles with minor POV problems

 |[[Category:Articles with minor POV problems {{#if:
  |from 
 }}]]{{#if:
  |{{#ifexist:Category:Articles with minor POV problems 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}}}|||{{#if:||}}}}}} | help = | category = | portal = | book = | other | #default =

}} | }}

   }}
 }}

}}{{#if:unbalanced opinion

|[{{#if:
 |{{{pre-text}}} 
}}unbalanced opinion{{#if:
 | {{{post-text}}}
}}]|

}}

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox