Difference between revisions of "Template:Infobox windstorm"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | |||
{| class="infobox" style="width: 22em" | {| class="infobox" style="width: 22em" | ||
|- | |- | ||
Line 44: | Line 43: | ||
{{#if:{{{Type2|}}}|{{#ifexpr:{{#if:{{{Type|}}}|1|0}}=0| | {{#if:{{{Type2|}}}|{{#ifexpr:{{#if:{{{Type|}}}|1|0}}=0| | ||
! colspan=2 style="text-align: center; background: #{{Storm colour|{{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Type2}}}|subtropical|1|0}}=2|{{#ifexpr:{{{1-min winds|}}}<34|subdepression|subtropical}}|{{{Type2}}}}}}}" {{!}} {{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Type2}}}|subtropical|1|0}}=2|{{#ifexpr:{{{1-min winds|}}}<64|{{#ifexpr:{{{1-min winds|}}}<34|Subtropical depression|Subtropical storm}}|Subtropical cyclone}}|{{Tc nom list|{{{Type2}}}|{{{Basin}}}}}}}{{Tc warning center|{{{Type2|}}}}}}} | ! colspan=2 style="text-align: center; background: #{{Storm colour|{{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Type2}}}|subtropical|1|0}}=2|{{#ifexpr:{{{1-min winds|}}}<34|subdepression|subtropical}}|{{{Type2}}}}}}}" {{!}} {{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Type2}}}|subtropical|1|0}}=2|{{#ifexpr:{{{1-min winds|}}}<64|{{#ifexpr:{{{1-min winds|}}}<34|Subtropical depression|Subtropical storm}}|Subtropical cyclone}}|{{Tc nom list|{{{Type2}}}|{{{Basin}}}}}}}{{Tc warning center|{{{Type2|}}}}}}} | ||
+ | {{!}}- | ||
+ | }} | ||
+ | {{#ifexpr:{{#if:{{{Type2|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|pav|1|0}}=2| | ||
+ | ! colspan=2 style="text-align: center; background: #{{Storm colour|{{#ifexpr:{{{1-min winds}}}<135|{{#ifexpr:{{{1-min winds}}}<99|{{#ifexpr:{{{1-min winds}}}<64|{{#ifexpr:{{{1-min winds}}}<48|{{#ifexpr:{{{1-min winds}}}<34|{{#ifexpr:{{{1-min winds}}}<28|swiodisturbance|ZODW|swiodepression}}|nwpstorm}}|STS}}|swiotc}}|intense}}|vintense}}}}" {{!}} {{Tc nom|1min|{{{1-min winds}}}|{{{Basin}}}}}{{Tc warning center|MFR|{{{WarningCenter|}}} }} }} | ||
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 65: | Line 68: | ||
! Peak intensity | ! Peak intensity | ||
{{!}} {{#if:{{{Prewinds|}}}|{{{Prewinds}}}|}}{{#switch:{{{Basin}}}|Atl|EPac={{#if:{{{1-min winds|}}}|{{{1-min winds}}} kts ({{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}} km/h) <small>(1-min)</small>|Winds unknown}}|Aus={{#if:{{{Gusts|}}}|{{#expr:((1.852*{{{Gusts}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{Gusts}}})/5 round 0)*5}} mph) <small>(gusts)</small>|{{#if:{{{10-min winds|}}}|{{#expr:((1.852*{{{10-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{10-min winds}}})/5 round 0)*5}} mph) <small>(10-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}} mph) <small>(1-min)</small>|Winds unknown}}}}}}|NIO={{#if:{{{3-min winds|}}}|{{#expr:((1.852*{{{3-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{3-min winds}}})/5 round 0)*5}} mph) <small>(3-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}} mph) <small>(1-min)</small>|Winds unknown}}}}|{{#if:{{{10-min winds|}}}|{{#expr:((1.852*{{{10-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{10-min winds}}})/5 round 0)*5}} mph) <small>(10-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}} mph) <small>(1-min)</small>|Winds unknown}}}}}} {{#if:{{{Pressurepre|{{{Prepressure|}}}}}}|{{{Pressurepre|{{{Prepressure}}}}}}|}} {{#if:{{{Pressure|}}}|{{#switch:{{{Basin}}}|Atl|EPac|={{{Pressure}}} [[Bar (unit)|mbar]] ([[Pascal (unit)|hPa]]<!--; <small>{{#expr:{{{Pressure}}}*0.02953007 round 2}} [[Inch of mercury|inHg]]</small>-->)|{{{Pressure}}} [[Pascal (unit)|hPa]] ([[Bar (unit)|mbar]])}}}} | {{!}} {{#if:{{{Prewinds|}}}|{{{Prewinds}}}|}}{{#switch:{{{Basin}}}|Atl|EPac={{#if:{{{1-min winds|}}}|{{{1-min winds}}} kts ({{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}} km/h) <small>(1-min)</small>|Winds unknown}}|Aus={{#if:{{{Gusts|}}}|{{#expr:((1.852*{{{Gusts}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{Gusts}}})/5 round 0)*5}} mph) <small>(gusts)</small>|{{#if:{{{10-min winds|}}}|{{#expr:((1.852*{{{10-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{10-min winds}}})/5 round 0)*5}} mph) <small>(10-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}} mph) <small>(1-min)</small>|Winds unknown}}}}}}|NIO={{#if:{{{3-min winds|}}}|{{#expr:((1.852*{{{3-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{3-min winds}}})/5 round 0)*5}} mph) <small>(3-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}} mph) <small>(1-min)</small>|Winds unknown}}}}|{{#if:{{{10-min winds|}}}|{{#expr:((1.852*{{{10-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{10-min winds}}})/5 round 0)*5}} mph) <small>(10-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}} km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}} mph) <small>(1-min)</small>|Winds unknown}}}}}} {{#if:{{{Pressurepre|{{{Prepressure|}}}}}}|{{{Pressurepre|{{{Prepressure}}}}}}|}} {{#if:{{{Pressure|}}}|{{#switch:{{{Basin}}}|Atl|EPac|={{{Pressure}}} [[Bar (unit)|mbar]] ([[Pascal (unit)|hPa]]<!--; <small>{{#expr:{{{Pressure}}}*0.02953007 round 2}} [[Inch of mercury|inHg]]</small>-->)|{{{Pressure}}} [[Pascal (unit)|hPa]] ([[Bar (unit)|mbar]])}}}} | ||
− | |} | + | |}<noinclude>{{Documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude> |