Template:Expand section/testcases

Test cases, 12 June 2013Edit

Confirming example in description
{{Expand section|{{subst:DATE}}}}
Current:
Sandbox:
But is it really working: Trying an earlier date
{{Expand section|1 January 2010}}
Current:
Sandbox:

OK, so there's special code in {{Ambox}} that checks for {{subst:Date}}.

Once I look at this saved page, I see {{subst:DATE}} has actually been changed to "date=June 2013". (C.f. {{subst:CURRENTDATE}}:"03:01, Wednesday June 12, 2013 (UTC)") Note also {{DATE}}:"date={{subst:CURRENTMONTHNAME}} {{subst:CURRENTYEAR}}", 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-22Edit

Parameter |with= equivalent to |1=
{{Expand section/sandbox|with=Foo bar baz quux|{{subst:DATE}}}}
Old {{{1}}}:
New {{{with}}}:


Line break in code fixes start-of-line display errors (lists, indents, etc.)
 {{Expand section/sandbox|1=
 *Foo bar
 *Baz quux
 |{{subst:DATE}}
Old:
New:
Line break in code -- current workaround
 {{Expand section/sandbox|1=<nowiki />
 *Foo bar
 *Baz quux
 |{{subst:DATE}}
Old:
New:

OLD Testing
  Current Sandbox
{{expand section}}
{{expand section|category=}}
{{expand section|examples and additional citations}}
{{expand section|talksection=Example}}
{{expand section|talksection=Example|small=no}}
{{expand section|examples and additional citations|talksection=Example}}
{{expand section|catanyway=|date=March 2009}}