Difference between revisions of "Template:Infobox TC"
Jump to navigation
Jump to search
(6 intermediate revisions by the same user not shown) | |||
Line 46: | Line 46: | ||
}} | }} | ||
{{#ifexpr:{{#if:{{{Type2|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|pav|1|0}}=2| | {{#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}}}< | + | ! colspan=2 style="text-align: center; background: #{{Storm colour|{{#ifexpr:{{{1-min winds}}}<126|{{#ifexpr:{{{1-min winds}}}<95|{{#ifexpr:{{{1-min winds}}}<64|{{#ifexpr:{{{1-min winds}}}<48|{{#ifexpr:{{{1-min winds}}}<32|{{#ifexpr:{{{1-min winds}}}<28|TDi|ZODW|TD}}|TS}}|STS}}|TC}}|ITC}}|VTC}}}}" {{!}} {{Tc nom|1min|{{{1-min winds}}}|{{{Basin}}}}}{{Tc warning center|NMC|{{{WarningCenter|}}} }} }} |
{{!}}- | {{!}}- | ||
}} | }} | ||
Line 63: | Line 63: | ||
{{!}}- style="border-bottom: 1px solid #aaa" | {{!}}- style="border-bottom: 1px solid #aaa" | ||
! Peak intensity | ! Peak intensity | ||
− | {{!}} {{#if:{{{Prewinds|}}}|{{{Prewinds}}}|}}{{#switch:{{{Basin}}}|Atl|EPac={{#if:{{{1-min winds|}}}|{{{1-min winds}}} kts ({{#expr:(( | + | {{!}} {{#if:{{{Prewinds|}}}|{{{Prewinds}}}|}}{{#switch:{{{Basin}}}|pav|Atl|EPac={{#if:{{{1-min winds|}}}|{{{1-min winds}}} kts ({{Duodecimal|{{#expr:((4.5655491*{{{1-min winds}}})/12 round 0)*12}}}} kpg/ú) <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> | |}<noinclude>{{Documentation}}<!-- PLEASE ADD CATEGORIES AND INTERWIKIS TO THE /doc SUBPAGE, THANKS --></noinclude> |