Template:Copy edit inline/doc: Difference between revisions

Content deleted Content added
m Sync with current template doc preload @ Template:Documentation/preload
m Reverted edit by 41.122.131.39 (talk) to last version by Jlwoodwa
 
(17 intermediate revisions by 15 users not shown)
Line 1:
{{tsh|awk|awkward}}
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{Twinkle standard installation}}
 
== Usage ==
This template tags a statement for [[Wikipedia:basic copyediting|basic copyediting]], and should be placed after the statement.</p>
<code><nowiki>{{Copy edit- inline|for=|date=</nowiki>{{#time: F Y }}<nowiki>}}</nowiki></code>
 
Do not <code>[[Wikipedia:Substitution|subst:]]</code> this template.
Line 12 ⟶ 11:
 
=== Optional parameters ===
* This template takes the optional parameter {{para|for}} (a.k.a. {{para|reason}}) which can be used to explainchange whatthe issueshover need to be addressedtext, ''e.g.'' {{para|for|consistentThe spellingtext 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 will auto-categorise tagged articles into [[:Category:Wikipedia articles 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>
{
"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 ==
* {{Tl|Copy edit}}
* {{Tl|Copy edit- section}}
* {{Tl|Tone}}
* [[Wikipedia:Template messagesindex/Cleanup]]
* [[Wikipedia:WikiProject Guild of Copy Editors]]
 
{{Inline cleanup tags}}
 
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandboxSandbox other||
<!-- Categories go here and interwikis go in Wikidata. -->
[[Category:Cleanup templates]]
[[Category:Inline cleanup templates]]
[[Category:Exclude in print]]
}}</includeonly>