This is a documentation subpage for Template:Hurricane season bar button. It may contain usage information, categories and other content that is not part of the original template page. |
Hurricane season bars templates
editOverview
editThe hurricane season button bars have had a major design overhaul recently. Everything is more user friendly, and every hurricane basin now relies on the same templates.
- You no longer need to find the basin-specific template for the hurricane season you want, every basin works the exact same way
- Scale legends are automatically handled by the template, no need to search for the templates, or create a custom table for it
- Links to portal, categories, books, wikiproject, and Wikimedia commons are now handled automatically
- Ability to link to list of storms, timelines, statistics, and other common articles
Four templates are used in total
All are documented on this page.
Alright, first comes the start of the template. This is simple, just use
{{Hurricane season bar start
|region=
|year=
|type=
}}
parameter | |year=
|
|region=
|
|type=
|
---|---|---|---|
possible values |
YYYY YYYY–YY |
Atlantic |
cyclone |
The basic idea is to match the title of the season. So for the 2005–06 Australian region cyclone season
|year=2005–06
|region=Australian region
|type=cyclone
In addition, if a list of storms, timeline, and/or statistics article exist for that season, add
|list=yes
|timeline=yes
|statistics=yes
If they do not exist, just leave them out (i.e. |timeline=no
will still produce a link to the timeline)
This is a bit more complicated than the first template, but is still straightforward. It goes like this
{{Hurricane season bar button
|intensity=
|stormname=
|strength=
|linkname=
|storminitial=
}}
parameter | value |
---|---|
|intensity=
|
See {{storm colour}}, use directly, aka
and not
|
|stormname=
|
Name of the storm, without year, etc..., aka
Not
|
|strength=
|
Tropical Depression, Category 5, etc... |
|linkname=
|
Main article for this storm, e.g.
Alternatively, the "season#section" link, e.g.
|
|storminitial=
|
The initial for the storm. This is what is displayed as a button. |
This works just like {{Hurricane season bar start}}, except there is only three parameters.
{{Hurricane season bar start
|region=
|year=
|type=
}}
These are the same parameters as before, so use the same values.
If you did it right...
editIf you did it right, you should end up with something that looks a lot like this
If you did it wrong, ask for help at WT:WPTC.