Template:Cleanup: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
add section parameter
switch try
Line 6: Line 6:
| class    = ambox-Cleanup
| class    = ambox-Cleanup
| small    = {{{small|}}}
| small    = {{{small|}}}
| text      = {{#switch: section <!-- switch on value of section -->
| text      = {{#switch: <!-- switch on value of section -->
   |#default  = This page requires tidying up!
   |#default  = This page requires tidying up!
   |yes        = This section requires tidying up!
   |section = 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>}}
  {{#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>}}

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