Difference between revisions of "Template:IMDWarningsTable"

From blackwiki
Jump to navigation Jump to search
imported>Anirudh Emani
(Created page with '<includeonly>{| class="wikitable" border="0" cellspacing="0" cellpadding="0" style="font-size:95%; float:{{{align|left}}};" |- {{#if: {{{CWT|}}} |<!-- --> | {{#...')
 
imported>WOSlinker
m (border/cellpadding/cellspacing not needed due to wikitable class)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly>{| class="wikitable" border="0" cellspacing="0" cellpadding="0" style="font-size:95%; float:{{{align|left}}};"  
+
<includeonly>{| class="wikitable" style="font-size:95%; float:{{{align|left}}};"  
 
|-
 
|-
 
{{#if: {{{CWT|}}} |<!-- --> | {{#if: {{{CAT|}}} | <!-- --> | {{#if: {{{CWR|}}} | <!-- --> | {{#if: {{{LOT|}}} | <!-- --> |  
 
{{#if: {{{CWT|}}} |<!-- --> | {{#if: {{{CAT|}}} | <!-- --> | {{#if: {{{CWR|}}} | <!-- --> | {{#if: {{{LOT|}}} | <!-- --> |  
Line 8: Line 8:
 
{{!}} style="background-color:#{{Storm_colour|storm}}; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 72 hours."{{!}} '''Cyclone Watch'''<br/>''Cyclonic storm conditions<br/>expected within 72 hours.''
 
{{!}} style="background-color:#{{Storm_colour|storm}}; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 72 hours."{{!}} '''Cyclone Watch'''<br/>''Cyclonic storm conditions<br/>expected within 72 hours.''
 
{{!}}
 
{{!}}
{{{HUW}}}
+
{{{CWT}}}
 
| }}
 
| }}
 
|-
 
|-
Line 14: Line 14:
 
{{!}} style="background-color:#{{Storm_colour|cat1}}; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 48 hours."{{!}} '''Cyclone Alert'''<br/>''Cyclonic storm conditions<br/>expected within 48 hours.''
 
{{!}} style="background-color:#{{Storm_colour|cat1}}; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 48 hours."{{!}} '''Cyclone Alert'''<br/>''Cyclonic storm conditions<br/>expected within 48 hours.''
 
{{!}}
 
{{!}}
{{{HUA}}}
+
{{{CAT}}}
 
| }}
 
| }}
 
|-
 
|-
Line 20: Line 20:
 
{{!}} style="background-color:#{{Storm_colour|cat3}}; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 24 hours."{{!}} '''Cyclone Warning'''<br/>''Cyclonic storm conditions<br/>expected within 24 hours.''
 
{{!}} style="background-color:#{{Storm_colour|cat3}}; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 24 hours."{{!}} '''Cyclone Warning'''<br/>''Cyclonic storm conditions<br/>expected within 24 hours.''
 
{{!}}
 
{{!}}
{{{TRW}}}
+
{{{CWR}}}
 
| }}
 
| }}
 
|-
 
|-
Line 26: Line 26:
 
{{!}} style="background-color:#{{Storm_colour|cat5}}; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 12 hours."{{!}} '''Landfall Outlook'''<br/>''Cyclonic storm conditions<br/>expected within 12 hours.''
 
{{!}} style="background-color:#{{Storm_colour|cat5}}; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 12 hours."{{!}} '''Landfall Outlook'''<br/>''Cyclonic storm conditions<br/>expected within 12 hours.''
 
{{!}}
 
{{!}}
{{{TRA}}}
+
{{{LOT}}}
 
| }}
 
| }}
 
|-
 
|-

Latest revision as of 10:53, 7 June 2020

Template documentation[view] [edit] [history] [purge]

This template is used to generate a table of tropical cyclone watches and warnings for tropical cyclones in the North Indian Ocean.

Usage

The template without any parameters will produce a result like the following:

{{IMDWarningsTable}}
style="background-color:#Template:Storm colour; width:28.4em; text-align:center; vertical-align: middle;" title="No tropical cyclone watches or warnings posted at this time"| No cyclone alerts or warnings posted at this time.

When there are tropical cyclone watches or warnings active, use the following syntax:

{{IMDWarningsTable
| CWT= 
* '''CWT'''=Cyclone Watch
| CAT=
* '''CAT'''=Cyclone Alert
| CWR= 
* '''CWR'''=Cyclone Warning
| LOT=
* '''LOT'''=Landfall outlook
| source=
  Link to source of watches / warnings
}}
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 72 hours."| Cyclone Watch
Cyclonic storm conditions
expected within 72 hours.
  • CWT=Cyclone Watch
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 48 hours."| Cyclone Alert
Cyclonic storm conditions
expected within 48 hours.
  • CAT=Cyclone Alert
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 24 hours."| Cyclone Warning
Cyclonic storm conditions
expected within 24 hours.
  • CWR=Cyclone Warning
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 12 hours."| Landfall Outlook
Cyclonic storm conditions
expected within 12 hours.
  • LOT=Landfall outlook
Source: Link to source of watches / warnings

Example

{{IMDWarningsTable
| CWT= 
* '''[[India]]'''
** '''[[Andhra Pradesh]] - [[Odisha]]'''
*** [[Bapatla]] to [[Gopalpur, Odisha|Gopalpur]]
| source= IMD
}}
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Cyclonic Storm conditions (63+ km/h, 39+ mph winds) expected within 72 hours."| Cyclone Watch
Cyclonic storm conditions
expected within 72 hours.
Source: IMD

You can also use the |align= parameter to determine how the table floats.

simple:Template:IMDWarningsTable