Difference between revisions of "Template:Infobox outbreak/sandbox"
imported>Frietjes (sync) |
imported>Jonesey95 (fix if) |
||
| Line 3: | Line 3: | ||
| above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | | above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}} | ||
| headerstyle = background:#eee;<!-- not used in this template, set same as sister template just in case --> | | headerstyle = background:#eee;<!-- not used in this template, set same as sister template just in case --> | ||
| − | | bodystyle = {{if|{{{width|}}}|width:{{{width}}} | + | | bodystyle = {{#if|{{{width|}}}|width:{{{width}}}}} |
| imagestyle = border-bottom:#aaa 1px solid; | | imagestyle = border-bottom:#aaa 1px solid; | ||
| captionstyle = text-align:left; | | captionstyle = text-align:left; | ||
| Line 48: | Line 48: | ||
| label15 = Severe cases | | label15 = Severe cases | ||
| data15 = {{{severe_cases|}}} | | data15 = {{{severe_cases|}}} | ||
| − | | label16 = Hospitalized cases | + | | label16 = {{#if:{{{hospitalised_cases|}}}|Hospitalised|Hospitalized}} cases |
| − | | data16 = {{{hospitalized_cases|}}} | + | | data16 = {{#if:{{{hospitalised_cases|}}}|{{{hospitalised_cases|}}}|{{{hospitalized_cases|}}}}} |
| label17 = Critical cases | | label17 = Critical cases | ||
| data17 = {{{critical_cases|}}} | | data17 = {{{critical_cases|}}} | ||
| Line 72: | Line 72: | ||
| below = {{#if:{{{suspected_cases|}}}|<sup>‡</sup>''Suspected cases have not been confirmed by laboratory tests as being due to this strain, although some other strains may have been ruled out.''}} | | below = {{#if:{{{suspected_cases|}}}|<sup>‡</sup>''Suspected cases have not been confirmed by laboratory tests as being due to this strain, although some other strains may have been ruled out.''}} | ||
}}</includeonly><noinclude> | }}</includeonly><noinclude> | ||
| − | {{documentation}}</noinclude> | + | {{documentation}} |
| + | </noinclude> | ||
Revision as of 17:38, 27 January 2021
| This is the template sandbox page for Template:Infobox outbreak (diff). See also the companion subpage for test cases. |
| This template is used on approximately 520 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them.
Transclusion count updated automatically (see documentation). |
| This template's documentation is missing, inadequate, or does not accurately describe its functionality and/or the parameters in its code. Please help to expand and improve it. |
| This template uses Lua: |
Usage
Template:Parameter names example
{{Infobox outbreak
| name =
| width =
| image =
| image_size =
| image_upright =
| alt =
| caption =
| map1 =
| legend1 =
| map2 =
| legend2 =
| map3 =
| legend3 =
| map4 =
| legend4 =
| map5 =
| legend5 =
| disease =
| virus_strain = <!-- or | bacteria_strain = -->
<!-- or | parasite_strain = -->
<!-- or | pathogen_strain = -->
| location =
| first_outbreak = <!-- Indicates first outbreak globally-->
| first_reported = <!-- Media or historical report, (evidence of prior circulation) -->
<!-- If first outbreak and first report are the same, choose one!-->
| index_case = <!-- National or international depending on article level -->
| arrival_date = <!-- or | dates = -->
| date =
| source = <!-- Animal or other reservoir -->
| type =
| confirmed_cases =
| active_cases =
| suspected_cases =
| severe_cases =
| hospitalized_cases = <!-- or | hospitalised_cases = -->
| critical_cases =
| ventilator_cases =
| ecmo_cases =
| recovery_cases =
| deaths =
| fatality_rate =
| territories =
| total_ili =
| website =
}}
Note: {{{width}}} is currently ineffective.
TemplateData
TemplateData for Infobox outbreak
TemplateData
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Infobox for pandemics
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| The above documentation is transcluded from Template:Infobox outbreak/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |