Difference between revisions of "Template:Third-party"

From MediaWiki
Jump to: navigation, search
(Created page with "<!--{{Third-party}} begin-->{{#ifeq:{{NAMESPACE}}|{{<includeonly>subst:</includeonly>NAMESPACE}}|<includeonly>Category:Pages with incorrectly substituted templates|{{PAGENAM...")
 

Latest revision as of 12:33, 23 October 2012

{{#ifeq:Template|Template||}}{{#ifeq:{{{subst}}}|SUBST

|{{#if:Third-party
 |<{{#switch:{{{tag}}}
|p=p
|span=span
|div=div
|#default=strong

}} class="error">Template {{{{#if: |subst:}}Third-party{{#if: ||{{{2}}}}}{{#if: ||{{{3}}}}}{{#if: ||{{{4}}}}}{{#if: ||{{{5}}}}}{{#if: ||{{{6}}}}}{{#if: ||{{{7}}}}}{{#if: ||{{{8}}}}}{{#if: ||{{{9}}}}}{{#if: ||{{{10}}}}}{{#if: ||{{{11}}}}}{{#if: ||}}}} has been incorrectly substituted.</{{#switch:{{{tag}}}

|p=p
|span=span
|div=div
|#default=strong

}}>

}}

}}{{Ambox/{{#ifeq:{{{small}}}|left|small|core}}

|type = content
|image = 50x40px
|smallimage = {{#if:|{{{smallimage}}}|50x40px}}
|imageright = 
|smallimageright = {{#if:|{{{smallimageright}}}|}}
|class = ambox-{{#switch:content
 |speedy = speedy
 |delete = delete
 |content = content
 |style = style
 |move = move
 |protection = protection
 |notice|#default = notice
}} 
|style = 
|textstyle  = 
|smalltext  = 
|talk = {{#switch:¬
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}} 
 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Third-party}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Third-party}}

}}|Template:Third-party|#}}

 |#default = {{{talk}}}
}}
|issue = {{#switch:¬
 |¬ = 
 |  = This article
 |This {{{sect}}}
}} This article may rely too heavily on sources with too close a tie to the subject to be verifiable and neutral. 
|fix = Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources. {{#if:|The source in dispute is: {{{2}}}.}}
|date = {{#switch:
 |¬        = 
 |         = {{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}} 
 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Third-party}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Third-party}}

}}|Template:Third-party|December 2024}}

 |#default = 
}}
|info = 

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

| basepage = dontcat

| subpage = | subsubpage = }}

 }}

| |

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

|


     {{#if:{{#titleparts:{{#if:|  | Template:Third-party }}|0|2}}
     | 
        
          
            
              
                
                       
                 
               
             
           
         
       
     | 
             
       
     }}   
   
 

}}

       }}
     }}
   }}
 | hide = 
 | #default  = 
   {{#ifeq: h0#384!5nea+w9 |  {{#if:
|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}}

   | 
     {{#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:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}} | talk = | user = | wikipedia = | file | image = | mediawiki = | template = {{#switch:Template:Third-party

 |Template:Third-party ={{#ifexpr:{{#ifeq:This article may rely too heavily on sources with too close a tie to the subject to be verifiable and neutral.|¬|1|0}}+{{#ifeq:Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources. {{#if:|The source in dispute is: {{{2}}}.}}|¬|1|0}}+{{#ifeq:¬|¬|1|0}}
  |[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:This article may rely too heavily on sources with too close a tie to the subject to be verifiable and neutral.|¬|1|0}}+{{#ifeq:Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources. {{#if:|The source in dispute is: {{{2}}}.}}|¬|1|0}}+{{#ifeq:¬|¬|1|0}}}}]]
 }}{{#if:
  |
 }}
 |Template:        = {{#ifeq:Third-party|Third-party|}}
}}

| help = | category = | portal = | book = | other | #default =

}} }} | {{#switch:

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

| main | = {{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}}{{#if:

|{{#if:
 |{{#ifexist:Category: from |
  |
 }}
 |[[Category:]]
}}

}}{{#if:

|[[Category:]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat2}}} from ]]{{#ifexist:Category:{{{cat2}}} from |
  |
 }}
 |[[Category:{{{cat2}}}]]
}}

}}{{#if:

|[[Category:{{{all2}}}]]

}}{{#if:

|{{#if:
 |[[Category:{{{cat3}}} from ]]{{#ifexist:Category:{{{cat3}}} from |
  |
 }}
 |[[Category:{{{cat3}}}]]
}}

}}{{#if:

|[[Category:{{{all3}}}]]

}} | talk = | user = | wikipedia = | file | image = | mediawiki = | template = {{#switch:Template:Third-party

 |Template:Third-party ={{#ifexpr:{{#ifeq:This article may rely too heavily on sources with too close a tie to the subject to be verifiable and neutral.|¬|1|0}}+{{#ifeq:Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources. {{#if:|The source in dispute is: {{{2}}}.}}|¬|1|0}}+{{#ifeq:¬|¬|1|0}}
  |[[Category:Article message templates with missing parameters|{{#expr:{{#ifeq:This article may rely too heavily on sources with too close a tie to the subject to be verifiable and neutral.|¬|1|0}}+{{#ifeq:Please help improve it by replacing them with more appropriate citations to reliable, independent, third-party sources. {{#if:|The source in dispute is: {{{2}}}.}}|¬|1|0}}+{{#ifeq:¬|¬|1|0}}}}]]
 }}{{#if:
  |
 }}
 |Template:        = {{#ifeq:Third-party|Third-party|}}
}}

| help = | category = | portal = | book = | other | #default =

}} | }}

   }}
 }}

}}{{#ifeq:{{ safesubst:#if: {{safesubst:#invoke:Ns has subpages|main}}

 | {{ safesubst:#titleparts:{{ safesubst:#if:|{{{1}}}|Template:Third-party}}|1}}
 | {{ safesubst:#if:|{{{1}}}|Template:Third-party}}

}}|Wikipedia:Template messages||{{#ifexpr:{{#if:Template|0|1}}+{{#ifeq:yes|yes|0|1}}

|{{#if:
 |{{#ifexist:Category:Articles lacking reliable references from 
   ||}}
 |[[Category:{{#if:
              ||Articles lacking reliable references}}]]}}{{#if:All articles lacking reliable references
     |}}}}}}
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox