Difference between revisions of "Template:Cleanup/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(self rv)
imported>Aircorn
(Add test when reason not added to reason = para)
Line 34: Line 34:
  
 
These should not produce any clean-up categories on this page, if the template works correctly.
 
These should not produce any clean-up categories on this page, if the template works correctly.
 +
 +
=== Test of reason without {{para|reason}} ===
 +
 +
<pre>
 +
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=April 2012}}
 +
</pre>
 +
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=April 2012|nocat=true}}

Revision as of 08:26, 12 April 2012

  1. 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.

Sandbox vs. live version

Test of Template:TL

{{Cleanup/sandbox|reason=Lorem ipsum dolor sit amet|date=April 2012}}
{{Cleanup/sandbox|date=April 2012}}



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}}

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}}


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}}