Difference between revisions of "Template:Infobox outbreak/testcases"
Jump to navigation
Jump to search
imported>JohnnyMyself (Add test case 6 for "website" parameter) |
imported>Andrybak (clean up default preloaded testcases) |
||
| Line 1: | Line 1: | ||
| − | {{Testcases notice | + | {{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 | + | | 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= | + | == 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= | + | {{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= | ||
| − | |||
| − | |||
| − | |||
| − | {{ | ||
| − | |||
| − | |||
| − | |||
| − | |||
|website=https://www.example.com | |website=https://www.example.com | ||
}} | }} | ||
| − | |||
| − | |||
{{clear}} | {{clear}} | ||
== References == | == References == | ||
{{reflist}} | {{reflist}} | ||
| − | |||
Revision as of 22:53, 18 May 2020
| 42px | This is the template test cases page for the sandbox of Template:Infobox outbreak. Script error: No such module "Purge". 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 with these links: |
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}}
| ||||||||||||||||||||||||||||||||||||||||||||||||||||
Individual parameters
|suspected_cases= | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox outbreak|name=countryX|suspected_cases=123}}
{{Infobox outbreak}}
| ||||||||||||||||
|deaths= | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox outbreak|deaths=558|name=countryY}}
{{Infobox outbreak}}
| ||||||||||||
|website= | ||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{Infobox outbreak|website=https://www.example.com}}
{{Infobox outbreak}}
| ||||||||||||||||
References
- ↑ "Negatywny wynik testów "pacjenta zero". Może opuścić szpital". TVP. 17 March 2020.