Difference between revisions of "Template:Cleanup/doc"

From EVE University Wiki
Jump to: navigation, search
m (Add missing }} in example)
m (Fix indentation)
 
(3 intermediate revisions by the same user not shown)
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.
 
;Sample output
 
:<code><nowiki>{{Cleanup}}</nowiki></code> produces this banner:
 
:{| 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: ''{{#if: {{{1|}}}|{{{1}}}|unspecified}}''
 
|}
 
;Optional descriptors
 
: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>
 
;Sample output
 
:<code><nowiki>{{Cleanup|overly verbose with multiple redundancies.|date={{#time: F Y}}}}</nowiki></code> produces this banner:
 
:{| cellpadding="2" style="background-color: #153E7E; color: #FFFFFF; width: 100%; text-align:center;"
 
| '''This article should be cleaned up or improved, as of February 2017.''' The reason is: ''overly verbose with multiple redundancies.''
 
|}
 
  
Putting this template on a page also adds it to the [[:Category:Candidates for cleanup|Candidates for cleanup]] category.
+
; Dependencies
 +
: Uses:
 +
:: {{Tl|Banner}}
 +
 
 +
;Syntax
 +
: {{T|Cleanup|reason|3=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 <!-- Not using the actual template to avoid the automatic category assigning -->
 +
: <code><nowiki>{{Cleanup}}</nowiki></code> gives...
 +
{{Banner|color= #153E7E|border= #153E7E
 +
|'''This article should be cleaned up or improved}}
 +
: <nowiki>{{Cleanup|Overly verbose with multiple redundancies}}</nowiki> gives...
 +
{{Banner|color= #153E7E|border= #153E7E
 +
|'''This article should be cleaned up or improved{{#if: {{{date|}}}|, as of {{{date}}}|}}.'''<br>The reason is: ''Overly verbose with multiple redundancies''}}
 +
: <nowiki>{{Cleanup|Overly verbose with multiple redundancies|date= February 2017}}</nowiki> gives...
 +
{{Banner|color= #153E7E|border= #153E7E
 +
| '''This article should be cleaned up or improved, as of February 2017.''' <br>The reason is: ''Overly verbose with multiple redundancies''}}
 +
: <nowiki>{{Cleanup||date= February 2017}}</nowiki> gives...
 +
{{Banner|color= #153E7E|border= #153E7E
 +
|'''This article should be cleaned up or improved, as of February 2017.'''<br> The reason is: ''unspecified''}}
  
 
== See also ==
 
== See also ==
  
* {{tl|Update}}, for pages which need facts checked, numbers updated, or entire sections altered, to reflect recent game changes.
+
* {{Tl|Update}}, for pages which need facts checked, numbers updated, or entire sections altered, to reflect recent game changes.
  
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
 
<includeonly>[[Category:Maintenance templates]]</includeonly>
<noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude>
+
<noinclude>[[Category:Template documentation]]</noinclude>

Latest revision as of 15:14, 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.
Dependencies
Uses:
{{Banner}}
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.