Difference between revisions of "Template:Infobox TC"

From Universalis
Jump to navigation Jump to search
 
(5 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}}}<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|TDi|ZODW|TD}}|TS}}|STS}}|TC}}|ITC}}|VTC}}}}" {{!}} {{Tc nom|1min|{{{1-min winds}}}|{{{Basin}}}}}{{Tc warning center|PAV|{{{WarningCenter|}}} }} }}
+
! 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}}}&nbsp;kts ({{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h) <small>(1-min)</small>|Winds unknown}}|Aus={{#if:{{{Gusts|}}}|{{#expr:((1.852*{{{Gusts}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{Gusts}}})/5 round 0)*5}}&nbsp;mph) <small>(gusts)</small>|{{#if:{{{10-min winds|}}}|{{#expr:((1.852*{{{10-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{10-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(10-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(1-min)</small>|Winds unknown}}}}}}|NIO={{#if:{{{3-min winds|}}}|{{#expr:((1.852*{{{3-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{3-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(3-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(1-min)</small>|Winds unknown}}}}|{{#if:{{{10-min winds|}}}|{{#expr:((1.852*{{{10-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{10-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(10-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}}&nbsp;mph)&nbsp;<small>(1-min)</small>|Winds&nbsp;unknown}}}}}}&nbsp;{{#if:{{{Pressurepre|{{{Prepressure|}}}}}}|{{{Pressurepre|{{{Prepressure}}}}}}|}} {{#if:{{{Pressure|}}}|{{#switch:{{{Basin}}}|Atl|EPac|={{{Pressure}}}&nbsp;[[Bar (unit)|mbar]]&nbsp;([[Pascal (unit)|hPa]]<!--; <small>{{#expr:{{{Pressure}}}*0.02953007 round 2}}&nbsp;[[Inch of mercury|inHg]]</small>-->)|{{{Pressure}}}&nbsp;[[Pascal (unit)|hPa]]&nbsp;([[Bar (unit)|mbar]])}}}}
+
{{!}} {{#if:{{{Prewinds|}}}|{{{Prewinds}}}|}}{{#switch:{{{Basin}}}|pav|Atl|EPac={{#if:{{{1-min winds|}}}|{{{1-min winds}}}&nbsp;kts ({{Duodecimal|{{#expr:((4.5655491*{{{1-min winds}}})/12 round 0)*12}}}}&nbsp;kpg/ú) <small>(1-min)</small>|Winds unknown}}|Aus={{#if:{{{Gusts|}}}|{{#expr:((1.852*{{{Gusts}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{Gusts}}})/5 round 0)*5}}&nbsp;mph) <small>(gusts)</small>|{{#if:{{{10-min winds|}}}|{{#expr:((1.852*{{{10-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{10-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(10-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(1-min)</small>|Winds unknown}}}}}}|NIO={{#if:{{{3-min winds|}}}|{{#expr:((1.852*{{{3-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{3-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(3-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(1-min)</small>|Winds unknown}}}}|{{#if:{{{10-min winds|}}}|{{#expr:((1.852*{{{10-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{10-min winds}}})/5 round 0)*5}}&nbsp;mph) <small>(10-min)</small>|{{#if:{{{1-min winds|}}}|{{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h ({{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}}&nbsp;mph)&nbsp;<small>(1-min)</small>|Winds&nbsp;unknown}}}}}}&nbsp;{{#if:{{{Pressurepre|{{{Prepressure|}}}}}}|{{{Pressurepre|{{{Prepressure}}}}}}|}} {{#if:{{{Pressure|}}}|{{#switch:{{{Basin}}}|Atl|EPac|={{{Pressure}}}&nbsp;[[Bar (unit)|mbar]]&nbsp;([[Pascal (unit)|hPa]]<!--; <small>{{#expr:{{{Pressure}}}*0.02953007 round 2}}&nbsp;[[Inch of mercury|inHg]]</small>-->)|{{{Pressure}}}&nbsp;[[Pascal (unit)|hPa]]&nbsp;([[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>

Latest revision as of 23:32, 22 April 2018

Counterclockwise vortex
Duration Unknown – Unknown
Peak intensity Winds unknown 
Documentation icon Template documentation[create]