Jump to content

Template:Infobox weather event: Difference between revisions

From Continental Storm Service
u>MarioProtIV
No edit summary
m 59 revisions imported
 
(41 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{#ifeq: {{{child|<includeonly>yes</includeonly>}}}  
<includeonly><templatestyles src="Template:Infobox weather event/styles.css"/>{{#ifeq: {{{name|}}} | {{FULLPAGENAME}}
  | yes
| {{preview warning|The article title was redundantly supplied in {{para|name}}. Remove this parameter; the article title is used as the name by default.}}
  | <table class="infobox"><caption class="infobox-title">{{{name|{{FULLPAGENAME}}}}}</caption>
}}<table class="infobox ib-weather-event"><caption class="infobox-title">{{{name|{{FULLPAGENAME}}}}}</caption>
}}{{Infobox
{{Infobox
| child = {{{child|<includeonly>yes</includeonly>}}}
| child = {{{child|yes}}}
| title = {{#ifeq: {{{child|<includeonly>yes</includeonly>}}}  
| bodystyle = {{{bodystyle|}}}
| title = {{#ifeq: {{{child|yes}}}  
   | yes
   | yes
   || {{{name|{{FULLPAGENAME}}}}}
   || {{{name|{{FULLPAGENAME}}}}}
}}
}}


| subheader1 = {{#if:{{{category|}}}|{{#switch: {{lc:{{{basin|{{{Basin}}}}}}}}
| image = {{#if: {{both|{{{image|}}}|{{{track|{{{forecast|}}}}}}}}  
|atl|epac={{#ifexpr:{{{category}}}=TS|{{#ifexpr:{{{1-min winds}}}=cat1|Category {{#ifexpr:{{{category}}}=cat2|{{#ifexpr:{{{category}}}=cat3|{{#ifexpr:{{{category}}}=cat4|{{#ifexpr:{{{category}}}=cat5|5|4}}|3}} major|2}}|1}} hurricane|{{{type|{{{Type|Tropical storm}}}}}} }}|{{{type|{{{Type|Tropical depression}}}}}} }} ([[Saffir–Simpson scale|SSHWS]]/[[National Weather Service|NWS]])
  | <table style="width:100%; border-collapse:collapse; font-size:94%; line-height:125%;">
|satl={{#ifexpr:{{{category}}}>=34|{{#ifexpr:{{{category}}}>=64|Category {{#ifexpr:{{{category}}}>=83|{{#ifexpr:{{{category}}}>=96|{{#ifexpr:{{{category}}}>=113|{{#ifexpr:{{{category}}}>=137|5|4}}|3}}-equivalent major|2-equivalent}}|1-equivalent}} hurricane|{{{type|{{{Type|Tropical storm}}}}}} }}|{{{type|{{{Type|Tropical depression}}}}}} }} ([[Saffir–Simpson scale|SSHWS]])
    <tr style="vertical-align: top">
|wpac={{#ifexpr:{{{category}}}=TS|{{#ifexpr:{{{category}}}=cat1|Category {{#ifexpr:{{{category}}}=cat2|{{#ifexpr:{{{category}}}=cat3|{{#ifexpr:{{{category}}}=cat4|{{#ifexpr:{{{1-min}}}=cat4super|{{#ifexpr:{{{category}}}=cat5|5|4}}|4}}|3}}|2}}|1}}-equivalent {{#ifexpr:{{{1-min winds}}}>=cat4super|super}} typhoon ([[Saffir–Simpson scale|SSHWS]])| Tropical storm ([[Saffir–Simpson scale|SSHWS]])}} | Tropical depression ([[Saffir–Simpson scale|SSHWS]]) }}
      <td style="vertical-align: middle; text-align:center;">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{image-width|{{{image-size|}}}}}}}}}|sizedefault=frameless|upright={{{image-upright|{{#ifeq: {{lc:{{last word|{{PAGENAME}}}}}} | season | 0.6 | 0.7 }}}}}|alt={{{alt|Satellite image of {{{name|{{FULLPAGENAME}}}}}}}}|suppressplaceholder=yes}}<div style="margin-top: 0.3em;">{{{caption|Satellite image}}}</div></td>
|nio|swi|aus|spac={{#ifexpr:{{{category}}}=TS|{{#ifexpr:{{{category}}}=cat1|Category {{#ifexpr:{{{category}}}=cat2|{{#ifexpr:{{{category}}}=cat3|{{#ifexpr:{{{category}}}=cat4|{{#ifexpr:{{{category}}}=cat5|5|4}}|3}}|2}}|1}}-equivalent tropical cyclone|{{{type|{{{Type|Tropical storm}}}}}} }}|{{{type|{{{Type|Tropical depression}}}}}} }} ([[Saffir–Simpson scale|SSHWS]])
      <td style="vertical-align: middle; text-align:center;">{{#if: {{{forecast|}}}
}} }}
        | {{#invoke:InfoboxImage|InfoboxImage|image={{{forecast|}}}|size={{{forecast-width|{{{forecast-size|}}}}}}|sizedefault=frameless|upright={{{forecast-upright|0.7}}}|alt={{{forecast-alt|Forecast map for {{{name|{{FULLPAGENAME}}}}}}}}|suppressplaceholder=yes}}<div style="margin-top: 0.3em;">{{{forecast-caption|Forecast map}}}</div>
| category = {{{category}}}
        | {{#invoke:InfoboxImage|InfoboxImage|image={{{track|}}}|size={{{track-width|{{{track-size|}}}}}}|sizedefault=frameless|upright={{{track-upright|0.7}}}|alt={{{track-alt|Track map for {{{name|{{FULLPAGENAME}}}}}}}}|suppressplaceholder=yes}}<div style="margin-top: 0.3em;">{{{track-caption|Track map}}}</div>
| basin = {{{Basin}}}
      }}</td>
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image_size|}}}}}}}}}|sizedefault=frameless|upright={{{image_upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
    </tr>
| caption = {{{caption}}}
  </table>
 
  | {{#if: {{{image|}}}
<!-- FORMATION AND DISSIPATION -->
    | {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{image-width|{{{image-size|}}}}}}}}}|sizedefault=frameless|upright={{{image-upright|{{#ifeq: {{lc:{{last word|{{PAGENAME}}}}}} | season | 0.6 | 1 }}}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
 
  }}{{#if: {{{forecast|}}}
| header1 = Meteorological history
    | {{#invoke:InfoboxImage|InfoboxImage|image={{{forecast|}}}|size={{{forecast-width|{{{forecast-size|}}}}}}|sizedefault=frameless|upright={{{forecast-upright|1.3}}}|alt={{{forecast-alt|Forecast map for {{{name|{{FULLPAGENAME}}}}}}}}|suppressplaceholder=yes}}
| label2 = Formed
    | {{#if: {{{track|}}}
| data2 = {{{formed|<noinclude>{{start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}</noinclude>}}}
      | {{#invoke:InfoboxImage|InfoboxImage|image={{{track|}}}|size={{{track-width|{{{track-size|}}}}}}|sizedefault=frameless|upright={{{track-upright|1}}}|alt={{{track-alt|Track map for {{{name|{{FULLPAGENAME}}}}}}}}|suppressplaceholder=yes}}
| label3 = Dissipated
    }}
| data3 = {{{dissipated|<noinclude>{{start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}</noinclude>}}}
  }}
| label4 = Reformed
}}
| data4 = {{{reformed|<noinclude>{{start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}</noinclude>}}}
| caption = {{#if: {{both|{{{image|}}}|{{{track|{{{forecast|}}}}}}}}  
| label5 = Dissipated
  | <!-- captioned above -->
| data5 = {{{dissipated-final|<noinclude>{{start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}</noinclude>}}}
  | {{#if: {{{image|}}}
    | {{{caption|}}}
  }}{{#if: {{{forecast|}}}
    | {{{forecast-caption|Forecast map for {{{name|{{FULLPAGENAME}}}}}}}}
    | {{#if: {{{track|}}}
      | {{{track-caption|Track map for {{{name|{{FULLPAGENAME}}}}}}}}
    }}
  }}
}}


| data6 = {{#if: {{{extratropical|<noinclude>y</noinclude>}}} | ([[Extratropical cyclone|Extratropical]] after {{{extratropical|<noinclude>{{start date|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}</noinclude>}}}) }}
| label1 = Location
}}{{#if: {{{1|}}}
| data1 = {{{location|{{{place|}}}}}}
| {{{1}}}</table>
| label2 = Coordinates
}}<noinclude>{{Documentation}}</noinclude>
| data2 = {{{coordinates|}}}
| label3 = Cause
| data3 = {{{cause|}}}
}}{{#if: {{yesno|{{{no-history|}}}}} || {{#if:
  {{{as|}}}{{{duration|}}}{{{date|}}}{{{formed|}}}{{{renamed|}}}{{{crossed-over|{{{crossed|}}}}}}{{{exited|{{{exited-land|}}}}}}{{{subtropical|}}}{{{remnant|{{{low|{{{remnant-low|}}}}}}}}}{{{post-tropical|}}}{{{extratropical-label|}}}{{{extratropical|}}}{{{dissipated|}}}
  | {{#invoke:Template wrapper|wrap|_template=Infobox weather event/History|_exclude=name}}
}}}}{{#if: {{yesno|{{{footer|}}}}}{{{1|}}}
| {{{1|}}}</table>
}}</includeonly>{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox weather event with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox weather event]] with unknown parameter "_VALUE_"|ignoreblank=y| 1 | alt | as | bodystyle | caption | cause | child | coordinates | crossed | crossed-over | date | dissipated | duration | exited | exited-land | extratropical | extratropical-label | forecast | forecast-alt | forecast-caption | forecast-size | forecast-upright | forecast-width | footer | formed | image | image-size | image-upright | image-width | location | low | name | no-history | place | post-tropical | remnant | renamed | remnant-low | subtropical | track | track-alt | track-caption | track-size | track-upright | track-width | width }}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 14:12, 14 March 2026