Difference between revisions of "Template:Cleanup"

From LIMSWiki
Jump to navigationJump to search
(Added template, as necessary for addition of infoboxes.)
 
m (Protected "Template:Cleanup" ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
 
(2 intermediate revisions by the same user not shown)
Line 3: Line 3:
| type      = style
| type      = style
| small    = {{{small|}}}
| small    = {{{small|}}}
| text      = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require [[Wikipedia:cleanup|cleanup]] to meet Wikipedia's [[Wikipedia:Manual of Style|quality standards]].''' {{#if:{{{2|{{{reason|}}}}}}|The specific problem is: '''{{{2|{{{reason|}}}}}}'''.}} Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|The [[{{TALKPAGENAME}}|talk page]] may contain suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
| text      = This {{{1|{{SUBJECTSPACE formatted}}}}} '''may require [[MediaWiki:cleanup|cleanup]] to meet LIMSWiki's [[MediaWiki:Manual of Style|quality standards]].''' {{#if:{{{2|{{{reason|}}}}}}|The specific problem is: '''{{{2|{{{reason|}}}}}}'''.}} Please [{{fullurl:{{FULLPAGENAME}}|action=edit}} improve this {{{1|{{SUBJECTSPACE formatted}}}}}] if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|The [[{{TALKPAGENAME}}|talk page]] may contain suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
}}<includeonly>{{#switch:{{SUBJECTSPACE}}
}}<includeonly>{{#switch:{{SUBJECTSPACE}}
| {{ns:0}}={{DMC|Wikipedia articles needing cleanup|from|{{{date|}}}|All articles needing cleanup}}
| {{ns:0}}={{DMC|LIMSWiki articles needing cleanup|from|{{{date|}}}|All articles needing cleanup}}
| Category={{DMC|Wikipedia categories needing cleanup|from|{{{date|}}}}}
| Category={{DMC|LIMSWiki  categories needing cleanup|from|{{{date|}}}}}
| Template={{DMC|Wikipedia templates needing cleanup|from|{{{date|}}}}}
| Template={{DMC|LIMSWiki templates needing cleanup|from|{{{date|}}}}}
| {{DMC|Wikipedia pages needing cleanup|from|{{{date|}}}}}
| {{DMC|LIMSWiki  pages needing cleanup|from|{{{date|}}}}}
}}</includeonly><!--{{Cleanup}} end--><noinclude>
}}</includeonly><!--{{Cleanup}} end--><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Latest revision as of 20:57, 31 May 2013

[edit] [purge] Template documentation

Usage

{{Cleanup}} can be used on its own, or with the following two optional parameters:

  • reason: the reason for requesting cleanup. This is useful for editors in case the reason for requesting a cleanup is not immediately obvious. The first character of the reason (immediately after the equals sign) should be lowercase, in order to preserve the sentence flow when rendered.
  • date: the month and year (e.g. May 2022) when the Cleanup template was added to the article; this helps to figure out how long an article has been flagged for cleanup.

For example, {{Cleanup|reason=the article is full of incorrect capitalisation|date=January 2011}} would display as:

The template should be placed at the top of the article requiring a cleanup. If practicable, please use a more specific cleanup template. Because {{Cleanup}} is general , specific problems should be identified in the reason field; a more detailed explanation of what needs to be done can be provided on the article's talk page. An article's {{Cleanup}} template may be removed without the problem(s) being fixed if it is not possible to identify what needs to be cleaned-up.

The template detects which namespace it is used in and changes accordingly:
Article
Category
Template

The descriptor (on the preceding example "template") can be changed from its default using the first parameter, for instance {{Cleanup|section}} or {{Cleanup|disambiguation page}}.

Add a new section to the talk page explaining the type and extent of clean-up required so editors will know what to address, and when to remove this template.

This template is a self-reference.

Do not substitute this template.

Use this tag when the article needs improvement per WP:BETTER. Articles that violate policy need more direct action.

Categorization

This template will add pages on which it is used to a specific category containing pages needing cleanup or a dated subcategory thereof.

Alternative

If the problem is correctable with the skills you already possess, consider being bold and fixing it yourself, rather than applying this template and leaving it for someone else to clean up.

See also