Template:Cleanup/testcases#Test of missing reason parameter only

{{Template test cases notice}}

== Sandbox vs. live version ==

==Before April 2012==

{{Test case|_collapsible=yes|_titlecode=yes|reason=Lorem ipsum dolor sit amet|date=February 2012}}

{{Test case|_collapsible=yes|_titlecode=yes|date=February 2012}}

{{Test case|_collapsible=yes|_titlecode=yes|disambiguation page|date=February 2012}}

==April 2012==

{{Test case|_collapsible=yes|_titlecode=yes|reason=Lorem ipsum dolor sit amet|date=April 2012}}

{{Test case|_collapsible=yes|_titlecode=yes|date=April 2012}}

{{Test case|_collapsible=yes|_titlecode=yes|disambiguation page|date=April 2012}}

==After April 2012==

{{Test case|_collapsible=yes|_titlecode=yes|reason=Lorem ipsum dolor sit amet|date=May 2012}}

{{Test case|_collapsible=yes|_titlecode=yes|date=May 2012}}

{{Test case|_collapsible=yes|_titlecode=yes|disambiguation page|date=May 2012}}

==No date specified==

{{Test case|_collapsible=yes|_titlecode=yes|reason=Lorem ipsum dolor sit amet}}

{{Test case|_collapsible=yes|_titlecode=yes}}

{{Test case|_collapsible=yes|_titlecode=yes|disambiguation page}}

==Today==

{{Test case|_collapsible=yes|_titlecode=yes|date={{#time:F Y}}|reason=Lorem! Ipsum? Dolor. Sit amet}}

{{Test case|_collapsible=yes|_titlecode=yes|date={{#time:F Y}}|reason=Lorem ipsum dolor sit amet?}}

{{Test case|_collapsible=yes|_titlecode=yes|date={{#time:F Y}}|reason=Lorem ipsum dolor sit amet!}}

{{Test case|_collapsible=yes|_titlecode=yes|date={{#time:F Y}}|reason=Lorem ipsum dolor sit amet.}}

{{Test case|_collapsible=yes|_titlecode=yes|date={{#time:F Y}}}}

{{Test case|_collapsible=yes|_titlecode=yes|date={{#time:F Y}}|disambiguation page}}

= Test of no parameters =

{{Test case|_collapsible=yes|_titlecode=yes}}

These should not produce any clean-up categories on this page, if the template works correctly.

= Test of reason without {{para|reason}} =

{{Test case|_collapsible=yes|_titlecode=yes|Lorem ipsum dolor sit amet|date=May 2012}}

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:

{{Test case|_collapsible=yes|_titlecode=yes|disambiguation page|reason=Lorem ipsum dolor sit amet|date=May 2012}}

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 =

{{Test case|_collapsible=yes|_titlecode=yes|date=April 2012}}