Difference between revisions of "Template:HurricaneWarningsTable/doc"

From blackwiki
Jump to navigation Jump to search
imported>Good Olfactory
imported>Magioladitis
m (→‎Usage: clean up, replaced: {{-}} → {{clear}} using AWB (12084))
Line 9: Line 9:
 
|| <pre>{{HurricaneWarningsTable}}</pre>|| {{HurricaneWarningsTable|align=right}}
 
|| <pre>{{HurricaneWarningsTable}}</pre>|| {{HurricaneWarningsTable|align=right}}
 
|}
 
|}
{{-}}
+
{{clear}}
 
When there are tropical cyclone watches or warnings active, use the following syntax:
 
When there are tropical cyclone watches or warnings active, use the following syntax:
 
{| width=100%
 
{| width=100%

Revision as of 13:54, 2 September 2016

This template is used to generate a table of tropical cyclone watches and warnings for tropical cyclones in the Atlantic and Northeastern Pacific basins.

Usage

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

{{HurricaneWarningsTable}}
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 tropical cyclone watches or warnings posted at this time.

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

{{HurricaneWarningsTable
| HUW= 
* '''HUW'''=Hurricane Warnings
| HUA=
* '''HUA'''=Hurricane Watches
| TRW= 
* '''TRW'''=Tropical Storm Warnings
| TRA=
* '''TRA'''=Tropical Storm Watches
}}
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Hurricane conditions (74+ mph, 118+ km/h winds) expected within 36 hours."| Hurricane Warning
Hurricane conditions
expected within 36 hours.
  • HUW=Hurricane Warnings
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Hurricane conditions (74+ mph, 118+ km/h winds) possible within 48 hours."| Hurricane Watch
Hurricane conditions
possible within 48 hours.
  • HUA=Hurricane Watches
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Tropical storm conditions (39-73 mph, 63-117 km/h winds) expected within 36 hours."| Tropical Storm Warning
Tropical storm conditions expected within 36 hours.
  • TRW=Tropical Storm Warnings
style="background-color:#Template:Storm colour; width:12.6em; text-align:center; vertical-align: middle;" title="Tropical storm conditions (39-73 mph, 63-117 km/h winds) possible within 48 hours."| Tropical Storm Watch
Tropical storm conditions possible within 48 hours.
  • TRA=Tropical Storm Watches

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