Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a21ddd6e68cbcf71

Jump to content

Template:Cleanup/testcases

From Wikipedia, the free encyclopedia

Sandbox vs. live version

[edit]

Before April 2012

[edit]
{{Cleanup|date=February 2012 |reason=Lorem ipsum dolor sit amet}}

{{Cleanup}}

{{Cleanup/sandbox}}

{{Cleanup|date=February 2012}}

{{Cleanup}}

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|date=February 2012|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup|disambiguation page|date=February 2012}}

{{Cleanup}}

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|disambiguation page|date=February 2012|reason=<Fill reason here>}}, or remove the Cleanup template.

April 2012

[edit]
{{Cleanup|date=April 2012 |reason=Lorem ipsum dolor sit amet}}

{{Cleanup}}

{{Cleanup/sandbox}}

{{Cleanup|date=April 2012}}

{{Cleanup}}

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|date=April 2012|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup|disambiguation page|date=April 2012}}

{{Cleanup}}

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|disambiguation page|date=April 2012|reason=<Fill reason here>}}, or remove the Cleanup template.

After April 2012

[edit]
{{Cleanup|date=May 2012 |reason=Lorem ipsum dolor sit amet}}

{{Cleanup}}

{{Cleanup/sandbox}}

{{Cleanup|date=May 2012}}

{{Cleanup}}

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|date=May 2012|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup|disambiguation page|date=May 2012}}

{{Cleanup}}

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|disambiguation page|date=May 2012|reason=<Fill reason here>}}, or remove the Cleanup template.

No date specified

[edit]
{{Cleanup|reason=Lorem ipsum dolor sit amet}}

{{Cleanup}}

{{Cleanup/sandbox}}

{{Cleanup}}

{{Cleanup}}

You must add a |reason= parameter to this Cleanup template – replace it with {{Cleanup|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup|disambiguation page}}

{{Cleanup}}

You must add a |reason= parameter to this Cleanup template – replace it with {{Cleanup|disambiguation page|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|disambiguation page|reason=<Fill reason here>}}, or remove the Cleanup template.

Today

[edit]
{{Cleanup|date=July 2026 |reason=Lorem! Ipsum? Dolor. Sit amet}}

{{Cleanup}}

{{Cleanup/sandbox}}

{{Cleanup|date=July 2026 |reason=Lorem ipsum dolor sit amet?}}

{{Cleanup}}

{{Cleanup/sandbox}}

{{Cleanup|date=July 2026 |reason=Lorem ipsum dolor sit amet!}}

{{Cleanup}}

{{Cleanup/sandbox}}

{{Cleanup|date=July 2026 |reason=Lorem ipsum dolor sit amet.}}

{{Cleanup}}

{{Cleanup/sandbox}}

{{Cleanup|date=July 2026}}

{{Cleanup}}

You must add a |reason= parameter to this Cleanup template – replace it with {{Cleanup|date=July 2026|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|date=July 2026|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup|disambiguation page|date=July 2026}}

{{Cleanup}}

You must add a |reason= parameter to this Cleanup template – replace it with {{Cleanup|disambiguation page|date=July 2026|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|disambiguation page|date=July 2026|reason=<Fill reason here>}}, or remove the Cleanup template.

Test of no parameters

[edit]
{{Cleanup}}

{{Cleanup}}

You must add a |reason= parameter to this Cleanup template – replace it with {{Cleanup|reason=<Fill reason here>}}, or remove the Cleanup template.

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|reason=<Fill reason here>}}, or remove the Cleanup template.

These should not produce any clean-up categories on this page, if the template works correctly.

Test of reason without |reason=

[edit]
{{Cleanup|Lorem ipsum dolor sit amet|date=May 2012}}

{{Cleanup}}

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|Lorem ipsum dolor sit amet|date=May 2012|reason=<Fill reason here>}}, or remove the Cleanup template.

In the discussion, it was shown that flipping the unnamed parameter on a template that exists on many pages may not be a good idea. Here's an example:

{{Cleanup|disambiguation page|date=May 2012 |reason=Lorem ipsum dolor sit amet}}

{{Cleanup}}

{{Cleanup/sandbox}}

The real reason for cleanup will disappear, and the type of page, which is at present specified by the unnamed parameter, will become the reason!

Test of old tags with no reason

[edit]
{{Cleanup|date=April 2012}}

{{Cleanup}}

{{Cleanup/sandbox}}

Template:Cleanup error: This template requires a |reason= parameter – replace it with {{Cleanup|date=April 2012|reason=<Fill reason here>}}, or remove the Cleanup template.