Template:Expand section/testcases

Test cases, 12 June 2013
OK, so there's special code in Ambox that checks for.

Once I look at this saved page, I see has actually been changed to "date=June 2013". (C.f. :"03:01, Wednesday June 12, 2013 (UTC)") Note also  :"", which will be identical when I save, but the difference is it isn't substed in the preview until the template page is used (transcribed).

Test cases, 2011-12-22
{{testcase {{Expand section/sandbox|1= *Foo bar *Baz quux |{{subst:DATE}}
 * id=Line break in code fixes start-of-line display errors (lists, indents, etc.)
 * 1=

{{Expand section|1=
 * 2=Old:
 * Foo bar
 * Baz quux
 * date=December 2011}}

{{Expand section/sandbox|with= }}
 * 3=New:
 * Foo bar
 * Baz quux
 * date=December 2011}}

{{testcase {{Expand section/sandbox|1= *Foo bar *Baz quux |{{subst:DATE}}
 * id=Line break in code -- current workaround
 * 1=

{{Expand section|1=
 * 2=Old:
 * Foo bar
 * Baz quux
 * date=December 2011}}

{{Expand section/sandbox|with= }}
 * 3=New:
 * Foo bar
 * Baz quux
 * date=December 2011}}

{{Test case|_collapsible=yes|_showcode=yes|_title=Variable width parameter
 * small=left|width=variable|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}

{{Test case|_collapsible=yes|_showcode=yes|_title=Variable width parameter (no small; shouldn't work)
 * small=no|width=variable|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}

{{Test case|_collapsible=yes|_showcode=yes|_title=Variable width parameter (parameter not equal to "variable"; shouldn't work)
 * width=invalid|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}}}}