Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Cleanup/doc: Difference between revisions

Template page
Rewrite because of an error in the previous sample
m Refactor to use {{Banner}}
Line 4: Line 4:


;Syntax
;Syntax
: {{t|Cleanup|reason|3=date= month year}}
: {{t|Cleanup|reason|3=date= day month year}}
:: reason (optional) - Reason why the page need cleanup, If omitted defaults to ''unspecified''.
:: reason (optional) - Reason why the page need cleanup, If omitted defaults to ''unspecified''.
:: date (optional) - Month when the banner is placed
:: date (optional) - Month when the banner is placed


; Sample output
; Sample output <!-- Not using the actual template to avoid the automatic category assigning -->
: <nowiki>{{Cleanup}}</nowiki> gives...
: <code><nowiki>{{Cleanup}}</nowiki></code> gives...
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center">
{{Banner|color= #153E7E|border= #153E7E
{| cellpadding="2" style="width: 100%;"
|'''This article should be cleaned up or improved}}
| '''This article should be cleaned up or improved{{#if: {{{date|}}}|, as of {{{date}}}|}}.''' The reason is: ''{{#if: {{{1|}}}|{{{1}}}|unspecified}}''
|}
</div>


: <nowiki>{{Cleanup|Overly verbose with multiple redundancies}}</nowiki> gives...
: <nowiki>{{Cleanup|Overly verbose with multiple redundancies}}</nowiki> gives...
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center">
{{Banner|color= #153E7E|border= #153E7E
{| cellpadding="2" style="width: 100%;"
|'''This article should be cleaned up or improved{{#if: {{{date|}}}|, as of {{{date}}}|}}.'''<br>The reason is: ''Overly verbose with multiple redundancies''}}
| '''This article should be cleaned up or improved{{#if: {{{date|}}}|, as of {{{date}}}|}}.''' The reason is: ''Overly verbose with multiple redundancies''
|}
</div>


: <nowiki>{{Cleanup|Overly verbose with multiple redundancies|date= February 2017}}</nowiki> gives...
: <nowiki>{{Cleanup|Overly verbose with multiple redundancies|date= February 2017}}</nowiki> gives...
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center">
{{Banner|color= #153E7E|border= #153E7E
{| cellpadding="2" style="width: 100%;"
| '''This article should be cleaned up or improved, as of February 2017.''' <br>The reason is: ''Overly verbose with multiple redundancies''}}
| '''This article should be cleaned up or improved, as of February 2017.''' The reason is: ''Overly verbose with multiple redundancies''
|}
</div>


: <nowiki>{{Cleanup||date= February 2017}}</nowiki> gives...
: <nowiki>{{Cleanup||date= February 2017}}</nowiki> gives...
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center">
{{Banner|color= #153E7E|border= #153E7E
{| cellpadding="2" style="width: 100%;"
|'''This article should be cleaned up or improved, as of February 2017.'''<br> The reason is: ''unspecified''}}
| '''This article should be cleaned up or improved, as of February 2017.''' The reason is: ''unspecified''
|}
</div>


== See also ==
== See also ==
Line 42: Line 30:


<includeonly>[[Category:Maintenance templates]]</includeonly>
<includeonly>[[Category:Maintenance templates]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 15:04, 23 October 2021

Description
These articles should be reformatted or otherwise improved for grammar, typographical errors, organization, readability, and other non-content related changes.
Putting this template on a page also adds it to the Candidates for cleanup category.
Syntax
{{Cleanup|<reason>|<date= day month year>}}
reason (optional) - Reason why the page need cleanup, If omitted defaults to unspecified.
date (optional) - Month when the banner is placed
Sample output
{{Cleanup}} gives...
This article should be cleaned up or improved


{{Cleanup|Overly verbose with multiple redundancies}} gives...
This article should be cleaned up or improved.
The reason is: Overly verbose with multiple redundancies


{{Cleanup|Overly verbose with multiple redundancies|date= February 2017}} gives...
This article should be cleaned up or improved, as of February 2017.
The reason is: Overly verbose with multiple redundancies


{{Cleanup||date= February 2017}} gives...
This article should be cleaned up or improved, as of February 2017.
The reason is: unspecified


See also

  • {{Update}}, for pages which need facts checked, numbers updated, or entire sections altered, to reflect recent game changes.
Contents