Difference between revisions of "Template:Copy edit/doc"

From blackwiki
Jump to navigation Jump to search
imported>Jonesey95
m (Reverted 1 edit by 82.137.15.10 (talk) to last revision by Jonesey95 (TW))
imported>SUM1
(Fixes and added description (TemplateData))
Line 53: Line 53:
 
<templatedata>
 
<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": {
 
"params": {
 
"1": {
 
"1": {
"label": "section type",
+
"label": "Type (e.g., section)",
"description": "section, talk page, template, etc.",
+
"description": "Text to replace the word \"article\", usually \"section\"",
 +
"type": "line",
 
"example": "section",
 
"example": "section",
"type": "line",
+
"autovalue": "section"
"default": "article"
 
 
},
 
},
 
"date": {
 
"date": {
 
"label": "Month and year",
 
"label": "Month and year",
"type": "date",
+
"description": "The month and year that the template was placed",
"autovalue": "{{subst:DATE}}",
+
"type": "line",
 +
"autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}",
 
"suggested": true
 
"suggested": true
 
},
 
},
 
"for": {
 
"for": {
"aliases": [
+
"aliases": ["reason"],
"reason"
 
],
 
 
"label": "Reason",
 
"label": "Reason",
"description": "Reason the article/section needs copy-editing",
+
"description": "Reason the article/section needs copy editing",
 
"type": "line"
 
"type": "line"
 
}
 
}
Line 80: Line 81:
 
"date",
 
"date",
 
"for"
 
"for"
],
+
]
"format": "block"
 
 
}
 
}
 
</templatedata>
 
</templatedata>
 
{{cob}}
 
{{cob}}

Revision as of 19:23, 28 February 2020

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 |for= (a.k.a. |reason=) which can be used to explain what issues need to be addressed, e.g. |for=consistent spelling. The default value is "grammar, style, cohesion, tone, or spelling".
  • This template takes the optional parameter |date=, which a bot will add for you. Please do not add it yourself.

Tracking categories

Redirects

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

Other templates that add pages to Category:Wikipedia articles needing copy edit

See also


TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for Copy edit

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

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Type (e.g., section)1

Text to replace the word "article", usually "section"

Example
section
Auto value
section
Lineoptional
Month and yeardate

The month and year that the template was placed

Auto value
{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}
Linesuggested
Reasonfor reason

Reason the article/section needs copy editing

Lineoptional