Template:Copy edit inline/doc: Difference between revisions

Content deleted Content added
Update documentation for template change. Add template data
Tag: Reverted
Line 1:
#REDIRECT [[wiki pédiatries<noinclude></noinclude>]]{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
Line 8:
Do not <code>[[Wikipedia:Substitution|subst:]]</code> this template.
 
This [[Wikipedia:Template messages|template]] is a [[Wikipedia:Manual of Style/Self-references to avoid|self-reference]].no
 
your is fat<ref name="No" group="No">{{cite web |last1=Your mom |first1=No |title=Your mom |url=No |website=Wikipedia |publisher=Your dad |access-date=No |ref=No}}</ref>=== Optional parameters ===
=== Optional parameters ===
* 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.
Line 17:
<templatedata>
{
"params": {},
"description": "Your mom"
"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>