Difference between revisions of "Template:IMDWarningsTable/doc"

From blackwiki
Jump to navigation Jump to search
imported>Anirudh Emani
imported>Vanisaac
m (→‎Usage: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
Line 58: Line 58:
 
You can also use the <tt>|align=</tt> parameter to determine how the [[Help:Table#Floating table|table floats]].
 
You can also use the <tt>|align=</tt> 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>

Revision as of 17:24, 25 April 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.