Difference between revisions of "Template:Cleanup/testcases"

From blackwiki
Jump to navigation Jump to search
imported>Paine Ellsworth
(→‎Test of {{TL|Cleanup/sandbox}}: add explanatory note)
imported>Paine Ellsworth
(self rv)
Line 11: Line 11:
 
{{Cleanup/sandbox|reason=Lorem ipsum dolor sit amet|date=April 2012|nocat=true}}
 
{{Cleanup/sandbox|reason=Lorem ipsum dolor sit amet|date=April 2012|nocat=true}}
 
{{Cleanup/sandbox|date=April 2012|nocat=true}}
 
{{Cleanup/sandbox|date=April 2012|nocat=true}}
<pre>
 
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=April 2012}}
 
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|2=section|date=April 2012}}
 
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|2=disambiguation page|date=April 2012}}
 
</pre>
 
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|date=April 2012|nocat=true}}
 
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|2=section|date=April 2012|nocat=true}}
 
{{Cleanup/sandbox|Lorem ipsum dolor sit amet|2=disambiguation page|date=April 2012|nocat=true}}
 
  
 
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.
 
''Note:  These clearly show that this sandbox version (9 Apr 2012) allows for editors' choice to either use the "reason=" text or to just type the pipe and add a reason.  The "section" and "disambiguation page" are added by the #2 parameter instead of the unnamed parameter, and all this can be explained on the /doc page.''
 
  
 
==== Test of {{TL|Cleanup}} ====
 
==== Test of {{TL|Cleanup}} ====
:''Note:  These "live versions" may appear odd looking.  They will appear normal when sandbox becomes "live".''
 
 
<pre>
 
<pre>
 
{{Cleanup|reason=Lorem ipsum dolor sit amet|date=April 2012}}
 
{{Cleanup|reason=Lorem ipsum dolor sit amet|date=April 2012}}
Line 32: Line 21:
 
{{Cleanup|reason=Lorem ipsum dolor sit amet|date=April 2012|nocat=true}}
 
{{Cleanup|reason=Lorem ipsum dolor sit amet|date=April 2012|nocat=true}}
 
{{Cleanup|date=April 2012|nocat=true}}
 
{{Cleanup|date=April 2012|nocat=true}}
<pre>
 
{{Cleanup|Lorem ipsum dolor sit amet|date=April 2012}}
 
{{Cleanup|Lorem ipsum dolor sit amet|2=section|date=April 2012}}
 
{{Cleanup|Lorem ipsum dolor sit amet|2=disambiguation page|date=April 2012}}
 
</pre>
 
{{Cleanup|Lorem ipsum dolor sit amet|date=April 2012|nocat=true}}
 
{{Cleanup|Lorem ipsum dolor sit amet|2=section|date=April 2012|nocat=true}}
 
{{Cleanup|Lorem ipsum dolor sit amet|2=disambiguation page|date=April 2012|nocat=true}}
 
  
 
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.  

Revision as of 01:41, 10 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.