Template talk:HurricaneActive
From Wikipedia, the free encyclopedia
Contents |
[edit] Usage
This template is intended to be used on the pages of active hurricanes to give their current status. It can be used in conjuction with {{Infobox hurricane}} — although it is not advised (see Talk:Typhoon Chanchu (2006)). Use this as:
{{HurricaneActive | time = 10pm CDT [[September 22]], [[2005]] | category = cat4 <!-- extratropical, depression, storm, subtropical, cat1 ... cat5 --> | type = hurricane <!-- extratropical, tropical storm, typhoon, subtropical storm, etc. --> | location = 350 statute miles (560 km)<br /> southeast of [[Galveston, Texas]]<br /> 310 miles (495 km)<br />southeast of [[Cameron, Louisiana]] | 1sustained = 140 [[miles per hour|mph]] (220 [[kilometres per hour|km/h]]) <!-- "10sustained" parameter for JMA and "gusts" parameter for Australia also work --> | pressure = 917 [[millibar|mbar]] (27.08 [[InHg|inches]]) <!-- pressure parameter now optional --> | movement = west-northwest at 10 [[mph]] (17 [[km/h]]) }}
Category 4 hurricane (1-minute mean) | |
---|---|
As of: | 10pm CDT September 22, 2005 |
Location: | 350 statute miles (560 km) southeast of Galveston, Texas |
Winds: | 140 mph (220 km/h) sustained (1-min mean) |
Pressure: | 917 mbar (27.08 inches) |
Movement: | west-northwest at 10 mph (17 km/h) |
See more detailed information. |
The article should have a "Current storm information" section; this section name is linked in the template.
See Template_talk:Infobox hurricane and Template_talk:Storm colour for lists of "type" and "category" possibilities.
[edit] Discussion
Is there any way to restore the internal borders and the background colors? For instance, we had some light peach color for the time of last update, and a background color identifying the storm's category as follows:
Extratropical |
Tropical depression |
Tropical storm |
Category 1 hurricane |
Category 2 hurricane |
Category 3 hurricane |
Category 4 hurricane |
Category 5 hurricane |
It should NOT replace the InfoboxHurricane template, since this is only useful when a storm is active, while that is used for all hurricanes, past and present, which have their own articles. This could also go in the hurricane season section for storms that do not have their own article. CrazyC83 17:20, 23 September 2005 (UTC)
[edit] Automatically Picking the Color
I was working on a way of making the 'category' parameter have some standard settings and automatically use the proper text and colour, so we could just use category=1 instead of categorycolor=blah blah, category=[[blah blah|scale]].
Take a look at Template:HurricaneActive2 and User:Mysidia/Sandbox/HA Test --Mysidia (talk) 20:59, 24 September 2005 (UTC)
- I was trying to figure out a way to do that, but couldn't. Looking at your template, I don't quite understand how it works. The other solution I saw was to have separate templates, like {{HurricaneActive cat1}}, etc. I also thought that this template should be *merged* with the infobox. We'd then have {{Infobox hurricane}} and {{Infobox hurricane active}}. The latter presents the same information, of course, plus the info shown in HurricaneActive template. However then we also have stats on landfall - for older hurricanes it would be good to show landfalling windspeed and pressure. Thus we might want a {{Infobox hurricane landfall}} infobox to show that. However THEN we have the problem of multiple landfalls. The only real way to include that is to use the same method of Wikiproject:Mountains and have nested templates. Then we need a {{Infobox hurricane start}}, {{Template:Infobox hurricane main}}, {{Infobox hurricane current}}, {{Infobox hurricane landfall}}, and {{Infobox hurricane end}}, and each page uses more than one of these in sequence...but that's a bit complicated. Finally it should be possible to have an infobox without a manditory picture, since many articles don't have pictures. I guess this would be {{Infobox hurricane nopic}}, although if we want to combine this with the other available options we're back with the nested template form. Jdorje 23:40, 24 September 2005 (UTC)
-
- I used double inclusion and some subpages: the template itself has lines like background:{{HurricaneActive2/Category/{{{category}}} color}}, which means to include a template so-named by the category parameter, So for example: Template:HurricaneActive2/Category/1 color is included as the color for category=1, Template:HurricaneActive2/Category/1 is included for the text of category 1, Template:HurricaneActive2/Category/Tropical storm color is included for the color for category=Tropical storm, etc... --Mysidia (talk) 17:00, 25 September 2005 (UTC)
-
-
- Clever. Note that the HurricaneActive template isn't currently in use anywhere so you could easily move the changes over there. However, what I would really like to see is a new template {{infobox hurricane active}} that merges the {{infobox hurricane}} with the extra data for active storms. And also, take a look at Wikipedia:WikiProject_Tropical_Cyclones and see what you think. Jdorje 23:11, 5 October 2005 (UTC)
-
-
-
-
- One thing that we have to make sure: it does not become a template default. That becomes important if (in a rare instance) there are two or more major hurricanes active with their own articles that both require the active template. Example: last season with Ivan (making landfall) and Jeanne (coming out of Haiti and starting the loop). CrazyC83 22:06, 9 October 2005 (UTC)
-
-
[edit] Automatic conversions?
How about automatically converting some of the units so editors don't have to? For example, we could only input the pressure in mbar, but have the template do the math and display both mbar and inHg. This could also be extended to wind speeds/movement speeds. --Ajm81 21:35, 30 May 2006 (UTC)
- Hmm... let me try to figure out a ParserFunction for that. Titoxd(?!?) 05:01, 14 July 2006 (UTC)
[edit] "See more detailed information" letdown
All I know is on 2007_Pacific_typhoon_season#Current_storm_information I click "See more detailed information." and of course I am already at the links destination. Jidanni 02:58, 13 September 2007 (UTC) (non javascript user).