Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Jump to content

Template:Hurricane season bar: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Titoxd (talk | contribs)
auto-fill track map
Wikiproject inclusion in navboxes fails WP:SELFREF
 
(47 intermediate revisions by 20 users not shown)
Line 1: Line 1:
{{#invoke:navbox|navbox
{{Navbox
|templatestyles=Hurricane season bar/styles.css
|name={{{year|}}} {{{region|}}} {{{type|}}} season buttons
|name=<includeonly>{{{year|}}} {{{region|}}} {{{type|}}} season buttons</includeonly>
|title=Tropical cyclones of the [[{{{year|}}} {{{region|}}} {{{type|}}} season]]
|title=Tropical cyclones of the [[{{{year|}}} {{{region|}}} {{{type|}}} season]]
|listclass =hlist
|bodyclass=hlist
|imageleft=[[{{{trackmap|File:{{{year|}}} {{{region|}}} {{{type|}}} season summary map.png}}}|100px|link=|alt=]]
|imageleft={{#if:{{{trackmap|}}} | [[File:{{{trackmap|}}}|100px]] | {{#ifexist: Media:{{{year|}}} {{{region|}}} {{{type|}}} season summary map.png | [[File:{{{year|}}} {{{region|}}} {{{type|}}} season summary map.png|100px]] | {{#ifexist: Media:{{{year|}}} {{{region|}}} {{{type|}}} season summary.jpg | [[File:{{{year|}}} {{{region|}}} {{{type|}}} season summary.jpg|100px]] | }} }}
|image={{Saffir-Simpson small}}
|{{{scale|}}}<!--Overrides default setting. Used {{Saffir-Simpson scale}} or similar directly-->
|{{#switch:{{{region|}}} {{{type|}}}

|Atlantic hurricane={{Saffir-Simpson small}}
|Pacific hurricane={{Saffir-Simpson small}}
|Pacific typhoon={{JMA small}}
|Philippine typhoon={{JMA small}}
|North Indian Ocean cyclone={{IMD small}}
|South-West Indian Ocean cyclone={{MFR Scale small}}
|Australian region cyclone={{BOM Scale small}}
|South Pacific cyclone={{FMS Scale small}}
|{{Saffir-Simpson small}}
}}
}}
<!-- disabled the above auto-hide until I figure out how this works
<!-- disabled the above auto-hide until I figure out how this works
{{#if:{{{timeline|<noinclude>1</noinclude>}}}{{{list|}}}{{{statistics|}}}
{{#if:{{{timeline|<noinclude>1</noinclude>}}}{{{list|}}}{{{statistics|}}}
Line 12: Line 24:
|above=
|above=
{{#if:{{{list|<noinclude>1</noinclude>}}}
{{#if:{{{list|<noinclude>1</noinclude>}}}
|[[List of storms in the {{{year|}}} {{{region|}}} {{{type}}} season|List of storms]]{{#if:{{{statistics|<noinclude>1</noinclude>}}}{{{timeline|}}}|{{·}}}}
|* [[List of storms in the {{{year|}}} {{{region|}}} {{{type}}} season|List of storms]]{{#if:{{{statistics|<noinclude>1</noinclude>}}}{{{timeline|}}}|}}
}}{{#if:{{{statistics|<noinclude>1</noinclude>}}}
}}{{#if:{{{statistics|<noinclude>1</noinclude>}}}
|[[{{{year|}}} {{{region|}}} {{{type}}} season statistics|Statistics]]{{#if:{{{timeline|<noinclude>1</noinclude>}}}|{{·}}}}
|* [[{{{year|}}} {{{region|}}} {{{type}}} season statistics|Statistics]]{{#if:{{{timeline|<noinclude>1</noinclude>}}}|}}
}}{{#if:{{{timeline|<noinclude>1</noinclude>}}}
}}{{#if:{{{timeline|<noinclude>1</noinclude>}}}
|[[Timeline of the {{{year|}}} {{{region|}}} {{{type}}} season|Timeline]]
|* [[Timeline of the {{{year|}}} {{{region|}}} {{{type}}} season|Timeline]]
}}{{#if:{{{timeline|<noinclude>1</noinclude>}}}{{{list|}}}{{{statistics|}}}
}}{{#if:{{{timeline|<noinclude>1</noinclude>}}}{{{list|}}}{{{statistics|}}}
}}
}}



|list1 =
|list1 =
{{Wikipedia:WikiProject Tropical cyclones/Idea/HSBS}}
{{{storms}}}
{{{storms}}}
{{Wikipedia:WikiProject Tropical cyclones/Idea/HSBE}}


|below=
|below=
'''{{Icon|Book}} [[Book:{{{year|}}} {{{region|}}} {{{type|}}} season|Book]]'''{{·}} '''{{Icon|Category}} [[:Category:{{#iferror:{{#ifexpr:{{{year|}}}<1950|{{#expr:({{{year|}}}-5) round trunc-1}}–{{#expr:(({{{year|}}}-5) round trunc-1) + 9}}|{{{year|}}} }}|{{{year|}}} }} {{{region|}}} {{{type|}}} season{{#iferror:{{#ifexpr:{{{year|}}}<1950|s}}|}}|Category]]'''{{·}} '''{{Icon|Portal}} [[Portal:Tropical cyclones|Portal]]'''{{·}} '''{{Icon|WikiProject}} [[Wikipedia:WikiProject Tropical cyclones|WikiProject]]'''{{·}} '''[[File:Commons-logo.svg|16px]] [[Commons:Category:{{{year|}}} {{{region|}}} {{{type|}}} season|Commons]]'''
* {{Icon|Category}} [[:Category:{{#iferror:{{#ifexpr:{{{year|}}}<1950|{{#expr:({{{year|}}}-5) round trunc-1}}s |{{{year|}}} }}|{{{year|}}} }} {{{region|}}} {{{type|}}} season{{#iferror:{{#ifexpr:{{{year|}}}<1950|s}}|}}|Category]]
}}<noinclude>{{documentation}}</noinclude>

}}

Latest revision as of 15:09, 8 July 2024