Difference between revisions of "Template:Cleanup/doc"

From EVE University Wiki
Jump to: navigation, search
m (Add missing }} in example)
(Rewrite because of an error in the previous sample)
Line 1: Line 1:
<noinclude>{{main|Template:Cleanup}}</noinclude>
+
; 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.
;Basic Syntax
+
 
:Type <code>{{t|Cleanup}}</code> at the top of the page.
+
;Syntax
;Sample output
+
: {{t|Cleanup|reason|3=date= month year}}
:<code><nowiki>{{Cleanup}}</nowiki></code> produces this banner:
+
:: reason (optional) - Reason why the page need cleanup, If omitted defaults to ''unspecified''.
:{| cellpadding="2" style="background-color: #153E7E; color: #FFFFFF; width: 100%; text-align:center;"
+
:: 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}}''
 
|}
 
|}
;Optional descriptors
+
</div>
:Place a reason after the first pipe (the symbol | ), and the parameter <code>date=</code> to indicate the month of the request. Copy this format, replacing with a reason, and it will automatically add the month of the request: <br/>
+
 
:<code><nowiki>{{Cleanup|</nowiki>''<Place your reason here!>''<nowiki>|date={{subst:#time: F Y}} }}</nowiki></code>
+
: <nowiki>{{Cleanup|Overly verbose with multiple redundancies}}</nowiki> gives...
;Sample output
+
<div style="width: 80%; margin: 1em 10%; padding: 4px; background-color: #153E7E; color: white; text-align:center">
:<code><nowiki>{{Cleanup|overly verbose with multiple redundancies.|date={{#time: F Y}}}}</nowiki></code> produces this banner:
+
{| cellpadding="2" style="width: 100%;"
:{| cellpadding="2" style="background-color: #153E7E; color: #FFFFFF; width: 100%; text-align:center;"
+
| '''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: ''overly verbose with multiple redundancies.''
+
|}
 +
</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>
  
Putting this template on a page also adds it to the [[:Category:Candidates for cleanup|Candidates for cleanup]] category.
+
: <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 ==

Revision as of 14:49, 2 July 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= 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. The reason is: unspecified
{{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.