Difference between revisions of "Template:Cleanup"

From Nottinghack Wiki
Jump to navigation Jump to search
(comment out unused elements)
Line 1: Line 1:
 
{{Ambox
 
{{Ambox
| name      = Cleanup
 
 
<!-- | subst    = {{subst:substcheck}} - not used on Nottinghack Wiki? -->
 
<!-- | subst    = {{subst:substcheck}} - not used on Nottinghack Wiki? -->
 
<!-- | demospace = {{{demospace|}}} -  not used on Nottinghack Wiki? -->
 
<!-- | demospace = {{{demospace|}}} -  not used on Nottinghack Wiki? -->
 +
<!-- | small    = {{{small|}}}  - not used on Nottinghack Wiki? -->
 +
<!-- | doc      = no  - not used on Nottinghack Wiki? -->
 
<!-- | image = - use default image for type=style (sweeping brush) -->
 
<!-- | image = - use default image for type=style (sweeping brush) -->
 +
| name      = Cleanup
 
| type      = style
 
| type      = style
 
| class    = ambox-Cleanup
 
| class    = ambox-Cleanup
| small    = {{{small|}}}
+
| text      = <!--
| text      = {{#switch: {{{section}}}<!-- switch on value of section -->
+
-->{{#switch: {{{section}}}<!-- switch on value of section -->
   |#default   = This page requires tidying up!
+
   |#default = This page requires cleaning up!&nbsp;
   |yes = This section requires tidying up!
+
   |yes = This section requires cleaning up!&nbsp;
}}  
+
}}<!--
{{#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|}}}}}}<!--
| doc      = no
+
  -->|The specific problem is: '''{{{2|{{{reason|}}}}}}'''<!--
}}<includeonly>[[Category:Pages to clean up]]</includeonly><noinclude>
+
  -->|'''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>}}
 +
}}<includeonly>[[Category:Pages to clean up]]</includeonly><noinclude><!--
 +
-->
 
==Documentation==
 
==Documentation==
 
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:
Line 20: Line 26:
 
{{Cleanup}}
 
{{Cleanup}}
 
</pre>
 
</pre>
 +
 +
<onlyinclude>{{Cleanup}}</onlyinclude>
 +
  
 
'''Note:''' the page will be automatically added to the category [[:Category:Pages to clean up|pages to clean up]].
 
'''Note:''' the page will be automatically added to the category [[:Category:Pages to clean up|pages to clean up]].

Revision as of 11:54, 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:

{{Cleanup}}

Template loop detected: Template: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 section=yes to reflect section in text.