Difference between revisions of "Template:Cleanup/testcases"
Jump to navigation
Jump to search
Test of reason without
imported>Bulwersator (→Before April 2012: April) |
imported>Bulwersator (→Test of {{TL|Cleanup}}: -"These should not produce any clean-up categories on this page, if the template works correctly. " (?)) |
||
| Line 75: | Line 75: | ||
{{Cleanup|date=May 2012|nocat=true}} | {{Cleanup|date=May 2012|nocat=true}} | ||
| − | |||
---- | ---- | ||
| + | |||
=== Test of missing reason parameter only === | === Test of missing reason parameter only === | ||
Revision as of 21:07, 21 May 2012
- REDIRECT Template:Testcases notice
- From a page move: This is a redirect from a page that has been moved (renamed). This page was kept as a redirect to avoid breaking links, both internal and external, that may have been made to the old page name.
Contents
Sandbox vs. live version
Test of Template:TL
Before April 2012
{{Cleanup/sandbox|reason=Lorem ipsum dolor sit amet|date=February 2012}}
| 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|date=February 2012}}
| 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|disambiguation page|date=February 2012}}
| 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. |
April 2012
{{Cleanup/sandbox|reason=Lorem ipsum dolor sit amet|date=April 2012}}
| 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|date=April 2012}}
| 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|disambiguation page|date=April 2012}}
| 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. |
After April 2012
{{Cleanup/sandbox|reason=Lorem ipsum dolor sit amet|date=May 2012}}
| 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|date=May 2012}}
| 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|disambiguation page|date=May 2012}}
| 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. |
No date specified
{{Cleanup/sandbox|reason=Lorem ipsum dolor sit amet}}
| 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}}
| 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|disambiguation page}}
| 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. |
Test of Template:TL
{{Cleanup|reason=Lorem ipsum dolor sit amet|date=May 2012}}
{{Cleanup|date=May 2012}}
| 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. |
| 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. |
Test of missing reason parameter only
{{Cleanup/sandbox}}
{{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. |
| 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. |
These should not produce any clean-up categories on this page, if the template works correctly.
Test of reason without |reason=
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=May 2012}}
| 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. |
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/sandbox|disambiguation page|reason=Lorem ipsum dolor sit amet|date=May 2012}}
| 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. |
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/sandbox|date=April 2012}}
| 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. |