Template:Copy edit inline/doc: Difference between revisions

From Pantonian Republic Wiki
Jump to navigation Jump to search
m (Reverted 1 edit by Firoz1122 (talk) to last revision by JJMC89 bot III)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 18:55, 18 May 2023

Usage

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

{{Copy edit inline|for=|date=November 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=November 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