Jump to content

Template:Infobox weather event: Difference between revisions

From Continental Storm Service
u>Chlod
add new history params
u>Chlod
add location, coordinates, and cause for IBX flood parity, added support for track image
Line 7: Line 7:
}}
}}


| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{imagesize|{{{image-size|}}}}}}}}}|sizedefault=frameless|upright={{{image-upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
| image = {{#if: {{both|{{{image|}}}|{{{track|}}}}}
| caption = {{{caption}}}
  | <table style="width:100%; border-collapse:collapse; font-size:94%; line-height:125%;">
<tr style="vertical-align:top">
<td style="text-align:center;">{{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{image-size|{{{image-size|}}}}}}}}}|sizedefault=frameless|upright={{{image-upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}<div>{{{caption|}}}</div></td>
<td style="text-align:center;">{{#invoke:InfoboxImage|InfoboxImage|image={{{track|}}}|size={{{track-width|{{{track-size|{{{track-size|}}}}}}}}}|sizedefault=frameless|upright={{{track-upright|1}}}|alt={{{track-alt|Track map for {{{name|{{FULLPAGENAME}}}}}}}}|suppressplaceholder=yes}}<div>{{{track-caption|Track map for {{{name|{{FULLPAGENAME}}}}}}}}</div></td>
</tr></table>
  | {{#if: {{{image|}}}
  | {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{width|{{{image-size|{{{image-size|}}}}}}}}}|sizedefault=frameless|upright={{{image-upright|1}}}|alt={{{alt|}}}|suppressplaceholder=yes}}
}}{{#if: {{{track|}}}
  | {{#invoke:InfoboxImage|InfoboxImage|image={{{track|}}}|size={{{track-width|{{{track-size|{{{track-size|}}}}}}}}}|sizedefault=frameless|upright={{{track-upright|1}}}|alt={{{track-alt|Track map for {{{name|{{FULLPAGENAME}}}}}}}}|suppressplaceholder=yes}}
}}
}}
| caption = {{#if: {{both|{{{image|}}}|{{{track|}}}}}
  | <!-- captioned above -->
  | {{#if: {{{image|}}}
    | {{{caption|}}}
  }}{{#if: {{{track|}}}
    | {{{track-caption|Track map for {{{name|{{FULLPAGENAME}}}}}}}}
  }}
}}
 
| label1 = Location
| data1 = {{{location|{{{place|}}}}}}
| label2 = Coordinates
| data2 = {{#if: {{{lat|}}}{{{lon|}}} | {{{coordinates|}}} }}
| label3 = Cause
| data3 = {{{cause|}}}
}}{{#if: {{yesno|{{{no-history|}}}}} || {{Infobox weather event/History
}}{{#if: {{yesno|{{{no-history|}}}}} || {{Infobox weather event/History
<!-- FORMATION AND DISSIPATION -->
<!-- FORMATION AND DISSIPATION -->

Revision as of 01:23, 22 January 2023