Template:Copy edit inline/doc

From Pantonian Republic Wiki
Jump to navigation Jump to search

Usage

This template tags a statement for basic copyediting, and should be placed after the statement.

{{Copy edit inline|for=|date=December 2024}}

Do not subst: this template.

This template is a self-reference.

Optional parameters

  • This template takes the optional parameter |for= (a.k.a. |reason=) which can be used to change the hover text, e.g. |for=The text preceding this tag needs copy editing for tone. The default value is "The text preceding this tag may require copy editing for grammar, style, cohesion, tone, or spelling.".
  • This template takes the optional parameter |date=, with the format |date=December 2024. An expedient way to enter it is |subst:{{DATE}} instead of using |date= directly.
  • This template will auto-categorise tagged articles into Category:Wikipedia articles needing copy edit, or a dated subcategory thereof. However, if the optional parameter and value |categories=no is set, the template will not categorise the page.

<templatedata> { "params": { "reason": { "aliases": [ "for" ], "description": "Text to replace the default hover text.", "type": "string", "default": "The text preceding this tag may require copy editing for grammar, style, cohesion, tone, or spelling." }, "date": { "description": "The date this tag was added, in the following format: January 2016", "type": "date", "autovalue": "{{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", "required": true } }, "description": "This inline template should be used to mark sentences or paragraphs requiring copy editing.", "format": "inline" } </templatedata>

See also