Template:Cleanup: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
show template - separate documentation
add section parameter
Line 6: Line 6:
| class    = ambox-Cleanup
| class    = ambox-Cleanup
| small    = {{{small|}}}
| small    = {{{small|}}}
| text      = This page requires tidying up! {{#if:{{{2|{{{reason|}}}}}}|The specific problem is: '''{{{2|{{{reason|}}}|Please add a "reason" parameter to this template}}}'''.|(Consider using [[Template:Cleanup|More specific cleanup instructions]].)}} Please help improve this page if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|The [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
| text      = {{#switch: section <!-- switch on value of section -->
  |#default  = This page requires tidying up!
  |yes        = This section requires tidying up!
}}
{{#if:{{{2|{{{reason|}}}}}}|The specific problem is: '''{{{2|{{{reason|}}}|Please add a "reason" parameter to this template}}}'''.|(Consider using [[Template:Cleanup|More specific cleanup instructions]].)}} Please help improve this page if you can. {{#ifeq:{{SUBJECTSPACE}}|{{NAMESPACE}}|The [[{{TALKPAGENAME}}{{#if:{{{talksection|}}}|&#35;{{{talksection}}}}}|talk page]] may contain suggestions.}} {{#if:{{{date|}}}|<small>''({{{date}}})''</small>}}
| doc      = no
| doc      = no
}}<includeonly>[[Category:Pages to clean up]]</includeonly><noinclude>
}}<includeonly>[[Category:Pages to clean up]]</includeonly><noinclude>
Line 23: Line 27:
{{Cleanup|reason=the article is full of incorrect capitalisation|date=April 2012}}  
{{Cleanup|reason=the article is full of incorrect capitalisation|date=April 2012}}  
</pre>
</pre>
=== Other parameters ===
If tag is used for a section of a page use {{cline|section=yes}} to reflect section in text.


[[Category:Page Action Templates]]
[[Category:Page Action Templates]]
</noinclude>
</noinclude>

Revision as of 12:05, 20 December 2018

Documentation

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

{{Cleanup}}

Note: the page will be automatically added to the category pages to clean up.

How to provide more detail

To give more specific instructions and a date in the clean up box use this wiki markup:

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

Other parameters

If tag is used for a section of a page use Template:Cline to reflect section in text.