More actions
m Add missing }} in example |
Rewrite because of an error in the previous sample |
||
| Line 1: | Line 1: | ||
; Description | |||
;Description | : These articles should be reformatted or otherwise improved for grammar, typographical errors, organization, readability, and other non-content related changes. | ||
: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 [[:Category:Candidates for cleanup|Candidates for cleanup]] category. | ||
; | |||
: | ;Syntax | ||
;Sample output | : {{t|Cleanup|reason|3=date= 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 | |||
: <nowiki>{{Cleanup}}</nowiki> gives... | |||
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center"> | |||
{| cellpadding="2" style="width: 100%;" | |||
| '''This article should be cleaned up or improved{{#if: {{{date|}}}|, as of {{{date}}}|}}.''' The reason is: ''{{#if: {{{1|}}}|{{{1}}}|unspecified}}'' | | '''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... | ||
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center"> | |||
: | {| cellpadding="2" style="width: 100%;" | ||
| '''This article should be cleaned up or improved{{#if: {{{date|}}}|, as of {{{date}}}|}}.''' The reason is: ''Overly verbose with multiple redundancies'' | |||
| '''This article should be cleaned up or improved, as of February 2017.''' The reason is: '' | |} | ||
</div> | |||
: <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"> | |||
{| cellpadding="2" style="width: 100%;" | |||
| '''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... | |||
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center"> | |||
{| cellpadding="2" style="width: 100%;" | |||
| '''This article should be cleaned up or improved, as of February 2017.''' The reason is: ''unspecified'' | |||
|} | |||
</div> | |||
== See also == | == See also == | ||