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

From blackwiki
Jump to navigation Jump to search
imported>Jdaloner
m (Updated name of template.)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 7: Line 7:
 
*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 <kbd>tense</kbd> which can be used to explain what specific tense needs to be used, e.g. <kbd>tense=past</kbd>. 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>, such as:
+
* It takes the optional parameter <kbd>date</kbd>, with the format <kbd>date=month year</kbd>, such as:
 
*: {{tlx|Cleanup tense|date{{=}}{{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}
 
*: {{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 06:37, 5 August 2018

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=December 2025}}
  • Please do not subst: this template.

See also