Misplaced Pages

Template:Infobox tropical cyclone current: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 16:06, 18 July 2014 editMaster of Time (talk | contribs)Autopatrolled, Extended confirmed users, Pending changes reviewers, Rollbackers27,641 edits Reverted good faith edits by Pigsonthewing: The merge still has some issues that need to be worked on, and this infobox still has some transclusions, so we need to wait a bit longer. There was a discussion at WT:WPTC. (TW)← Previous edit Revision as of 20:23, 20 July 2014 edit undoNetoholic (talk | contribs)Autopatrolled, Extended confirmed users39,916 edits Undid revision 617469051 by Dustin V. S. (talk) restoring redirect (no pages currently using this)Next edit →
Line 1: Line 1:
#REDIRECT ]
{| class="infobox" <!--

=================================================================
{{R from merge}}
Infobox - to display current storm/hurricane information
=================================================================
(see "NOTES" at bottom)
--
--> border="0" cellspacing="0" cellpadding="1" style="border-collapse:collapse; margin:0 0 1em 1em;" align="right" width="280"
|-
! colspan=3 style="font-size:12pt; background-color:#EEEEEE; border-bottom:1px solid #AAAAAA; padding:0;" align="center" |
{| cellpadding="5" cellspacing="0" border="0" style="background-color:#EEEEEE; width:100%;" <!--see NOTE W2 below-->
|-
! style="width:30px;" |
! '''{{{name}}}'''
! style="border-left:1px solid #AAAAAA; padding:5; width:24px;background: #{{Storm colour|{{{category}}}}};" | <includeonly>{{hurricane status small|category={{{category}}}|type={{{type}}}}}</includeonly><noinclude>TC</noinclude>
|}
|- colspan=3
<!-- ------------------ ROW OF IMAGES ------------------ -->
| colspan=3 align="center" |<table
width=280 border="0" cellspacing=0 cellpadding=4 style="background-color:#F9F9F9; border-collapse:collapse; font-size:94%; line-height:125%;">
{{ #ifeq: {{{track|<noinclude>u</noinclude>}}}|{{{track|u}}}
|<tr width=280 style="padding-left:0px; padding-right:9px; padding-top:3px; padding-bottom:3px;"><td align=center valign=center><noinclude><br/><br/></noinclude>]<br><small>{{{image_caption|Satellite image}}}</td>
<td align=center valign=center>{{{track_topcaption|<br>}}}]<br><small>{{{track_caption|Forecast map}}}</td></tr>
|<!--else, no track-map --
--><tr colspan=2 style="padding-top:2px; padding-bottom:3px;">
<td>]<br><small>{{{image_caption|Satellite image}}}</td></tr>
}}<!--end ifeq track|u -->
</table><!--end images table-->
<!-- ------------------------------ row for AUScategory etc. -->
|- colspan=2
{{#if:{{{AUScategory|}}}
|<tr><th colspan="2" align=center style="border-top:1px solid #AAAAAA; background: #{{Storm colour|{{{category}}}}};"><includeonly>'''Current storm status'''<br />{{#switch:{{{AUScategory}}}
|cat1=Category 1
|cat2=Category 2
|cat3=Category 3
|cat4=Category 4
|cat5=Category 5
|storm=
|depression=
|unknown=Unknown strength
|#default=
}} {{#switch:{{{JMAtype}}}
|tropical storm=]
|subtropical storm=]
|tropical depression=]
|subtropical depression=]
|typhoon=Typhoon
|STS=Severe tropical storm
|#default=
}} {{#switch:{{{JMAcategory}}}
|typhoon=Typhoon
|storm=Tropical Storm
|depression=Tropical Depression
|unknown=Unknown strength
|STS=Severe Tropical Storm
|#default=
}} {{#switch:cyclone
|tropical storm=]
|subtropical storm=]
|tropical depression=]
|subtropical depression=]
|extratropical depression=Extratropical depression
|extratropical storm=Extratropical storm
|typhoon=typhoon
|hurricane=hurricane
|super typhoon=super typhoon
|cyclone=cyclone
|tropical cyclone=tropical cyclone
|super typhoon=super typhoon
|none=
|#default=]
}}</includeonly> (])</th></tr>
}}{{
#if:{{{JMAcategory|}}}
|<tr><th colspan="2" align=center style="border-top:1px solid #AAAAAA; background: #{{Storm colour|{{{JMAcategory}}}}};"><includeonly>'''Current storm status'''<br /> {{#switch:{{{JMAtype}}}
|tropical storm=]
|subtropical storm=]
|tropical depression=]
|subtropical depression=]
|typhoon=Typhoon
|STS=Severe tropical storm
|#default=
}} {{#switch:{{{JMAcategory}}}
|typhoon=
|storm=
|depression=
|unknown=Unknown strength
|STS=
|#default=
}} {{#switch:none
|tropical storm=]
|subtropical storm=]
|tropical depression=]
|subtropical depression=]
|extratropical depression=Extratropical depression
|extratropical storm=Extratropical storm
|post-tropical cyclone=]
|post-tropical cyclone H=post-tropical cyclone
|typhoon=typhoon
|hurricane=hurricane
|super typhoon=super typhoon
|cyclone=cyclone
|tropical cyclone=tropical cyclone
|super typhoon=super typhoon
|none=
|#default=]
}}</includeonly> (])</th></tr>
}}{{
#if:{{{category|}}}
|<tr><th colspan="2" align=center style="border-top:1px solid #AAAAAA; background: #<includeonly>{{Storm colour|{{{category}}}}}</includeonly>;"><includeonly>'''Current storm status'''<br />{{#switch:{{{category}}}
|cat1=Category 1
|cat2=Category 2
|cat3=Category 3
|cat4=Category 4
|cat5=Category 5
|storm=
|depression=
|unknown=Unknown strength
|#default=
}} {{#switch:{{{type}}}
|tropical storm=]
|subtropical storm=]
|tropical depression=]
|subtropical depression=]
|extratropical depression=Extratropical depression
|extratropical storm=Extratropical storm
|post-tropical cyclone=Post-tropical cyclone
|post-tropical cyclone H=post-tropical cyclone
|typhoon=typhoon
|hurricane=hurricane
|super typhoon=super typhoon
|cyclone=cyclone
|tropical cyclone=tropical cyclone
|super typhoon=super typhoon
|STS=]
|none=
|#default=]
}}</includeonly>&nbsp;(])</th></tr>
}}
<!-- ------------------------------------- Row for As of -->
|- colspan=1 style="background-color:#F0F0F0; border-top:1px solid #AAAAAA; border-bottom:1px solid #AAAAAA;"
! valign=top style="text-align:left; padding:0.1ex 0 0.1ex 5px;" | As of:
| valign=top style="padding:0.1ex 5px;" width="80%" | {{{time}}}
<!-- ------------------------------------- Row for Location -->
<!-- Putting the coordinates directly in location is deprecated; use lat and lon instead -->
|- colspan=1 style="border-bottom:1px solid #AAAAAA;"
! valign=top style="text-align:left; padding:0.1ex 0 0.1ex 5px;" | Location:
| valign=top style="padding:0.1ex 5px;" nowrap width="80%" | {{#if:{{{lat|}}}|{{#if:{{{lon|}}}
| {{coord|{{{lat}}}|{{{1}}}|{{{lon}}}|{{{2}}}|dim:1000km|name={{{name}}}|display=inline}} {{#if:{{{within_units|}}} | ± {{{within_units}}}}}
{{#if:{{{distance_from|}}}
|{{{distance_from}}}
}}
| {{{location}}}
}}
|{{{location}}}
}}
<!-- ------------------------------------- Row for Winds -->
|- colspan=1 style="background-color:#F0F0F0; border-top:1px solid #AAAAAA; border-bottom:1px solid #AAAAAA;"
! valign="top" style="text-align:left; padding:0.1ex 0 0.1ex 5px;" | Winds:
| valign="top" style="padding:0.1ex 5px;" width="80%" | {{
#if:{{{10sustained|}}}
| {{{10sustained}}} sustained (10-min mean)<br>
}}{{#if:{{{10average|}}}
| {{{10average}}} average (10-min mean)<br>
}}{{#if:{{{3sustained|}}}
| {{{3sustained}}} sustained (3-min mean)<br>
}}{{#if:{{{1sustained|}}}
| {{{1sustained}}} sustained (1-min mean)<br>
}}{{#if:{{{gusts|}}}
| gusting to {{{gusts}}}
}}
<!-- ------------------------------------- Row for Pressure -->
|- colspan=1 style="border-bottom:1px solid #AAAAAA;"
! valign="top" style="text-align:left; padding:0.1ex 0 0.1ex 5px;" | Pressure:
| valign="top" style="padding:0.1ex 5px;" nowrap width="80%" | {{{pressure}}}
<!-- ------------------------------------- Row for Movement -->
|- colspan=1 style="background-color:#F0F0F0; border-top:1px solid #AAAAAA; border-bottom:1px solid #AAAAAA;"
! valign="top" style="text-align:left; padding:0.1ex 0 0.1ex 5px;" | Movement:
| valign="top" style="padding:0.1ex 5px;" width="80%" | {{{movement}}}
<!-- ---------------------------------- Bottom bar See-more -->
|-
! colspan=3 align=center style="background: #{{Storm colour|{{{category}}}}};" | See more {{#if:{{{stormarticle|}}}
| ].<br>
|{{#if:{{{sectnum|}}}
| ].<br>
| ].<br>
}}
}}<!--
--
=============================== Check for invalid parameters -->
{{#if:{{{map|}}}|
<br>Invalid infobox parameter "map" - try "track=XXX.gif"}}{{
#if:{{{Category|}}}| <!--see NOTE F4 below-->
<br>Invalid infobox parameter "Category" - try lowercase "category=storm"}}{{
#if:{{{image_size|}}}|
<br>Invalid infobox parameter "image_size" - try "image_width=130px"}}{{
#if:{{{imagesize|}}}|
<br>Invalid infobox parameter "imagesize" - try "image_width=130px"}}{{
#if:{{{track_size|}}}|
<br>Invalid infobox parameter "track_size" - try "track_width=170px"}}{{
#if:{{{tracksize|}}}|
<br>Invalid infobox parameter "tracksize" - try "track_width=170px"}}
|}<!--end table--><!--
-- More coding beyond table-end can put blank lines in article.
--
--------------------------------------------- --><noinclude>
{{being deleted|2013 September 1|merge=Template:Infobox typhoon current}}
{{Documentation}}
<!--
===============================================================
--NOTES
-- The following are implementation notes, shown as footnotes
-- in the template coding above.
--
-- NOTE CS: These comment lines are kept inside wikiservers,
-- omitted as articles are formatted, not transmitted.
-- As of February 2008, the WP parser skips comments.
--
-- NOTE W2: This template is implemented as nested wikitables
-- (using "{|" in column 1).
--
-- NOTE I3: The "class=infobox" sets 2 predefined columns in
-- an infobox. Use "colspan=2" to span both columns.
--
-- NOTE F4: An if-statement can be indented when "{{" is left
-- on the previous line; otherwise, text gets boxed.
--
--HISTORY:
-- 26Jun10 New parameter: stormarticle
-- 13Jul06 Created as storm infobox.
-- 28Aug08 Converted to "class=infobox" from "class=toccolours".
-- 28Aug08 New parameters: image_width, track_width.
-- 28Aug08 New parameters: image_caption, track_caption.
-- 28Aug08 Added checking for invalid parameters at end.
-- 28Aug08 Created internal comment sections: NOTES & HISTORY.
-- 28Aug08 Fixed bug to show value of "1sustained".
-- 30Aug08 New "track_topcaption" as text/spaces over track map
-- 08Sep08 Fixed wide-box bug by data width="80%" (was 100%).
-- 08Sep08 Put internal comment lines separating each row.
--
-- (Note: Comment lines are in server, not transmitted in article.)
-->
</noinclude>

Revision as of 20:23, 20 July 2014

Redirect to:

  • From a merge: This is a redirect from a page that was merged into another page. This redirect was kept in order to preserve the edit history of this page after its content was merged into the content of the target page. Please do not remove the tag that generates this text (unless the need to recreate content on this page has been demonstrated) or delete this page.