Template:Infobox earthquakes in date
{{#invoke:infobox|infoboxTemplate
| bodyclass = vevent
| title = {{#if:{{{month|}}}||Earthquakes in}} {{if empty|{{{month|}}}|{{{year|}}}|{{{decade|}}}}}
| titleclass = summary
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|alt={{{image_alt|}}}}}
| caption = {{{caption|}}}
| image2 = {{#if:{{{location_map|}}}|
|float = center
|relief = yes
|width = {{{location_map_width|300}}}
|places =
{{{location_map_places|}}}
|caption = {{#if:{{{location_map_caption|}}}|{{{location_map_caption|}}}|
Approximate epicenters of the earthquakes in {{if empty|{{{month|}}}|{{{year|}}}|{{{decade|}}}}}
{{plainlist}}
{{col-begin}}
{{col-2}}
- File:Green pog.svg 4.0–5.9 magnitude
- File:Yellow pog.svg 6.0–6.9 magnitude
{{col-2}}
- File:Orange pog.svg 7.0–7.9 magnitude
- File:Red pog.svg 8.0+ magnitude
{{col-end}}
{{endplainlist}}}}}}
}}
| headerstyle = background:lavender
| label1 = {{nowrap|Strongest magnitude}}
| data1 = {{{strongest|{{{largest|}}}}}}
| label2 = Deadliest
| data2 = {{{deadliest|}}}
| label3 = Total fatalities
| data3 = {{{fatalities|}}}
| label4 = Number of major earthquakes
| data4 = {{{number|}}}
| header5 = {{#if:{{{9.0+|}}}{{{8.0–8.9|{{{8.0–8.9|{{{8.0-8.9|}}}}}}}}}{{{7.0–7.9|{{{7.0–7.9|{{{7.0-7.9|}}}}}}}}}{{{6.0–6.9|{{{6.0–6.9|{{{6.0-6.9|}}}}}}}}}{{{5.0–5.9|{{{5.0–5.9|{{{5.0-5.9|}}}}}}}}}|Number by magnitude}}
| label6 = 9.0+
| data6 = {{{9.0+|}}}
| label7 = 8.0–8.9
| data7 = {{{8.0–8.9|{{{8.0–8.9|{{{8.0-8.9|}}}}}}}}}
| label8 = 7.0–7.9
| data8 = {{{7.0–7.9|{{{7.0–7.9|{{{7.0-7.9|}}}}}}}}}
| label9 = 6.0–6.9
| data9 = {{{6.0–6.9|{{{6.0–6.9|{{{6.0-6.9|}}}}}}}}}
| label10 = 5.0–5.9
| data10 = {{{5.0–5.9|{{{5.0–5.9|{{{5.0-5.9|}}}}}}}}}
| label11 = 4.0–4.9
| data11 = {{{4.0–4.9|{{{4.0–4.9|{{{4.0-4.9|}}}}}}}}}
| belowstyle = border-top:#aaa 1px solid
| below = {{#if:{{{year|}}}|{{#ifexist:List of earthquakes in {{{prev|{{#expr:{{{year}}}-1}}}}}|{{align|left|← List of earthquakes in {{{prev}}}}}}{{#if:{{{year|}}}|{{#ifexpr:{{{year}}}<{{#time:Y|+2 weeks}}|{{#ifexist:List of earthquakes in {{{prev|{{#expr:{{{year}}}+1}}}}}|{{align|right|List of earthquakes in {{{prev →}}}}}}}}{{#if:{{{decade|}}}|{{#ifexist:List of earthquakes {{{prev|{{#expr:{{#invoke:string|sub|{{{decade}}}|1|4}}-10}}}}}–{{{prev|{{#expr:{{#invoke:string|sub|{{{decade}}}|6}}-10}}}}}|{{align|left|← List of earthquakes {{{prev}}}}}}{{#if:{{{decade|}}}|{{#ifexist:List of earthquakes {{{prev|{{#expr:{{#invoke:string|sub|{{{decade}}}|1|4}}+10}}}}}–{{{prev|{{#expr:{{#invoke:string|sub|{{{decade}}}|6}}+10}}}}}|{{align|right|List of earthquakes {{{prev →}}}}}}
}}
{{documentation}}