Template:Cleanup/testcases
This is the template test cases page for the sandbox of Template:Cleanup. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
Sandbox vs. live version
Before April 2012
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem ipsum dolor sit amet. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. No cleanup reason has been specified. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This disambiguation page may require cleanup to meet Wikipedia's quality standards. No cleanup reason has been specified. Please help improve this disambiguation page if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
April 2012
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem ipsum dolor sit amet. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. No cleanup reason has been specified. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This disambiguation page may require cleanup to meet Wikipedia's quality standards. No cleanup reason has been specified. Please help improve this disambiguation page if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
After April 2012
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem ipsum dolor sit amet. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. No cleanup reason has been specified. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This disambiguation page may require cleanup to meet Wikipedia's quality standards. No cleanup reason has been specified. Please help improve this disambiguation page if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
No date specified
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem ipsum dolor sit amet. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{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}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{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}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
Today
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem! Ipsum? Dolor. Sit amet. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem ipsum dolor sit amet? Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem ipsum dolor sit amet! Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem ipsum dolor sit amet. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
You must add a |reason=
parameter to this Cleanup template – replace it with {{Cleanup|date=October 2023|reason=<Fill reason here>}}
, or remove the Cleanup template.
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
{{Cleanup}}
You must add a |reason=
parameter to this Cleanup template – replace it with {{Cleanup|disambiguation page|date=October 2023|reason=<Fill reason here>}}
, or remove the Cleanup template.
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
Test of no parameters
{{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}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
These should not produce any clean-up categories on this page, if the template works correctly.
Test of reason without |reason=
{{Cleanup}}
This Lorem ipsum dolor sit amet may require cleanup to meet Wikipedia's quality standards. No cleanup reason has been specified. Please help improve this Lorem ipsum dolor sit amet if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
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}}
This disambiguation page may require cleanup to meet Wikipedia's quality standards. The specific problem is: Lorem ipsum dolor sit amet. Please help improve this disambiguation page if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist
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
{{Cleanup}}
This template may require cleanup to meet Wikipedia's quality standards. No cleanup reason has been specified. Please help improve this template if you can; the talk page may contain suggestions. |
{{Cleanup/sandbox}}
Error: expandTemplate: template "Cleanup/sandbox" does not exist