Difference between revisions of "Template:Cleanup tense"

From blackwiki
Jump to navigation Jump to search
imported>Rich Farmbrough
m (Add code for incorrectly substed templates, or minor tidy up using AWB)
imported>WOSlinker
(if category=no then do not show category)
Line 2: Line 2:
 
| type = style
 
| type = style
 
| text = This {{{1|article}}} '''uses an unsuitable [[grammatical tense]] for an encyclopedia'''. Please consider [[Wikipedia:How to copy-edit|copy editing]] to  {{{tense|past tense if historic, present tense if not time-based (e.g. [[WP:TENSE|fiction]]), or future tense if upcoming}}}. {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
 
| text = This {{{1|article}}} '''uses an unsuitable [[grammatical tense]] for an encyclopedia'''. Please consider [[Wikipedia:How to copy-edit|copy editing]] to  {{{tense|past tense if historic, present tense if not time-based (e.g. [[WP:TENSE|fiction]]), or future tense if upcoming}}}. {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
}}<includeonly>{{{category|[[Category:Wikipedia articles with incorrect tenses]]}}}</includeonly><!--{{Cleanup-tense}} end--><noinclude>
+
}}<includeonly>{{#ifeq:{{lc:{{{category|}}}}}|no||{{{category|[[Category:Wikipedia articles with incorrect tenses]]}}}}}</includeonly><!--{{Cleanup-tense}} end--><noinclude>
  
 
{{Documentation}}
 
{{Documentation}}
  
 
</noinclude>
 
</noinclude>

Revision as of 09:03, 25 October 2009

50px Template documentation[view] [edit] [history] [purge]

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