Template:Infobox outbreak/doc
| This is a documentation subpage for Template:Infobox outbreak. It may contain usage information, categories and other content that is not part of the original template page. |
| This template is used on many pages. It is used on the high-profile COVID articles. 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. |
| This template uses Lua: |
Usage
[edit]This template is used for disease outbreaks.
| {{{name}}} | |
|---|---|
| [[File:{{{image}}}|{{{image_size}}}|alt={{{alt}}}|upright={{{image_upright}}}]] {{{caption}}} | |
| [[File:{{{map1}}}|frameless|alt={{{alt1}}}]] {{{legend1}}} | |
| [[File:{{{map2}}}|frameless|alt={{{alt2}}}]] {{{legend2}}} | |
| [[File:{{{map3}}}|frameless|alt={{{alt3}}}]] {{{legend3}}} | |
| [[File:{{{map4}}}|frameless|alt={{{alt4}}}]] {{{legend4}}} | |
| [[File:{{{map5}}}|frameless|alt={{{alt5}}}]] {{{legend5}}} | |
| Disease | {{{disease}}} |
| Pathogen | {{{pathogen}}} |
| Source | {{{source}}} |
| Location | {{{location}}} |
| First outbreak | {{{first_outbreak}}} |
| First reported | {{{first_reported}}} |
| Index case | {{{index_case}}} |
| Arrival date | {{{arrival_date}}} |
| Date | {{{date}}} |
Type | {{{type}}} |
| Confirmed cases | {{{confirmed_cases}}} |
| Active cases | {{{active_cases}}} |
| Suspected cases | {{{suspected_cases}}} |
| Severe cases | {{{severe_cases}}} |
| Hospitalized cases | {{{hospitalized_cases}}} |
| Critical cases | {{{critical_cases}}} |
| Ventilator cases | {{{ventilator_cases}}} |
| Recovered | {{{recovery_cases}}} |
Deaths | {{{deaths}}} |
| Fatality rate | {{{fatality_rate}}} |
| Test positivity rate | {{{test_positivity_rate}}} |
Territories | {{{territories}}} |
| Total ILI cases | {{{total_ili}}} |
| Government website | |
| {{{website}}} | |
{{Infobox outbreak
| name =
| width =
| image =
| image_size =
| image_upright =
| alt =
| caption =
| map1 =
| legend1 =
| map2 =
| legend2 =
| map3 =
| legend3 =
| map4 =
| legend4 =
| map5 =
| legend5 =
| disease =
| pathogen = <!-- Name of the pathogen. Be reasonably specific. -->
| location =
| WHO status =
| 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 =
| test_positivity_rate = <!-- Indicates test positivity rate -->
| territories =
| total_ili =
| website =
| vaccinations = <!-- A list in here will be shown without bullet points -->
}}
Note: {{{width}}} is currently ineffective.
TemplateData
[edit]TemplateData for Infobox outbreak
Infobox for disease outbreaks
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Name | name | The name of the outbreak, appearing at the top of the infobox in bold | String | deprecated |
| Image | image | An image related to the outbreak, appearing below the title but above any maps | File | optional |
| Image size | image_size | The image width in pixels ("px" is automatically added if omitted); overrides image scale. Default is 250px (unless changed in user preferences). | Number | deprecated |
| Image scale | image_upright | A scale to apply to the size of the image
| Number | optional |
| Image caption | caption | A caption for the image | Content | optional |
| Alt text for image | alt | The alt text for the image, for use when the image doesn't load or by screen readers or search engines | String | optional |
| Map 1 | map1 | A map of the outbreak, appearing below "image" but above the data | File | optional |
| Legend for map 1 | legend1 | Legend for map 1, appearing as a caption underneath the map | Content | optional |
| Alt text for map 1 | alt1 | The alt text for map 1, for use when the image doesn't load or by screen readers or search engines | String | optional |
| Map 2 | map2 | A second map of the outbreak, appearing below map 1 | File | optional |
| Legend for map 2 | legend2 | Legend for map 2, appearing as a caption underneath the map | Content | optional |
| Alt text for map 2 | alt2 | The alt text for map 2, for use when the image doesn't load or by screen readers or search engines | String | optional |
| Map 3 | map3 | A third map of the outbreak, appearing below map 2 | File | optional |
| Legend for map 3 | legend3 | Legend for map 3, appearing as a caption underneath the map | Content | optional |
| Alt text for map 3 | alt3 | The alt text for map 3, for use when the image doesn't load or by screen readers or search engines | String | optional |
| Map 4 | map4 | A fourth map of the outbreak, appearing below map 3 | File | optional |
| Legend for map 4 | legend4 | Legend for map 4, appearing as a caption underneath the map | Content | optional |
| Alt text for map 4 | alt4 | The alt text for map 4, for use when the image doesn't load or by screen readers or search engines | String | optional |
| Map 5 | map5 | A fifth map of the outbreak, appearing below map 4 | File | optional |
| Legend for map 5 | legend5 | Legend for map 5, appearing as a caption underneath the map | Content | optional |
| Alt text for map 5 | alt5 | The alt text for map 5, for use when the image doesn't load or by screen readers or search engines | String | optional |
| Disease | disease | The name of the disease involved in the outbreak | Line | suggested |
| Pathogen | pathogen | Pathogen(s) causing the disease involved in the outbreak | Line | optional |
| Location | location | The location affected by the outbreak
| Line | suggested |
| WHO status | WHO status | Line | optional | |
| first_outbreak | first_outbreak | no description | Unknown | optional |
| first_reported | first_reported first_report | no description | Unknown | optional |
| Index case | index_case first_case | The first recorded case of the outbreak (if known)
| Line | optional |
| Arrival date | arrival_date | The date the outbreak arrived to the relevant location (if applicable) | Line | optional |
| Dates | dates | The dates between which the outbreak took place (if "Arrival date" is used, it replaces this) | Line | optional |
| Date | date | The date of the outbreak | Line | optional |
| Source | source | Source of the pathogen, e.g. some animal population acting as a reservoir.
| Line | optional |
| Origin | origin | The origin of the outbreak | Line | optional |
| Type | type | The type of outbreak | Line | optional |
| Confirmed cases | confirmed_cases | The number of confirmed total cases related to the outbreak | Line | optional |
| Active cases | active_cases | The number of confirmed active cases related to the outbreak | Line | optional |
| Suspected cases | suspected_cases | The number of suspected cases related to the outbreak | Line | optional |
| Severe cases | severe_cases | The number of severe cases of the outbreak | Line | optional |
| Hospitalized cases | hospitalized_cases hospitalised_cases | The total number of people who have required hospitalization over the course of the outbreak | Line | optional |
| Critical cases | critical_cases | The total number of people who have required critical care/ICU level care over the course of the outbreak | Line | optional |
| Ventilator cases | ventilator_cases | For respiratory outbreaks. The total number of people who have required ventilator support over the course of the outbreak | Line | optional |
| ECMO cases | ecmo_cases | The total number of people who have required extracorporal membrane oxygenation over the course of the outbreak | Line | optional |
| Recovered | recovery_cases | The number of people known to have recovered from the outbreak | Line | optional |
| Deaths | deaths | The number of people known to have died from the outbreak | Line | suggested |
| Fatality rate | fatality_rate | The ratio of deaths compared to the total number of people diagnosed with the disease | Line | optional |
| test_positivity_rate | test_positivity_rate | no description | Unknown | optional |
| Territories | territories | The territories affected by the outbreak | Line | optional |
| Total ILI cases | total_ili | The total number of cases of an influenza-like illness (ILI) (if applicable) | Line | optional |
| Vaccination stats | vaccinations | Vaccination statistics in any format. A bulleted list will be shown without bullets which is helpful to show first dose, second dose, etc. | Content | optional |
| Official website | website | An official website related to the outbreak | Line | optional |
| Width (ineffective) | width | The width of the infobox in px, pt, em or % (ineffective)
| Line | deprecated |
| map1_size | map1_size | no description | Unknown | optional |
| map1_upright | map1_upright | no description | Unknown | optional |
| map2_size | map2_size | no description | Unknown | optional |
| map2_upright | map2_upright | no description | Unknown | optional |
| map3_size | map3_size | no description | Unknown | optional |
| map3_upright | map3_upright | no description | Unknown | optional |
| map4_size | map4_size | no description | Unknown | optional |
| map4_upright | map4_upright | no description | Unknown | optional |
| map5_size | map5_size | no description | Unknown | optional |
| map5_upright | map5_upright | no description | Unknown | optional |