Difference between revisions of "Template:Infobox outbreak/testcases"

From blackwiki
Jump to navigation Jump to search
imported>JohnnyMyself
(Add test case 6 for "website" parameter)
imported>Andrybak
Line 1: Line 1:
{{Testcases notice <!--|toc=on-->}}
+
{{Testcases notice|toc=on}}
  
 +
== Full test ==
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Poland
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Poland
 
| name            = 2020 coronavirus pandemic in Poland
 
| name            = 2020 coronavirus pandemic in Poland
 
| map1 = COVID-19 Outbreak Cases in Poland.svg
 
| map1 = COVID-19 Outbreak Cases in Poland.svg
| legend1           = {{center|Map of [[voivodeship]]s with confirmed [[severe acute respiratory syndrome coronavirus 2|SARS-CoV-2]] cases (as of 25 March)}}
+
| legend1         = {{center|Map of [[voivodeship]]s with confirmed [[severe acute respiratory syndrome coronavirus 2|SARS-CoV-2]] cases (as of 25 March)}}
 
| disease        = [[coronavirus disease 2019|COVID-19]]
 
| disease        = [[coronavirus disease 2019|COVID-19]]
 
| virus_strain    = [[severe acute respiratory syndrome coronavirus 2|SARS-CoV-2]]
 
| virus_strain    = [[severe acute respiratory syndrome coronavirus 2|SARS-CoV-2]]
Line 18: Line 19:
 
}}
 
}}
  
{{Test case|_collapsible=yes|_showcode=yes|_title=Test2
+
== Individual parameters ==
 +
{{Test case|_collapsible=yes|_showcode=yes|_title={{para|suspected_cases}}
 
|name=countryX
 
|name=countryX
 
|suspected_cases = 123}}
 
|suspected_cases = 123}}
  
  
{{Test case|_collapsible=yes|_showcode=yes|_title=Test3
+
{{Test case|_collapsible=yes|_showcode=yes|_title={{para|deaths}}
 
|name=countryY
 
|name=countryY
 
|deaths = 558
 
|deaths = 558
 
}}
 
}}
  
 
+
{{Test case|_collapsible=yes|_showcode=yes|_title={{para|website}}
{{Test case|_collapsible=yes|_showcode=yes|_title=Test4
 
|param1|param2|name3=value3|...}}
 
 
 
 
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Test5
 
|param1|param2|name3=value3|...}}
 
 
 
 
 
{{Test case|_collapsible=yes|_showcode=yes|_title=Test6 — Official website
 
 
|website=https://www.example.com
 
|website=https://www.example.com
 
}}
 
}}
  
 
<!--
 
 
{{clear}}
 
{{clear}}
 
== References ==
 
== References ==
 
{{reflist}}
 
{{reflist}}
-->
 

Revision as of 22:53, 18 May 2020

Full test

Poland
{{Infobox outbreak|arrival_date=4 March 2020|confirmed_cases=1717|deaths=20|disease=[[coronavirus disease 2019|COVID-19]]|first_case=[[Zielona Góra]]|legend1=<div class="center" style="width:auto; margin-left:auto; margin-right:auto;">Map of [[voivodeship]]s with confirmed [[severe acute respiratory syndrome coronavirus 2|SARS-CoV-2]] cases (as of 25 March)</div>|location=[[Poland]]|map1=COVID-19 Outbreak Cases in Poland.svg|name=2020 coronavirus pandemic in Poland|origin=[[Germany]]|recovery_cases=23[1]|suspected_cases=1719|unofficial_deaths=2|virus_strain=[[severe acute respiratory syndrome coronavirus 2|SARS-CoV-2]]}}

{{Infobox outbreak}}

2020 coronavirus pandemic in Poland
File:COVID-19 Outbreak Cases in Poland.svg
Map of voivodeships with confirmed SARS-CoV-2 cases (as of 25 March)
DiseaseCOVID-19
Virus strainScript error: No such module "If empty".
LocationPoland
First outbreakGermany
Index caseZielona Góra
Arrival date4 March 2020
Confirmed cases1717
Suspected cases1719
Recovered23[1]
Deaths
20
Suspected cases have not been confirmed by laboratory tests as being due to this strain, although some other strains may have been ruled out.

{{Infobox outbreak/sandbox}}

2020 coronavirus pandemic in Poland
File:COVID-19 Outbreak Cases in Poland.svg
Map of voivodeships with confirmed SARS-CoV-2 cases (as of 25 March)
DiseaseCOVID-19
Virus strainScript error: No such module "If empty".
LocationPoland
First outbreakGermany
Index caseZielona Góra
Arrival date4 March 2020
Confirmed cases1717
Suspected cases1719
Recovered23[1]
Deaths
20
Suspected cases have not been confirmed by laboratory tests as being due to this strain, although some other strains may have been ruled out.

Individual parameters

|suspected_cases=
{{Infobox outbreak|name=countryX|suspected_cases=123}}

{{Infobox outbreak}}

countryX
Pathogen strainScript error: No such module "If empty".
Suspected cases123
Suspected cases have not been confirmed by laboratory tests as being due to this strain, although some other strains may have been ruled out.

{{Infobox outbreak/sandbox}}

countryX
Pathogen strainScript error: No such module "If empty".
Suspected cases123
Suspected cases have not been confirmed by laboratory tests as being due to this strain, although some other strains may have been ruled out.


|deaths=
{{Infobox outbreak|deaths=558|name=countryY}}

{{Infobox outbreak}}

countryY
Pathogen strainScript error: No such module "If empty".
Deaths
558

{{Infobox outbreak/sandbox}}

countryY
Pathogen strainScript error: No such module "If empty".
Deaths
558
|website=
{{Infobox outbreak|website=https://www.example.com}}

{{Infobox outbreak}}

Infobox outbreak/testcases
Pathogen strainScript error: No such module "If empty".
Government website
https://www.example.com

{{Infobox outbreak/sandbox}}

Infobox outbreak/testcases
Pathogen strainScript error: No such module "If empty".
Government website
https://www.example.com

References

  1. "Negatywny wynik testów "pacjenta zero". Może opuścić szpital". TVP. 17 March 2020.