模板:Copypaste

Ph9讨论 | 贡献2020年12月27日 (日) 14:48的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:{{{small}}}|left|}}

50px Template documentation[view] [edit] [history] [purge]

{{#ifeq:copypaste |doc

    | 

{{#ifeq:show |show

|
        }}{{#if: |
         |   {{#ifexist:模板:Copypaste
                  | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]]
                  |
                 }}
        }}
    | 
   }}
{{#if:||{{#ifeq:Copypaste|Copypaste|}}}}

This template will add tagged articles to Category:Copied and pasted articles and sections. If you have strong reason to believe that the source material is copyrighted, please instead follow the procedure at Wikipedia:Copyright problems. If a source cannot be identified, please use {{Cv-unsure}}.

Syntax编辑

To place this template, simply add {{Copypaste}} to the top of the suspect article or section. You may optionally include 3 arguments – one showing the date the tag was added, a second specifying whether it is an entire article or just a section that is suspect, and a third linking to the url you believe contains the original text.

For example:

{{Copypaste|section|url=https://example.org%7Cdate=11月 2024}} produces:
{{#ifeq:{{{small}}}|left|}}

Parameters编辑

  • |{{SAFESUBST:#if:date|date=}}: the date the tag was added
  • |{{SAFESUBST:#if:url|url=}}: the URL believed to contain the original text
  • |{{SAFESUBST:#if:1|1=}} (or an empty parameter): text to replace the word "article", usually "section"

Tracking categories编辑

  • [[:Category:{{#ifeq:All copie|Category:|模板:Str right|All copied and pasted articles and sections}}|{{#if:|{{{name}}}|Category:{{#ifeq:All copie|Category:|模板:Str right|All copied and pasted articles and sections}}}}]] (0)

Redirects编辑

TemplateData编辑

{{#if:|{{#switch:
|={{#ifeq:{{safesubst:#switch: {{{lc}}}
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Copypaste}}.
|#default=[3]

}}|This is the {{#if:|TemplateData|TemplateData}} documentation for this template used by VisualEditor and other tools; {{#switch:

|={{#ifeq:{{safesubst:#switch: yes
|no
|n
|f
|false
|off
|0        = no
|         = no
|¬        = no
|yes
|y
|t
|true
|on
|1        = yes
|#default = no

}}|no|S|s}}ee the monthly parameter usage report for {{#if:|[[Template:]]|this template}}.

|None|none=Parameter usage report
|for|For=Parameter usage report for {{#if:|[[Template:]]|Template:Copypaste}}.
|#default=[4]

}}}}

TemplateData for Copypaste

{{#switch:
 {{#if:
 | {{{demospace}}}    
 | {{#ifeq:模板|模板
   | template
   | other
   }}
 }}

| template = {{#if:{{#ifeq:Copypas|sandbox|1}}{{#ifeq:Copypaste|doc|1}}||

}} | other | #default = }} <templatedata> {

   "description": "Use this template to indicate that an article may be substantially copied and pasted from another location, possibly in violation of Wikipedia's copyright policy.",

"format": "inline", "params": { "date": { "label": "Month and year", "description": "Month and year of tagging; e.g., 'January 2013', but not 'jan13'", "type": "string", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "example": "January 2013", "suggested": true }, "url": { "label": "URL", "description": "The URL believed to contain the original text", "example": "https://example.org", "type": "string", "suggested": true }, "1": { "label": "Type (e.g., section)", "description": "Text to replace the word \"article\", usually \"section\"", "type": "string", "default": "article or section", "autovalue": "section", "example": "section" } }, "paramOrder": [ "date", "url", "1" ] } </templatedata>

See also编辑

{{#if:{{#ifeq:Copypas|sandbox|1}}{{#ifeq:Copypaste|doc|1}}|| }}