Difference between revisions of "Template:Cleanup tense/doc"

From blackwiki
Jump to navigation Jump to search
imported>Funandtrvl
m (update)
imported>Djr13
(add auto-dated code example for easy copy-pasting)
Line 5: Line 5:
 
* This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]].
 
* This [[Wikipedia:Template|template]] is a [[Wikipedia:Avoid self-references|self-reference]].
 
*You can also place this tag at the start of the concerned section and adjust its text accordingly, such as:
 
*You can also place this tag at the start of the concerned section and adjust its text accordingly, such as:
: <CODE><NOWIKI>{{Cleanup-tense|section}}</NOWIKI></CODE>
+
*: <CODE><NOWIKI>{{Cleanup-tense|section}}</NOWIKI></CODE>
*It takes the optional parameter <tt>tense</tt> which can be used to explain what specific tense needs to be used, e.g. <tt>tense=past</tt>. The default value is ''past tense if historic, present tense if not time-based (e.g. fiction), or future tense if upcoming''.
+
* It takes the optional parameter <tt>tense</tt> which can be used to explain what specific tense needs to be used, e.g. <tt>tense=past</tt>. The default value is ''past tense if historic, present tense if not time-based (e.g. fiction), or future tense if upcoming''.
*It takes the optional parameter <tt>date</tt>, with the format <tt>date=month year</tt>.
+
* It takes the optional parameter <tt>date</tt>, with the format <tt>date=month year</tt>, such as:
 +
*: {{tlx|Cleanup-tense|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 
* Please do not [[Wikipedia:Subst|subst:]] this template.
 
* Please do not [[Wikipedia:Subst|subst:]] this template.
  

Revision as of 12:51, 16 February 2015

This template will categorise tagged articles into Category:Wikipedia articles with incorrect tenses.

  • This template is a self-reference.
  • You can also place this tag at the start of the concerned section and adjust its text accordingly, such as:
    {{Cleanup-tense|section}}
  • It takes the optional parameter tense which can be used to explain what specific tense needs to be used, e.g. tense=past. The default value is past tense if historic, present tense if not time-based (e.g. fiction), or future tense if upcoming.
  • It takes the optional parameter date, with the format date=month year, such as:
    {{Cleanup-tense|date=January 2026}}
  • Please do not subst: this template.

See also