模板:Copy edit

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

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

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

{{#ifeq:copy edit |doc

    | 

{{#ifeq:show |show

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

Usage编辑

This template tags an article for copy editing and should be added at the top of the article page.

{{Copy edit|for=}}

This template will auto-categorize tagged articles into Category:Wikipedia articles needing copy edit, and the subsequent bot edit will place it in a dated subcategory thereof.

Do not subst: this template.

This template is a self-reference.

Optional parameters编辑

  • This template takes an optional parameter that replaces the word "article" in the displayed message with arbitrary text. For example, {{Copy edit|section}} displays "This section needs copy editing."
  • This template takes the optional parameter |{{SAFESUBST:#if:for|for=}} (a.k.a. |{{SAFESUBST:#if:reason|reason=}}) which can be used to explain what issues need to be addressed, e.g. |{{SAFESUBST:#if:for|for=}}consistent spelling. The default value is "grammar, style, cohesion, tone, or spelling".
  • This template takes the optional parameter |{{SAFESUBST:#if:date|date=}}, which a bot will add for you. Please do not add it yourself.

Tracking categories编辑

  • [[:Category:{{#ifeq:All artic|Category:|模板:Str right|All articles needing copy edit}}|{{#if:|{{{name}}}|Category:{{#ifeq:All artic|Category:|模板:Str right|All articles needing copy edit}}}}]] (0)

Redirects编辑

  1. {{Ced}}
  2. {{Cleanup-copyedit}}
  3. {{Cleanup-english}}
  4. {{Copy-edit}}
  5. {{Copyediting}}
  6. {{Gcheck}}
  7. {{Grammar}}
  8. {{Spacing}}

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:Copy edit}}.
|#default=[1]

}}|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:Copy edit}}.
|#default=[2]

}}}}

TemplateData for Copy edit

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

| template = {{#if:{{#ifeq:Copy ed|sandbox|1}}{{#ifeq:Copy edit|doc|1}}||

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

   "description": "Use this cleanup template to tag an article for copy editing, such as for grammar, style, cohesion, tone or spelling.",

"format": "inline", "params": { "1": { "label": "Type (e.g., section)", "description": "Text to replace the word \"article\", usually \"section\"", "type": "line", "example": "section", "autovalue": "section" }, "date": { "label": "Month and year", "description": "The month and year that the template was placed", "type": "line", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "suggested": true }, "for": { "aliases": ["reason"], "label": "Reason", "description": "Reason the article/section needs copy editing", "type": "line" } }, "paramOrder": [ "1", "date", "for" ] } </templatedata>

== Other templates that add pages to {{#ifeq:{{#titleparts:Copy edit|1}}|Stub types for deletion |Cat:Wikipedia articles needing copy edit | Category:Wikipedia articles needing copy edit{{#ifeq:{{safesubst:#switch: no

|no
|n
|f
|false
|off
|0        = 
|         = 
|¬        = 
|yes
|y
|t
|true
|on
|1        = yes
|#default = yes

}}|yes| {{#ifexpr:0>={{#expr:0+1}}|}}( 0 ){{#ifexpr:0>={{#expr:0+1}}|}}}}}} ==

See also编辑

{{#if:{{#ifeq:Copy ed|sandbox|1}}{{#ifeq:Copy edit|doc|1}}|| }}