This is a copy of testcases, only that its test templates compare to sandbox3. It was created to enable back-to-back testing of structural changes done in sandbox3 without interfering with minor feature implementation and maintenance in the main sandbox.


Uses data, no divisor

edit source
Uses data, no divisor
{{Medical cases chart|data=2009-04-13;;;42;;;42;firstright1=y
2009-04-14;;;356;;;356;+748%
2009-04-15;;;1503;;;1,503;+322%
2009-04-16;57;;5915;;;5,915;+294%
2009-04-17;2000;;9500;;;~9,500;+60.6% |disease=Green Flu |location=Savannah |location2=Georgia |location3=United States |numwidth=mw |outbreak=2009 Green Flu outbreak |recoveries=n}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Uses rows, divisor=2550

edit source
Uses rows, divisor=2550

{{Medical cases chart}}

Lua error in mw.text.lua at line 246: bad argument #1 to 'len' (string expected, got nil).

{{Medical cases chart/sandbox3}}

Lua error in mw.text.lua at line 246: bad argument #1 to 'len' (string expected, got nil).

Uses data, divisor=2550

edit source
Uses data, divisor=2550
{{Medical cases chart|altlbl1=Active confirmed |altlbl2=Suspected |altlbl3=Estimated |barwidth=wide |caption=Foo Bar |data=1918-03-10;(2060-300);(3000-800);6000;;;6000;firstright1=y
1918-07;12600;20000;40000;12000;;alttot2=(34000-15000-8700+40);40000;+500%;10500;firstright2=y
;12600;20000;40000;12000;;alttot2=(34000-15000-8700+40);40000;;10500
1919;100000;250000;;;1000000;;;1mi;+500k |disease=Spanish Flu |divisor=2550 |location=the World |numwidth=mwwd |outbreak=1918-20 Spanish Flu pandemic |posttitle=(excluding Oceania) |pretitle=Approximate |right1=Confirmed cases |right2=Including suspected and estimated cases}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Uses data, no divisor

edit source
Uses data, no divisor
{{Medical cases chart|altlbl1=Active confirmed |altlbl2=Suspected |altlbl3=Estimated |barwidth=wide |caption=Foo Bar |data=1918-03-10;(2060-300);(3000-800);6000;;;6000;firstright1=y
1918-07;12600;20000;40000;12000;;alttot2=(34000-15000-8700+40);40000;+500%;10500;firstright2=y
;12600;20000;40000;12000;;alttot2=(34000-15000-8700+40);40000;;10500
1919;100000;250000;;;1000000;;;1mi;+500k |disease=Spanish Flu |location=the World |numwidth=mwwd |outbreak=1918-20 Spanish Flu pandemic |posttitle=(excluding Oceania) |pretitle=Approximate |right1=Confirmed cases |right2=Including suspected and estimated cases}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Uses data, no divisor, barwidth=auto

edit source
uses data, no divisor, barwidth=auto
{{Medical cases chart|barwidth=auto |data=2020-04-11;7;177;381;;;381;+2%;7;=;
2020-04-12;7;201;389;;;389;+2%;7;=;
2020-04-13;7;215;391;;;391;+0.5%;7;=;
2020-04-14;7;235;397;;;397;+1%;7;=; |disease=COVID-19 |location=Jordan |numwidth=mttm*0.7 |outbreak=2019–20 coronavirus pandemic |right2=# of deaths}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

References and math, commas in numbers, no divisor

edit source
References and math, commas in numbers, no divisor
{{Medical cases chart|data=2020-04-11;14/2;177;3,810;;;3,810[1];+2%;7;=;
2020-04-12;28/4;177+24;3,890;;;3,890[a];+2%;7;=;
2020-04-13;49/7;177+24+16;3,910;;;3,910;+0.5%;7;=;
2020-04-14;70/10;177+24+16+18;3,970;;;3,970;+1%;7;=; |disease=COVID-19 |location=Jordan |numwidth=mttm |outbreak=2019–20 coronavirus pandemic |right2=# of deaths}}

{{Medical cases chart}}

Lua error in Module:Medical_cases_chart at line 373: Data parameters 2 to 6 must not be formatted. i=4, line=2020-04-11;14/2;177;3,810;;;3,810'"`UNIQ--ref-0000003E-QINU`"';+2%;7;=;.

{{Medical cases chart/sandbox3}}

Lua error in Module:Medical_cases_chart/sandbox at line 373: Data parameters 2 to 6 must not be formatted. i=4, line=2020-04-11;14/2;177;3,810;;;3,810'"`UNIQ--ref-0000003E-QINU`"';+2%;7;=;.

References

  1. ^ Data from 2020-04-11 12:00:00pm

References

  1. ^ This number is only accurate to 1/1,000,000

Parameters 7-10 empty

edit source
Parameters 7-10 empty
{{Medical cases chart|data=2020-01-20;;;1;
;;;1;
2020-01-24;;;2;
2020-01-25;;;4;
;;;4;
2020-02-18;;12;31
2020-02-19;;16;51
2020-02-20;1;16;104
2020-02-21;2;17;204
2020-02-22;2;18;433
;2;18;433
2020-03-18;234;8042;10661
2020-03-19;236;8114;10674
2020-03-20;236;8114;10674 |disease=Green Flu |location=Savannah |location2=Georgia |location3=United States |numwidth=mwtw |outbreak=2009 Green Flu outbreak |right2=# of deaths}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Parameters 7-10 empty, changetype=absolute

edit source
Parameters 7-10 empty, changetype=absolute
{{Medical cases chart|changetype=absolute |data=2020-01-20;;;1;
;;;1;
2020-01-24;;;2;
2020-01-25;;;4;
;;;4;
2020-02-18;;12;31
2020-02-19;;16;51
2020-02-20;1;16;104
2020-02-21;2;17;204
2020-02-22;2;18;433
;2;18;433
2020-03-18;234;8042;10661
2020-03-19;236;8114;10674
2020-03-20;236;8114;10674 |disease=Green Flu |location=Savannah |location2=Georgia |location3=United States |numwidth=mwtw |outbreak=2009 Green Flu outbreak |right2=# of deaths}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Parameters 7-10 empty, changetype1=absolute, changetype2=percent

edit source
Parameters 7-10 empty, changetype1=absolute, changetype2=percent
{{Medical cases chart|changetype1=absolute |changetype2=percent |data=2020-01-20;;;1;
;;;1;
2020-01-24;;;2;
2020-01-25;;;4;
;;;4;
2020-02-18;;12;31
2020-02-19;;16;51
2020-02-20;1;16;104
2020-02-21;2;17;204
2020-02-22;2;18;433
;2;18;433
2020-03-18;94;8042;10661
2020-03-19;136;8114;10674
2020-03-20;236;8114;10674 |disease=Green Flu |location=Savannah |location2=Georgia |location3=United States |numwidth=mmtx |outbreak=2009 Green Flu outbreak |right2=# of deaths}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Parameters 7-10 empty, changetype1=absolute, changetype2=onlypercent

edit source
Parameters 7-10 empty, changetype1=absolute, changetype2=onlypercent
{{Medical cases chart|changetype1=absolute |changetype2=onlypercent |data=2020-01-20;;;1;
;;;1;
2020-01-24;;;2;
2020-01-25;;;4;
;;;4;
2020-02-18;;12;31
2020-02-19;;16;51
2020-02-20;1;16;104
2020-02-21;2;17;204
2020-02-22;2;18;433
;2;18;433
2020-03-18;94;8042;10661
2020-03-19;136;8114;10674
2020-03-20;236;8114;10674 |disease=Green Flu |location=Savannah |location2=Georgia |location3=United States |numwidth=mmnw |outbreak=2009 Green Flu outbreak |right2data=3}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Parameters 7-10 empty, alternate right1 and right2, no right1data or right2data

edit source
Parameters 7-10 empty, alternate right1 and right2, no right1data or right2data
{{Medical cases chart|altlbl1=Active confirmed |data=2020-01-20;;;1
;;;1
2020-01-24;;;2
2020-01-25;;;4
;;;4
2020-02-18;;12;31
2020-02-19;;16;51
2020-02-20;1;16;104
2020-02-21;2;17;204
2020-02-22;2;18;433
;2;18;433
2020-03-18;234;8042;10661
2020-03-19;236;8114;10674
2020-03-20;236;8114;10674 |disease=Green Flu |location=Savannah |location2=Georgia |location3=United States |numwidth=mwtw |outbreak=2009 Green Flu outbreak |reclbl=Hospitalizations |right1=# of active confirmed |right2=# of hospitalizations}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Parameters 7-10 empty, alternate right1 and right2, provided right1data and right2data

edit source
Parameters 7-10 empty, alternate right1 and right2, provided right1data and right2data
{{Medical cases chart|altlbl1=Active confirmed |data=2020-01-20;;;1
;;;1
2020-01-24;;;2
2020-01-25;;;4
;;;4
2020-02-18;;12;31
2020-02-19;;16;51
2020-02-20;1;16;104
2020-02-21;2;17;204
2020-02-22;2;18;433
;2;18;433
2020-03-18;234;8042;10661
2020-03-19;236;8114;10674
2020-03-20;236;8114;10674 |disease=Green Flu |location=Savannah |location2=Georgia |location3=United States |numwidth=mwtw |outbreak=2009 Green Flu outbreak |reclbl=Hospitalizations |right1=# of active confirmed |right1data=3 |right2=# of hospitalizations |right2data=2}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Parameters 7-10 empty, alternate right1 and right2, alttot1

edit source
Parameters 7-10 empty, alternate right1 and right2, alttot1
{{Medical cases chart|altlbl1=Tested |altlbl2=Clinically diagnosed (C.D.) |altlbl3=Tested or C.D. |data=2020-02-08;811;2649;37198
2020-02-09;908;3281;40171
2020-02-10;1016;3996;42638;(10567-4890);;;;48,315;
2020-02-11;1113;4740;44653;10567;;;;55,220;+14%
2020-02-12;(1367-108);(5911-269);46472;alttot1=(59804-(1367-108)-(5911-269)-13332);(13332-1043);;;;58,761;+6.4%
2020-02-13;1380;6723;48467;alttot1=(63851-1380-6723-15384);15384;;;;63,851;+8.7%
2020-02-14;1523;8096;49970;alttot1=(66492-1523-8096-16492);16492;;;;66,492;+4.1%
2020-02-15;1665;9419;51091;alttot1=((49970+2009-888)-1665-9419);(68500-(49970+2009-888));;;;68,500;+3.0%
2020-02-16;1770;10844;;;70548;;;;+3.0%
2020-02-17;1868;12545;;;72436 |disease=Green Flu |location=Savannah |location2=Georgia |location3=United States |numwidth=mmmw |outbreak=2009 Green Flu outbreak |right1=# of cases<br />(excluding C.D.) |right1data=3 |right2=# of cases<br />(including C.D.) |right2data=5}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

Long collapsible example

edit source
Long collapsible example

Long example, short rowheight, auto toggles, 21 days

edit source
Long example, short rowheight, auto toggles, 21 days

Long example, short rowheight, auto toggles, 21 days, no overlap

edit source
Long example, short rowheight, auto toggles, 21 days, no overlap

Short example, short rowheight, auto toggles, 21 days, no overlap

edit source
Long example, short rowheight, auto toggles, 21 days, no overlap

Wrap around, short rowheight, auto toggles, 21 days, no overlap

edit source
Long example, short rowheight, auto toggles, 21 days, no overlap

Uses note0, note1, note2

edit source
uses note0, note1, note2
{{Medical cases chart|barwidth=auto |data=2020-04-11;7;177;381;;;;;;;note1=[i];note2=[ii]
2020-04-12;7;201;389;;;;;;;note2=[iii]
2020-04-13;7;215;391;;;391;+0.5%;7;=;note1=[iv];note2=[v]
2020-04-14;7;235;397;;;397;+1%;7;=;note2=[vi]
2020-04-14;8;238;401;;;397;+1%;7;=;note0=[vii] |disease=COVID-19 |location=Iloilo City |numwidth=mttm |outbreak=2019–20 coronavirus pandemic |right2=# of deaths}}

{{Medical cases chart}}

table

{{Medical cases chart/sandbox3}}

table

  1. ^ On 2020-04-11, La Paz didn't submit cases.
  2. ^ On 2020-04-11, Lapuz didn't submit deaths.
  3. ^ On 2020-04-12, Jaro didn't submit deaths.
  4. ^ On 2020-04-13, Mandurriao didn't submit cases.
  5. ^ On 2020-04-13, Tanza didn't submit deaths.
  6. ^ On 2020-04-14, Molo didn't submit deaths.
  7. ^ On 2020-04-15, City proper didn't submit data.