Difference between revisions of "Template:Cleanup"

From Nottinghack Wiki
Jump to navigation Jump to search
(priority doc)
((also works using 1st unnamed parameter).)
 
Line 21: Line 21:
 
       |yes = {{#ifeq: {{{priority}}}|high|This section requires '''urgent''' attention! |This section requires cleaning up! }}
 
       |yes = {{#ifeq: {{{priority}}}|high|This section requires '''urgent''' attention! |This section requires cleaning up! }}
 
       }}<!--
 
       }}<!--
   -->{{#if:{{{2|{{{reason|}}}}}}<!--
+
   -->{{#if:{{{1|{{{reason|}}}}}}<!--
     -->|The specific problem is: '''{{{2|{{{reason|}}}}}}'''<!--
+
     -->|The specific problem is: '''{{{1|{{{reason|}}}}}}'''<!--
 
     -->|'''Describe the specific problem using the 'reason' parameter''' (See [[Template:Cleanup|Cleanup template]] for instructions).
 
     -->|'''Describe the specific problem using the 'reason' parameter''' (See [[Template:Cleanup|Cleanup template]] for instructions).
 
       }}<!--
 
       }}<!--
Line 45: Line 45:
  
 
;reason
 
;reason
:Provide the reason the page requires a cleanup.
+
:Provide the reason the page requires a cleanup (also works using 1st unnamed parameter).
  
 
;section
 
;section

Latest revision as of 21:20, 15 February 2019

Documentation

To indicate that a page is messy and needs tidying up, add this text near the top of the page or section:

Note: the page will be automatically added to the category pages to clean up. If priority is set to high it will also be to Category:Pages to clean up (high priority).

Examples

Simple.

{{Cleanup}}

To give more specific instructions and a date in the clean up box use the following wikicode.

{{Cleanup|reason=the article is full of incorrect capitalisation|date=April 2012}}

Parameters

date
Date of tagging use Month YYYY date format.
reason
Provide the reason the page requires a cleanup (also works using 1st unnamed parameter).
section
If tag is used for a section of a page use section=yes to reflect section in text.
priority
Use priority=high make the message and appearance of the banner more urgent, and the page is added to Category:Pages to clean up (high priority).