Template:Expand section/testcases
{{template test cases notice}}
OLD Testing
{{collapse top|title=OLD Testing}}
class="wikitable"
! !! Current !! Sandbox |
| {{expand section}} | {{expand section/sandbox}} |
| {{expand section|category=}} | {{expand section/sandbox|category=}} |
| {{expand section|examples and additional citations}} | {{expand section/sandbox|examples and additional citations}} |
| {{expand section|talksection=Example}} | {{expand section/sandbox|talksection=Example}} |
| {{expand section|talksection=Example|small=no}} | {{expand section/sandbox|talksection=Example|small=no}} |
| {{expand section|examples and additional citations|talksection=Example}} | {{expand section/sandbox|examples and additional citations|talksection=Example}} |
| {{expand section|catanyway=|date=March 2009}} | {{expand section/sandbox|catanyway=|date=March 2009}} |
{{collapse bottom}}
Legacy
{{Expand section/sandbox|date=June 2013}}
{{Expand section/sandbox|June 2013}}
{{Expand section/sandbox}}
Test cases, 12 June 2013
=Confirming example in description=
{{test case|_showcode=yes|date=June 2013}}
=But is it really working: Trying an earlier date=
{{test case|_showcode=yes|date=1 January 2010}}
Test cases, 2011-12-22
{{test case|_title=Parameter
with=Foo bar baz quux|date=December 2011}}
{{test case|_title=Line break in code fixes start-of-line display errors (lists, indents, etc.)|_showcode=yes|_collapsible=yes|1=
*Foo bar
*Baz quux
|date=December 2011}}
{{test case|_showcode=yes|_collapsible=yes|_title=Line break in code -- current workaround|1=
*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}}}}
Find-sources params 'find' and 'find2'
{{Test case |_collapsible=yes |_showcode=yes |_format=columns |_title=5a. Control: plain search ⟶ small box, no 'find sources' output
|date={{CURRENTMONTHNAME}} {{CURRENTYEAR}} }}
{{Test case |_collapsible=yes |_showcode=yes |_format=columns |_title=5b. small='left' ⟶ small box, no 'find sources'
|small=left}}
{{Test case |_collapsible=yes |_showcode=yes |_title=5c. small='no' ⟶ wide box, no 'find sources'
|small=no}}
{{Test case |_collapsible=yes |_showcode=yes |_title=5d. small='yes' ⟶ wide box, no 'find sources' (any value for small other than 'left' generates wide box; so 'yes' = 'no' !)
|small=yes}}
{{Test case |_collapsible=yes |_showcode=yes |_format=columns |_title=5e. Find param present with small = 'left' ⟶ small box, and 'find sources' output with find param value as quoted search keywords
|small=left|find=Liberation of France}}
{{Test case |_collapsible=yes |_showcode=yes |_format=columns |_title=5f. Find param present, no small ⟶ small box w 'find sources' with find param value as quoted search keywords
|find=Liberation of France}}
{{Test case |_collapsible=yes |_showcode=yes |_title=5g. Find param present with small ≠ 'left' ⟶ wide box w 'find sources' with find param value as quoted search keywords
|small=no|find=Merovingian dynasty}}
{{Test case |_collapsible=yes |_showcode=yes |_format=columns |_title=5h. Find param present, no small ⟶ wide box w 'find sources' with find param value as quoted search keywords
|find=Merovingian dynasty}}
{{Test case |_collapsible=yes |_showcode=yes |_title=5i. Two find params present, small='no' ⟶ wide box w 'find sources' with quoted and unquoted search keywords
|small=no|find=World War I |find2=Eastern front}}
{{Test case |_collapsible=yes |_showcode=yes |_title=5j. Any value for small other than 'left' is the same as 'no' ⟶ same as above (i.e., 'yes' = 'no'!)
|small=yes|find=World War I |find2=Eastern front}}
{{Test case |_collapsible=yes |_showcode=yes |_format=columns |_title=5k. Two find params present, no 'small' param ⟶ small box w 'find sources' with quoted and unquoted search keywords
|find=World War I |find2=Eastern front}}