Difference between revisions of "Template:Cleanup"

From Nottinghack Wiki
Jump to navigation Jump to search
(tidy doc)
Line 15: Line 15:
 
-->{{#if:{{{2|{{{reason|}}}}}}<!--
 
-->{{#if:{{{2|{{{reason|}}}}}}<!--
 
   -->|The specific problem is: '''{{{2|{{{reason|}}}}}}'''<!--
 
   -->|The specific problem is: '''{{{2|{{{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).
 
}}<!--
 
}}<!--
 
--> Please help improve this page if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|Use the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] to discuss suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
 
--> Please help improve this page if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|Use the [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] to discuss suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
Line 23: Line 23:
 
To indicate that a page is messy and needs tidying up, add this text near the top of the page or section:
 
To indicate that a page is messy and needs tidying up, add this text near the top of the page or section:
  
<pre>
+
'''Note:''' the page will be automatically added to the category [[:Category:Pages to clean up|pages to clean up]].
{{Cleanup}}
 
</pre>
 
  
<onlyinclude>{{Cleanup}}</onlyinclude>
+
===Examples===
 +
Simple.
 +
:<code><nowiki>{{Cleanup}}</nowiki></code>
  
 +
To give more specific instructions and a date in the clean up box use the following wikicode.
 +
:<code><nowiki>{{Cleanup|reason=the article is full of incorrect capitalisation|date=April 2012}}</nowiki></code>
  
'''Note:''' the page will be automatically added to the category [[:Category:Pages to clean up|pages to clean up]].
+
===Parameters ===
 +
;date
 +
:Date of tagging use Month YYYY date format.
  
=== How to provide more detail ===
+
;reason
To give more specific instructions and a date in the clean up box use this wiki markup:
+
:provide the reason the page requires a cleanup.
<pre>
 
{{Cleanup|reason=the article is full of incorrect capitalisation|date=April 2012}}
 
</pre>
 
  
=== Other parameters ===
+
;section
If tag is used for a section of a page use <code>section=yes</code> to reflect section in text.
+
:If tag is used for a section of a page use <code>section=yes</code> to reflect section in text.
  
 
[[Category:Page Action Templates]]
 
[[Category:Page Action Templates]]
 
</noinclude>
 
</noinclude>

Revision as of 12:05, 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.

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.
section
If tag is used for a section of a page use section=yes to reflect section in text.