Template:Copy edit inline/doc: Difference between revisions
en>Jlwoodwa spacing |
m Text replacement - "Wikipedia[^:]" to "CAPipedia" |
||
(One intermediate revision by the same user not shown) | |||
Line 13: | Line 13: | ||
* This template takes the optional parameter {{para|for}} (a.k.a. {{para|reason}}) which can be used to change the hover text, ''e.g.'' {{para|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 {{para|for}} (a.k.a. {{para|reason}}) which can be used to change the hover text, ''e.g.'' {{para|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 {{para|date}}, with the format {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. An expedient way to enter it is <code><nowiki>|subst:{{DATE}}</nowiki></code> instead of using {{para|date}} directly. | * This template takes the optional parameter {{para|date}}, with the format {{para|date|{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}. An expedient way to enter it is <code><nowiki>|subst:{{DATE}}</nowiki></code> instead of using {{para|date}} directly. | ||
* This template will auto-categorise tagged articles into [[:Category: | * This template will auto-categorise tagged articles into [[:Category:CAPipediaarticles needing copy edit]], or a dated subcategory thereof. However, if the optional parameter and value '''{{para|categories|no}}''' is set, the template will not categorise the page. | ||
<templatedata> | <templatedata> | ||
Line 29: | Line 29: | ||
"description": "The date this tag was added, in the following format: January 2016", | "description": "The date this tag was added, in the following format: January 2016", | ||
"type": "date", | "type": "date", | ||
"autovalue": " | "autovalue": "January 2024", | ||
"required": true | "required": true | ||
} | } |
Latest revision as of 14:41, 23 January 2024
This is a documentation subpage for Template:Copy edit inline. It contains usage information, categories and other content that is not part of the original Template page. |
[[Category:Template documentation pages{{#translation:}}]]
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:CAPipediaarticles 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": "January 2024", "required": true } }, "description": "This inline template should be used to mark sentences or paragraphs requiring copy editing.", "format": "inline" } </templatedata>
See also
- {{Copy edit}}
- {{Copy edit section}}
- {{Tone}}
- Wikipedia:Template index/Cleanup
- Wikipedia:WikiProject Guild of Copy Editors