Jump to content

Template:Infobox tropical cyclone small and Template:Infobox tropical cyclone small/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Undid revision 1235861945 by OhHaiMark (talk) not at all, it seems
 
m rv LTA
 
Line 1: Line 1:
<includeonly>{{Infobox
<includeonly>{{Infobox
| bodystyle = width: 24em;
| bodystyle = width: 24em;
| subheaderstyle1 = font-weight: bold; {{#if:{{{Type|}}}|background: #{{Storm colour|{{#ifeq:{{{Type}}}|potential|potential|{{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Type}}}|subtropical|1|0}}=2|{{#ifexpr:{{{1-min winds|}}}<34|subdepression|subtropical}}|{{{Type}}}}}}}}} }}
| subheaderstyle1 = font-weight: bold; {{#if:{{{Type|}}}|background: #{{Storm colour|{{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Type}}}|subtropical|1|0}}=2|{{#ifexpr:{{{1-min winds|}}}<34|subdepression|subtropical}}|{{{Type}}}}}}} }}
| subheaderstyle2 = font-weight: bold; {{#if:{{{Type1|}}}|{{#ifexpr:{{#if:{{{Type|}}}|1|0}}=0|background: #{{Storm colour|{{{Type1}}}}}}}}}
| subheaderstyle2 = font-weight: bold; {{#if:{{{Type1|}}}|{{#ifexpr:{{#if:{{{Type|}}}|1|0}}=0|background: #{{Storm colour|{{{Type1}}}}}}}}}
| subheaderstyle3 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{3-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|NIO|1|0}}=2|background: #{{Storm colour|{{#ifexpr:{{{3-min winds}}}<120|{{#ifexpr:{{{3-min winds}}}<90|{{#ifexpr:{{{3-min winds}}}<64|{{#ifexpr:{{{3-min winds}}}<48|{{#ifexpr:{{{3-min winds}}}<34|{{#ifexpr:{{{3-min winds}}}<28|{{#ifexpr:{{{3-min winds}}}<17|depression|niodepression}}|deepdepression}}|cyclstorm}}|svrcyclstorm}}|vsvrcyclstorm}}|esvrcyclstorm}}|sprcyclstorm}}}}}}}}
| subheaderstyle3 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{3-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|NIO|1|0}}=2|background: #{{Storm colour|{{#ifexpr:{{{3-min winds}}}<120|{{#ifexpr:{{{3-min winds}}}<90|{{#ifexpr:{{{3-min winds}}}<64|{{#ifexpr:{{{3-min winds}}}<48|{{#ifexpr:{{{3-min winds}}}<34|{{#ifexpr:{{{3-min winds}}}<28|{{#ifexpr:{{{3-min winds}}}<17|depression|niodepression}}|deepdepression}}|cyclstorm}}|svrcyclstorm}}|vsvrcyclstorm}}|esvrcyclstorm}}|sprcyclstorm}}}}}}}}
Line 8: Line 8:
| subheaderstyle6 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|SHem|1|0}}=2|background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|shemdepression|shemtc}}|shemsvrtc}}}}}}}}
| subheaderstyle6 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|SHem|1|0}}=2|background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|shemdepression|shemtc}}|shemsvrtc}}}}}}}}
| subheaderstyle7 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|SPac|1|0}}=2|background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<108|{{#ifexpr:{{{10-min winds}}}<86|{{#ifexpr:{{{10-min winds}}}<64|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|spdepression|Fiji1}}|Fiji2}}|Fiji3}}|Fiji4}}|Fiji5}}}}}}}}
| subheaderstyle7 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|SPac|1|0}}=2|background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<108|{{#ifexpr:{{{10-min winds}}}<86|{{#ifexpr:{{{10-min winds}}}<64|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|spdepression|Fiji1}}|Fiji2}}|Fiji3}}|Fiji4}}|Fiji5}}}}}}}}
| subheaderstyle8 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|SWI|1|0}}=2|background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<116|{{#ifexpr:{{{10-min winds}}}<90|{{#ifexpr:{{{10-min winds}}}<64|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|{{#ifexpr:{{{10-min winds}}}<28|swiodisturbance|swiodepression}}|mtstorm}}|swiosts}}|swiotc}}|intense}}|vintense}}}}}}}}
| subheaderstyle8 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|SWI|1|0}}=2|background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<116|{{#ifexpr:{{{10-min winds}}}<90|{{#ifexpr:{{{10-min winds}}}<64|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|{{#ifexpr:{{{10-min winds}}}<28|swiodisturbance|ZODW|swiodepression|swsubdep}}|mtstorm}}|swiosts}}|swiotc}}|intense}}|vintense}}}}}}}}
| subheaderstyle9 =font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|SWIO|1|0}}=2| background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<116|{{#ifexpr:{{{10-min winds}}}<90|{{#ifexpr:{{{10-min winds}}}<64|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|{{#ifexpr:{{{10-min winds}}}<28|swiodisturbance|swiodepression}}|moddepression}}|severedep}}|swiotc}}|intense}}|vintense}}}}}}}}
| subheaderstyle9 =font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|SWIO|1|0}}=2| background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<116|{{#ifexpr:{{{10-min winds}}}<90|{{#ifexpr:{{{10-min winds}}}<64|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|{{#ifexpr:{{{10-min winds}}}<28|swiodisturbance|ZODW|swiodepression}}|moddepression}}|severedep}}|swiotc}}|intense}}|vintense}}}}}}}}
| subheaderstyle10 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|WPac|1|0}}=2| background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}} <104|{{#ifexpr:{{{10-min winds}}}<84|{{#ifexpr:{{{10-min winds}}}<64|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|nwpdepression|nwpstorm}}|STS}}|TY}}|VSTY}}|VITY}}}}}}}}
| subheaderstyle10 = font-weight: bold; {{#ifexpr:{{#if:{{{Type1|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#ifexpr:{{#if:{{{10-min winds|}}}|1|0}}+{{#ifeq:{{{Basin}}}|WPac|1|0}}=2| background: #{{Storm colour|{{#ifexpr:{{{10-min winds}}}<64|{{#ifexpr:{{{10-min winds}}}<48|{{#ifexpr:{{{10-min winds}}}<34|nwpdepression|nwpstorm}}|STS}}|typhoon}}}}}}}}
| subheaderstyle11 = font-weight: bold; {{#if:{{{Type2|}}}|{{#ifexpr:{{#if:{{{Type|}}}|1|0}}=0|background: #{{Storm colour|{{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Type2}}}|subtropical|1|0}}=2|{{#ifexpr:{{{1-min winds|}}}<34|subdepression|subtropical}}|{{{Type2}}}}}}}}}}}
| subheaderstyle11 = font-weight: bold; {{#if:{{{Type2|}}}|{{#ifexpr:{{#if:{{{Type|}}}|1|0}}=0|background: #{{Storm colour|{{#ifexpr:{{#if:{{{1-min winds|}}}|1|0}}+{{#ifeq:{{{Type2}}}|subtropical|1|0}}=2|{{#ifexpr:{{{1-min winds|}}}<34|subdepression|subtropical}}|{{{Type2}}}}}}}}}}}
| subheaderstyle12 = font-weight: bold; {{#ifexpr:{{#if:{{{Type2|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#if:{{{1-min winds|}}}| background: #{{Storm colour|{{#ifexpr:{{{1-min winds}}}<136|{{#ifexpr:{{{1-min winds}}}<114|{{#ifexpr:{{{1-min winds}}}<96|{{#ifexpr:{{{1-min winds}}}<83|{{#ifexpr:{{{1-min winds}}}<64|{{#ifexpr:{{{1-min winds}}}<34|depression|storm}}|cat1}}|cat2}}|cat3}}|cat4}}|cat5}}}}}}}}
| subheaderstyle12 = font-weight: bold; {{#ifexpr:{{#if:{{{Type2|}}}|1|0}}+{{#if:{{{Type|}}}|1|0}}=0|{{#if:{{{1-min winds|}}}| background: #{{Storm colour|{{#ifexpr:{{{1-min winds}}}<136|{{#ifexpr:{{{1-min winds}}}<114|{{#ifexpr:{{{1-min winds}}}<96|{{#ifexpr:{{{1-min winds}}}<83|{{#ifexpr:{{{1-min winds}}}<64|{{#ifexpr:{{{1-min winds}}}<34|depression|storm}}|cat1}}|cat2}}|cat3}}|cat4}}|cat5}}}}}}}}
Line 32: Line 32:
| data2 = {{{Formed|Unknown}}}&nbsp;– {{{Dissipated|Unknown}}}
| data2 = {{{Formed|Unknown}}}&nbsp;– {{{Dissipated|Unknown}}}
| label3 = Peak intensity
| label3 = Peak intensity
| data3 = {{#if:{{{Prewinds|}}}|{{{Prewinds}}}|}}{{#switch:{{{Basin}}}|Atl|EPac={{#if:{{{1-min winds|}}}|{{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}}&nbsp;mph ({{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h) <small>(1-min)</small>|Winds not specified}}|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 not specified}}}}}}|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 not specified}}}}|{{#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;not specified}}}}}};<br>{{#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]])}}}}
| data3 = {{#if:{{{Prewinds|}}}|{{{Prewinds}}}|}}{{#switch:{{{Basin}}}|Atl|EPac={{#if:{{{1-min winds|}}}|{{#expr:((1.151*{{{1-min winds}}})/5 round 0)*5}}&nbsp;mph ({{#expr:((1.852*{{{1-min winds}}})/5 round 0)*5}}&nbsp;km/h) <small>(1-min)</small>|Winds not specified}}|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 not specified}}}}}}|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 not specified}}}}|{{#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;not specified}}}}}}&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]])}}}}
}}
}}</includeonly><noinclude>

{{Documentation}}
</noinclude>
</includeonly>
<noinclude>
{{testcase table
| Basin = NIO
| Image = ARB 01 11 June 2011 MODIS.jpg
| Track = ARB01 2011 track.png
| Formed = June 11
| Dissipated = June 12
| 1-min winds = 35
| 3-min winds = 25
| Pressure = 996
}}</noinclude>