Difference between revisions of "Template:IMDWarningsTable/doc"

From blackwiki
Jump to navigation Jump to search
imported>Anirudh Emani
(Created page with '{{Documentation subpage}} <!-- Please place categories where indicated at the bottom of this page and interwikis at Wikidata (see Wikipedia:Wikidata) --> Thi...')
 
imported>Jonesey95
m (Fix Linter errors using AutoEd)
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
{| width=100%
 
{| width=100%
 
|-
 
|-
|| <pre>{{HurricaneWarningsTable}}</pre>|| {{HurricaneWarningsTable|align=right}}
+
|| <pre>{{IMDWarningsTable}}</pre>|| {{IMDWarningsTable|align=right}}
 
|}
 
|}
 
{{clear}}
 
{{clear}}
Line 12: Line 12:
 
{| width=100%
 
{| width=100%
 
|-
 
|-
|| <pre>{{HurricaneWarningsTable
+
|| <pre>{{IMDWarningsTable
| HUW=  
+
| CWT=  
* '''HUW'''=Hurricane Warnings
+
* '''CWT'''=Cyclone Watch
| HUA=
+
| CAT=
* '''HUA'''=Hurricane Watches
+
* '''CAT'''=Cyclone Alert
| TRW=  
+
| CWR=  
* '''TRW'''=Tropical Storm Warnings
+
* '''CWR'''=Cyclone Warning
| TRA=
+
| LOT=
* '''TRA'''=Tropical Storm Watches
+
* '''LOT'''=Landfall outlook
 
| source=
 
| source=
 
   Link to source of watches / warnings
 
   Link to source of watches / warnings
 
}}
 
}}
</pre>|| {{HurricaneWarningsTable|align=right  
+
</pre>|| {{IMDWarningsTable|align=right
| HUW=  
+
| CWT=  
* '''HUW'''=Hurricane Warnings
+
* '''CWT'''=Cyclone Watch
| HUA=
+
| CAT=
* '''HUA'''=Hurricane Watches
+
* '''CAT'''=Cyclone Alert
| TRW=  
+
| CWR=  
* '''TRW'''=Tropical Storm Warnings
+
* '''CWR'''=Cyclone Warning
| TRA=
+
| LOT=
* '''TRA'''=Tropical Storm Watches
+
* '''LOT'''=Landfall outlook
 
| source=
 
| source=
 
   Link to source of watches / warnings
 
   Link to source of watches / warnings
 +
}}
 +
|}
 +
{{clear}}
 +
Example
 +
{| width=100%
 +
|-
 +
|| <pre>{{IMDWarningsTable
 +
| CWT=
 +
* '''[[India]]'''
 +
** '''[[Andhra Pradesh]] - [[Odisha]]'''
 +
*** [[Bapatla]] to [[Gopalpur, Odisha|Gopalpur]]
 +
| source= IMD
 +
}}</pre>|| {{IMDWarningsTable|align=right
 +
| CWT=
 +
* '''[[India]]'''
 +
** '''[[Andhra Pradesh]] - [[Odisha]]'''
 +
*** [[Bapatla]] to [[Gopalpur, Odisha|Gopalpur]]
 +
| source= IMD
 
}}
 
}}
  
 
|}
 
|}
You can also use the <tt>|align=</tt> parameter to determine how the [[Help:Table#Floating table|table floats]].
+
You can also use the <code>|align=</code> parameter to determine how the [[Help:Table#Floating table|table floats]].
  
<includeonly><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
+
<includeonly>{{Sandbox other||<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
[[simple:Template:IMDWarningsTable]]
 
[[simple:Template:IMDWarningsTable]]
 
[[Category:Exclude in print]]
 
[[Category:Exclude in print]]
 
[[Category:Tropical cyclone templates|{{PAGENAME}}]]
 
[[Category:Tropical cyclone templates|{{PAGENAME}}]]
  
</includeonly>
+
}}</includeonly>

Latest revision as of 02:15, 3 June 2020

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.