Jump to content

Template:Infobox outbreak and Template:Infobox outbreak/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
m add some nowraps
 
Fixes for {{{vaccinations}}}
 
Line 1: Line 1:
<noinclude>{{pp-template|small=yes}}</noinclude><includeonly>{{#invoke:Infobox|infoboxTemplate
<includeonly>{{#invoke:Infobox|infoboxTemplate
| abovestyle = background:#FFCCCB
| abovestyle = background:#FFCCCB
| above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
| above = {{#if:{{{name|}}}|{{{name|}}}|{{PAGENAME}}}}
Line 40: Line 40:
| label11 = {{longitem|Type}}
| label11 = {{longitem|Type}}
| data11 = {{{type|}}}
| data11 = {{{type|}}}
| label12 = {{nowrap|Confirmed cases}}
| label12 = Confirmed cases
| data12 = {{{confirmed_cases|}}}
| data12 = {{{confirmed_cases|}}}
| label13 = Active cases
| label13 = Active cases
| data13 = {{{active_cases|}}}
| data13 = {{{active_cases|}}}
| label14 = {{nowrap|Suspected cases<sup>‡</sup>}}
| label14 = Suspected cases<sup>‡</sup>
| data14 = {{{suspected_cases|}}}
| data14 = {{{suspected_cases|}}}
| label15 = Severe cases
| label15 = Severe cases
| data15 = {{{severe_cases|}}}
| data15 = {{{severe_cases|}}}
| label16 = {{nowrap|{{#if:{{{hospitalised_cases|}}}|Hospitalised|Hospitalized}} cases}}
| label16 = {{#if:{{{hospitalised_cases|}}}|Hospitalised|Hospitalized}} cases
| data16 = {{#if:{{{hospitalised_cases|}}}|{{{hospitalised_cases|}}}|{{{hospitalized_cases|}}}}}
| data16 = {{#if:{{{hospitalised_cases|}}}|{{{hospitalised_cases|}}}|{{{hospitalized_cases|}}}}}
| label17 = Critical cases
| label17 = Critical cases
Line 62: Line 62:
| label22 = Fatality rate
| label22 = Fatality rate
| data22 = {{{fatality_rate|}}}
| data22 = {{{fatality_rate|}}}
| label23 = Test positivity rate
| label23 = {{longitem|Territories}}
| data23 = {{{test_positivity_rate|}}}
| data23 = {{{territories|}}}
| label24 = {{longitem|Territories}}
| label24 = Total [[Influenza-like illness|ILI]] cases
| data24 = {{{territories|}}}
| data24 = {{{total_ili|}}}
| label25 = Total [[Influenza-like illness|ILI]] cases
| label25 = Vaccinations
| data25 = {{{total_ili|}}}
| data25 = {{{vaccinations|}}}
| label26 = Vaccinations
| class25 = plainlist
| data26 = {{{vaccinations|}}}
| header26 = {{#if:{{{website|}}}|Government website}}
| class26 = plainlist
| data27 = {{{website|}}}
| header27 = {{#if:{{{website|}}}|Government website}}
| data28 = {{{website|}}}


| belowstyle = text-align:left; border-top:#aaa 1px solid;
| belowstyle = text-align:left; border-top:#aaa 1px solid;
| 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>{{#invoke:Check for unknown parameters|check|unknown={{#if:{{NAMESPACE}}||[[Category:Pages using infobox outbreak with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox outbreak]] with unknown parameter "_VALUE_"|ignoreblank=y| active_cases | alt | alt1 | alt2 | alt3 | alt4 | alt5 | arrival_date | bacteria_strain | caption | confirmed_cases | critical_cases | date | dates | deaths | disease | ecmo_cases | fatality_rate | first_case | first_outbreak | first_report | first_reported | hospitalised_cases | hospitalized_cases | image | image_size | image_upright | index_case | legend1 | legend2 | legend3 | legend4 | legend5 | location | map1 | map1_size | map1_upright | map2 | map2_size | map2_upright | map3 | map3_size | map3_upright | map4 | map4_size | map4_upright | map5 | map5_size | map5_upright | name | origin | parasite_strain | pathogen_strain | recovery_cases | severe_cases | source | suspected_cases | territories | test_positivity_rate | total_ili | type | vaccinations | ventilator_cases | virus_strain | website | width }}<noinclude>
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{#if:{{NAMESPACE}}||[[Category:Pages using infobox outbreak with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox outbreak]] with unknown parameter "_VALUE_"|ignoreblank=y| active_cases | alt | alt1 | alt2 | alt3 | alt4 | alt5 | arrival_date | bacteria_strain | caption | confirmed_cases | critical_cases | date | dates | deaths | disease | ecmo_cases | fatality_rate | first_case | first_outbreak | first_report | first_reported | hospitalised_cases | hospitalized_cases | image | image_size | image_upright | index_case | legend1 | legend2 | legend3 | legend4 | legend5 | location | map1 | map1_size | map1_upright | map2 | map2_size | map2_upright | map3 | map3_size | map3_upright | map4 | map4_size | map4_upright | map5 | map5_size | map5_upright | name | origin | parasite_strain | pathogen_strain | recovery_cases | severe_cases | source | suspected_cases | territories | total_ili | type | vaccinations | ventilator_cases | virus_strain | website | width }}<noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>