Difference between revisions of "Template:Cleanup/testcases"
Jump to navigation
Jump to search
Test of reason without
imported>Aircorn (Add test when reason not added to reason = para) |
imported>Paine Ellsworth (→Test of reason without {{para|reason}}: add live version with a footnote) |
||
| Line 39: | Line 39: | ||
<pre> | <pre> | ||
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=April 2012}} | {{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=April 2012}} | ||
| + | {{Cleanup|Lorem ipsum dolor sit amet|date=April 2012}} | ||
</pre> | </pre> | ||
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=April 2012|nocat=true}} | {{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=April 2012|nocat=true}} | ||
| + | {{Cleanup|Lorem ipsum dolor sit amet|date=April 2012|nocat=true}} | ||
| + | |||
| + | Remember that the second box is similar to what some ''already existing'' tags will look like. In [[Template talk:Cleanup#Implementing mandatory reason field|the discussion]], it was shown that flipping the unnamed parameter on a template that exists on many pages is not a good idea. | ||
Revision as of 22:24, 12 April 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
{{Cleanup/sandbox|reason=Lorem ipsum dolor sit amet|date=April 2012}}
{{Cleanup/sandbox|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. |
| 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 Template:TL
{{Cleanup|reason=Lorem ipsum dolor sit amet|date=April 2012}}
{{Cleanup|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. |
| 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 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=April 2012}}
{{Cleanup|Lorem ipsum dolor sit amet|date=April 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. |
| 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. |
Remember that the second box is similar to what some already existing tags will look like. In the discussion, it was shown that flipping the unnamed parameter on a template that exists on many pages is not a good idea.