Difference between revisions of "Template:HurricaneWarningsTable/doc"

From blackwiki
Jump to navigation Jump to search
imported>Titoxd
(moar info)
imported>Titoxd
(better docs)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
 +
This template is used to generate a table of [[tropical cyclone watches and warnings]] for [[tropical cyclone]]s in the [[Tropical cyclone basins|Atlantic and Northeastern Pacific basins]].
  
 
=== Usage ===
 
=== Usage ===
{{HurricaneWarningsTable}}
+
The template without any parameters will produce a result like the following:
 +
{| width=100%
 +
|-
 +
|| <pre>{{HurricaneWarningsTable}}</pre>|| {{HurricaneWarningsTable|align=right}}
 +
|}
 
{{-}}
 
{{-}}
{{HurricaneWarningsTable  
+
When there are tropical cyclone watches or warnings active, use the following syntax:
 +
{| width=100%
 +
|-
 +
|| <pre>{{HurricaneWarningsTable
 
| HUW=  
 
| HUW=  
 
* '''HUW'''=Hurricane Warnings
 
* '''HUW'''=Hurricane Warnings
Line 15: Line 23:
 
* '''TRA'''=Tropical Storm Watches
 
* '''TRA'''=Tropical Storm Watches
 
}}
 
}}
 +
</pre>|| {{HurricaneWarningsTable|align=right
 +
| HUW=
 +
* '''HUW'''=Hurricane Warnings
 +
| HUA=
 +
* '''HUA'''=Hurricane Watches
 +
| TRW=
 +
* '''TRW'''=Tropical Storm Warnings
 +
| TRA=
 +
* '''TRA'''=Tropical Storm Watches
 +
}}
 +
 +
|}
 +
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><!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->

Revision as of 06:48, 2 August 2011

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.