Template:Cleanup: Difference between revisions

From Nottinghack Wiki
Jump to navigation Jump to search
test
test priority
Line 19: Line 19:
   -->{{#switch: {{{section}}}<!-- switch on value of section -->
   -->{{#switch: {{{section}}}<!-- switch on value of section -->
       |#default = {{#ifeq: {{{priority}}}|high|This page requires '''urgent''' attention!&nbsp;|This page requires cleaning up!&nbsp;}}
       |#default = {{#ifeq: {{{priority}}}|high|This page requires '''urgent''' attention!&nbsp;|This page requires cleaning up!&nbsp;}}
       |yes = This section requires cleaning up!&nbsp;
       |yes = {{#ifeq: {{{priority}}}|high|This section requires '''urgent''' attention!&nbsp;|This section requires cleaning up!&nbsp;}}
       }}<!--
       }}<!--
   -->{{#if:{{{2|{{{reason|}}}}}}<!--
   -->{{#if:{{{2|{{{reason|}}}}}}<!--
Line 26: Line 26:
       }}<!--
       }}<!--
--> 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>}}
}}<includeonly>[[Category:Pages to clean up]]</includeonly><noinclude><!--
}}<includeonly>[[Category:Pages to clean up]]{{#ifeq: {{{priority}}}|high|[[Category:Pages to clean up (high priority)]]}}</includeonly><noinclude><!--
-->
-->
==Documentation==
==Documentation==

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

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.