| This is the template test cases page for the sandbox of Template:Medical cases chart. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Uses float, locations, recoveries and parameters 7-8
editUses float, locations, recoveries and parameters 7-8
{{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 |float=center |location=Savannah |location2=Georgia |location3=United States |numwidth=mw |outbreak=2009 Green Flu outbreak |recoveries=n}}
Uses barwidth, rowheight, titles, labels, collapsible, headings, math and parameters 7-10
editUses barwidth, rowheight, titles, labels, collapsible, headings, math and parameters 7-10
{{Medical cases chart|altlbl1=Active confirmed |altlbl2=Suspected |altlbl3=Estimated |barwidth=wide |collapsible=n |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=mwmm |outbreak=1918-20 Spanish Flu pandemic |posttitle=(excluding Oceania) |pretitle=Approximate |right1=Confirmed cases |right2=Including suspected and estimated cases |rowheight=1.8}}
Uses barwidth=auto and modified numwidth
editUses barwidth=auto and modified numwidth
{{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}}
Parameters 7-10 empty
editParameters 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=mxtx |outbreak=2009 Green Flu outbreak |right2=# of deaths}}
changetype=absolute
editchangetype=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=mwtm |outbreak=2009 Green Flu outbreak |right2=# of deaths}}
changetype1=absolute, changetype2=percent
editchangetype1=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=mwtx |outbreak=2009 Green Flu outbreak |right2=# of deaths}}
changetype1=absolute, changetype2=onlypercent and right2data
editchangetype1=absolute, changetype2=onlypercent and right2data
{{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=mwnx |outbreak=2009 Green Flu outbreak |right2data=3}}
Alternate right1 and right2, no right1data or right2data
editAlternate 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=dddd |outbreak=2009 Green Flu outbreak |reclbl=Hospitalizations |right1=# of active confirmed |right2=# of hospitalizations}}
Alternate right1 and right2, provided right1data and right2data
editAlternate 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=mxtx |outbreak=2009 Green Flu outbreak |reclbl=Hospitalizations |right1=# of active confirmed |right1data=3 |right2=# of hospitalizations |right2data=2}}
Alternate right1 and right2, and alttot1
editAlternate right1 and right2, and 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=mmmm |outbreak=2009 Green Flu outbreak |right1=# of cases<br />(excluding C.D.) |right1data=3 |right2=# of cases<br />(including C.D.) |right2data=5}}
Long collapsible example with footer
editLong collapsible example with footer
Long example, short rowheight, 21 days
editLong example, short rowheight, 21 days
Long example, short rowheight, 21 days, nooverlap
editLong example, short rowheight, 21 days, nooverlap
Short example, short rowheight, 21 days, nooverlap
editShort example, short rowheight, 21 days, nooverlap
{{Medical cases chart|collapsible=y |data=2020-03-31;165;5567;9887;;;9,887;+1.0%;165;+1.9%
2020-04-01;169;5828;9976;;;9,976;+0.90%;169;+2.4%
2020-04-02;174;6021;10062;;;10,062;+0.86%;174;+3.0% |disease=COVID-19 |duration=21 |footer=Data sourced from [https://www.cdc.go.kr/board/board.es?mid=a30402000000&bid=0030 KCDC]; see the [[Template:2019–20 coronavirus pandemic data/South Korea medical cases|statistics]] for detailed references. |location=South Korea |nooverlap=true |numwidth=mwtm |outbreak=2019–20 coronavirus pandemic |right2=# of deaths |rowheight=1.2}}
altlbl1=hide, 5 days, nooverlap, right1data=alttot2, diverse intervals and notes in footer
editaltlbl1=hide, 5 days, nooverlap, right1data=alttot2, diverse intervals and notes in footer
{{Medical cases chart|altlbl1=hide |altlbl2=Moderate cases |altlbl3=Severe cases (hospitalized) |changetype=a |data=2014-01-01;;;;;;alttot2=1;;+1
2014-01-15;1;;;;;alttot2=1;;=;;+1
2014-01-20;2;;;1;;alttot2=1;;=;;+1
note0={{#parsoid
Wrap around, 21 days, nooverlap
editWrap around, 21 days, nooverlap
{{Medical cases chart|data=2020-03-29;158;5228;9661;;;9,661;+0.81%;158;+3.9%
;;;
2020-05-30;162;5408;9786;;;9,786;+1.3%;162;+2.5%
;;;
2020-07-11;165;5567;9887;;;9,887;+1.0%;165;+1.9%
;;;
2020-12-01;169;5828;9976;;;9,976;+0.90%;169;+2.4%
;;;
2021-02-22;174;6021;10062;;;10,062;+0.86%;174;+3.0%
;;;
2021-03-29;174;6021;10062;;;10,062;+0.86%;174;+3.0% |disease=COVID-19 |duration=21 |footer=Data sourced from [https://www.cdc.go.kr/board/board.es?mid=a30402000000&bid=0030 KCDC]; see the [[Template:2019–20 coronavirus pandemic data/South Korea medical cases|statistics]] for detailed references. |location=South Korea |nooverlap=true |numwidth=mwtm |outbreak=2019–20 coronavirus pandemic |right2=# of deaths}}
barwidth=auto, notes and reference
editbarwidth=auto, notes and reference
{{Medical cases chart|barwidth=auto |data=2020-04-11;7;177;381;;;;;;;note1={{#parsoid
- 1 2 On 2020-04-11, Lapuz didn't submit deaths.
- 1 2 On 2020-04-12, Jaro didn't submit deaths.
- 1 2 On 2020-04-13, Tanza didn't submit deaths.
- 1 2 On 2020-04-14, Molo didn't submit deaths.
- On 2020-04-11, La Paz didn't submit cases.
- On 2020-04-13, Mandurriao didn't submit cases.
Cite error: A list-defined reference named "Mandurriao_Apr13" is not used in the content (see the help page).
Changetypes for 7-days rolling average and incidence
editChangetypes for 7-days rolling average and incidence
{{Medical cases chart|changetype1=w |changetype2=r |data=2020-11-13;40769;(377906-40769-12400);1458591
;40769;(377906-40769-12400);1458591
2020-11-16;41253;(377906-41253-12400);1496864
2020-11-17;41688;(377906-41688-12400);1510023
2020-11-18;42039;(377906-42039-12400);1525341
2020-11-19;42291;(377906-42291-12400);1541574
2020-11-20;42619;(377906-42619-12400);1556730
;42619;(377906-42619-12400);1556730
2020-11-23;43131;(377906-43131-12400);1582616
2020-11-24;43668;(377906-43668-12400);1594844
2020-11-25;44037;(377906-44037-12400);1605066
2020-11-26;44374;(377906-44374-12400);1617355
2020-11-27;44668;(377906-44668-12400);1628208
;44668;(377906-44668-12400);1628208
2020-11-30;45069;(377906-45069-12400);1648187
2020-12-01;45511;(377906-45511-12400);1656444
2020-12-02;45784;(377906-45784-12400);1665775
2020-12-03;46038;(377906-46038-12400);1675902
2020-12-04;46252;(377906-46252-12400);1684647
;46252;(377906-46252-12400);1684647
2020-12-07;46646;(377906-46646-12400);1702328
;46646;(377906-46646-12400);1702328
2020-12-09;47019;(377906-47019-12400);1712101
2020-12-10;47344;(377906-47344-12400);1720056
2020-12-11;47624;(377906-47624-12400);1730575
;47624;(377906-47624-12400);1730575
2020-12-14;48013;(377906-48013-12400);1751884
2020-12-15;48401;(377906-48401-12400);1762212
2020-12-16;48596;(377906-48596-12400);1773290
2020-12-17;48777;(377906-48777-12400);1785421
2020-12-18;48926;(377906-48926-12400);1797236 |disease=COVID-19 |location=Spain |numwidth=wwmw |outbreak=COVID-19 pandemic |population=47431256 |right2=# of deaths}}