Jump to content

Template:Tornado chart small: Difference between revisions

From Shark's Hypothetical Weather
No edit summary
Tag: Reverted
No edit summary
Tag: Manual revert
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
{| class="wikitable" style="width:18em;{{#switch:{{{align|right}}}|right=float:right; clear:right; margin:0.5em 0 0.5em 1em;|center=float: none; clear: both; margin-left: auto; margin-right: auto;|left=float:left; clear:left; margin:0.5em 1em 0.5em 0;}}"
{| class="wikitable" style="width:18em;{{#switch:{{{align|right}}}|right=float:right; clear:right; margin:0.5em 0 0.5em 1em;|center=float: none; clear: both; margin-left: auto; margin-right: auto;|left=float:left; clear:left; margin:0.5em 1em 0.5em 0;}}"
{{ #if:  {{{name|{{{Name|}}}}}} | {{!}}+ {{{name|{{{Name|}}}}}}| }}
{{ #if:  {{{name|{{{Name|}}}}}} | {{!}}+ {{{name|{{{Name|}}}}}}| }}
|-
|-  
! scope="col" style="background:#{{storm colour|unk}}"   | {{#if:{{{EFU|}}}|EFU|{{#ifeq:{{{Enhanced|}}}|yes|E}}FU}}
! scope="col" style="background:#{{storm colour|unk}}" | {{#if:{{{EFU|}}}|EFU|{{#ifeq:{{{Enhanced|}}}|yes|E}}FU}}
! scope="col" style="background:#{{storm colour|storm}}" | {{#if:{{{EF0|}}}|EF0|{{#ifeq:{{{Enhanced|}}}|yes|E}}F0}}
! scope="col" style="background:#{{storm colour|storm}}" | {{#if:{{{EF0|}}}|EF0|{{#ifeq:{{{Enhanced|}}}|yes|E}}F0}}
! scope="col" style="background:#{{storm colour|1}}"     | {{#if:{{{EF1|}}}|EF1|{{#ifeq:{{{Enhanced|}}}|yes|E}}F1}}
! scope="col" style="background:#{{storm colour|1}}" | {{#if:{{{EF1|}}}|EF1|{{#ifeq:{{{Enhanced|}}}|yes|E}}F1}}
! scope="col" style="background:#{{storm colour|2}}"     | {{#if:{{{EF2|}}}|EF2|{{#ifeq:{{{Enhanced|}}}|yes|E}}F2}}
! scope="col" style="background:#{{storm colour|2}}" | {{#if:{{{EF2|}}}|EF2|{{#ifeq:{{{Enhanced|}}}|yes|E}}F2}}
! scope="col" style="background:#{{storm colour|3}}"     | {{#if:{{{EF3|}}}|EF3|{{#ifeq:{{{Enhanced|}}}|yes|E}}F3}}
! scope="col" style="background:#{{storm colour|3}}" | {{#if:{{{EF3|}}}|EF3|{{#ifeq:{{{Enhanced|}}}|yes|E}}F3}}
! scope="col" style="background:#{{storm colour|4}}"     | {{#if:{{{EF4|}}}|EF4|{{#ifeq:{{{Enhanced|}}}|yes|E}}F4}}
! scope="col" style="background:#{{storm colour|4}}" | {{#if:{{{EF4|}}}|EF4|{{#ifeq:{{{Enhanced|}}}|yes|E}}F4}}
! scope="col" style="background:#{{storm colour|5}}"     | {{#if:{{{EF5|}}}|EF5|{{#ifeq:{{{Enhanced|}}}|yes|E}}F5}}
! scope="col" style="background:#{{storm colour|5}}" | {{#if:{{{EF5|}}}|EF5|{{#ifeq:{{{Enhanced|}}}|yes|E}}F5}}
{{#ifeq:{{{Enhanced|}}}|yes|
{{#if:{{{total|{{{Total|}}}}}}| ! scope="col" colspan=2 {{!}} Total|}}
! scope="col" style="font-weight:bold; background:#{{#invoke:StormCategoryColor|renderBackgroundColor|EF6}};" | EF6
}}
{{#if:{{{total|{{{Total|}}}}}}|
! scope="col" colspan="2" | Total
}}
|- style="text-align:center;font-weight:bold"
|- style="text-align:center;font-weight:bold"
| style="background:#{{storm colour|unk}}"   | {{{EFU|{{{FU|0}}}}}}
| style="background:#{{storm colour|unk}}" | {{{EFU|{{{FU|0}}}}}}
| style="background:#{{storm colour|storm}}" | {{{EF0|{{{F0|0}}}}}}
| style="background:#{{storm colour|storm}}" | {{{EF0|{{{F0|0}}}}}}
| style="background:#{{storm colour|1}}"     | {{{EF1|{{{F1|0}}}}}}
| style="background:#{{storm colour|1}}" | {{{EF1|{{{F1|0}}}}}}
| style="background:#{{storm colour|2}}"     | {{{EF2|{{{F2|0}}}}}}
| style="background:#{{storm colour|2}}" | {{{EF2|{{{F2|0}}}}}}
| style="background:#{{storm colour|3}}"     | {{{EF3|{{{F3|0}}}}}}
| style="background:#{{storm colour|3}}" | {{{EF3|{{{F3|0}}}}}}
| style="background:#{{storm colour|4}}"     | {{{EF4|{{{F4|0}}}}}}
| style="background:#{{storm colour|4}}" | {{{EF4|{{{F4|0}}}}}}
| style="background:#{{storm colour|5}}"     | {{{EF5|{{{F5|0}}}}}}
| style="background:#{{storm colour|5}}" | {{{EF5|{{{F5|0}}}}}}
{{#ifeq:{{{Enhanced|}}}|yes|
{{#if:{{{total|{{{Total|}}}}}}| {{!}} {{{total|{{{Total|}}}}}}|}}
| style="font-weight:bold; background:#{{#invoke:StormCategoryColor|renderBackgroundColor|EF6}};" | {{{EF6|0}}}
}}
{{#if:{{{total|{{{Total|}}}}}}|
| {{{total|{{{Total|}}}}}}
}}
|- style="text-align:center;font-weight:bold"
|- style="text-align:center;font-weight:bold"
{{#switch: {{#expr: {{#if: {{{deaths|}}}| 1 | 0 }} + {{#if: {{{injuries|}}}| 2 | 0 }} + {{#if: {{{total|{{{Total|}}}}}}| 4 | 0 }} }}
{{#switch: {{#expr: {{#if: {{{deaths|}}}| 1 | 0 }} + {{#if: {{{injuries|}}}| 2 | 0 }} + {{#if: {{{total|{{{Total|}}}}}}| 4 | 0 }} }}
| 7=  
| 7=  
! colspan = {{#ifeq:{{{Enhanced|}}}|yes|5|4}} {{!}} Deaths: {{{deaths}}}
! colspan = 4 {{!}} Deaths: {{{deaths}}}
! colspan = {{#ifeq:{{{Enhanced|}}}|yes|5|4}} {{!}} Injuries: {{{injuries}}}
! colspan = 4 {{!}} Injuries: {{{injuries}}}
| 6=  
| 6=  
! colspan = {{#ifeq:{{{Enhanced|}}}|yes|10|8}} {{!}} Injuries: {{{injuries}}}
! colspan = 8 {{!}} Injuries: {{{injuries}}}
| 5=
| 5=
! colspan = {{#ifeq:{{{Enhanced|}}}|yes|10|8}} {{!}} Deaths: {{{deaths}}}
! colspan = 8 {{!}} Deaths: {{{deaths}}}
| 3=  
| 3=  
! colspan = {{#ifeq:{{{Enhanced|}}}|yes|5|3}} {{!}} Deaths: {{{deaths}}}
! colspan = 3 {{!}} Deaths: {{{deaths}}}
! colspan = {{#ifeq:{{{Enhanced|}}}|yes|5|3}} {{!}} Injuries: {{{injuries}}}
! colspan = 3 {{!}} Injuries: {{{injuries}}}
| 2=  
| 2=  
! colspan = {{#ifeq:{{{Enhanced|}}}|yes|10|6}} {{!}} Injuries: {{{injuries}}}
! colspan = 6 {{!}} Injuries: {{{injuries}}}
| 1=
| 1=
! colspan = {{#ifeq:{{{Enhanced|}}}|yes|10|6}} {{!}} Deaths: {{{deaths}}}
! colspan = 6 {{!}} Deaths: {{{deaths}}}
}}
}}
|-
|-
{{#if:{{{notes|}}}|
{{#if:{{{notes|}}}|{{!}} colspan={{#if:{{{total|}}}|8|6}} {{!}} {{{notes|}}} |}}
{{!}} colspan={{#if:{{{total|{{{Total|}}}}}}|
|}<noinclude>{{documentation|content =  
  {{#ifeq:{{{Enhanced|}}}|yes|10|8}}  <!-- with total -->
|
  {{#ifeq:{{{Enhanced|}}}|yes|8|6}}  <!-- without total -->
}} {{!}} {{{notes|}}}
|}}
|}
<noinclude>{{documentation|content =  
<div style="clear:both;"></div>
<div style="clear:both;"></div>
==Usage==
==Usage==
Line 74: Line 57:
</syntaxhighlight>
</syntaxhighlight>


If EF0–EF6 are used, then the template will use [[Enhanced Fujita scale]] (applicable after 2029-12-31).
If EF0-EF5 are used, then the template will use [[Enhanced Fujita scale]] (applicable after 2007-02-01).
<syntaxhighlight lang="wikitext">
<syntaxhighlight lang="wikitext">
{{Tornado chart small
{{Tornado chart small
Line 85: Line 68:
| EF4 = 0
| EF4 = 0
| EF5 = 0
| EF5 = 0
| EF6 = 0
| total = <!-- optional -->
| total = <!-- optional -->
| notes = <!-- optional -->
| notes = <!-- optional -->
Line 102: Line 84:
| EF4 = 10
| EF4 = 10
| EF5 = 11
| EF5 = 11
| EF6 = 0
| total = 56
| total = 56
| notes = * This is a note
| notes = * This is a note
Line 116: Line 97:
| EF4 = 10
| EF4 = 10
| EF5 = 11
| EF5 = 11
| EF6 = 0
| total = 56
| total = 56
| notes = * This is a note
| notes = * This is a note

Latest revision as of 09:57, 15 ⧼november⧽ 2025

FU F0 F1 F2 F3 F4 F5
0 0 0 0 0 0 0