Difference between revisions of "Template:Infobox storm/doc"

From blackwiki
Jump to navigation Jump to search
imported>United States Man
(→‎See also: rmv redirect)
imported>LightandDark2000
(Fix.)
 
(23 intermediate revisions by 13 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
 +
{{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}}
 +
 
This template may be used in articles about storms, including cyclones and winter storms.
 
This template may be used in articles about storms, including cyclones and winter storms.
 +
 
== Usage ==
 
== Usage ==
{{Parameter names example|name|event|RSI=1|image|image location|image alt|alt|caption|image name|type|stormtype|formed|date formed|active|dissipated|date dissipated|lowest pressure|pressure|lowest temperature|tornadoes|fujitascale|enhanced|tornado duration|10-min winds=0|10-min prefix|10-min suffix|1-min winds=0|highest winds=0|sustained wind=0|gusts=0|1-min prefix|1-min suffix|pregust|gust|hail|maximum snow|maximum amount|damages|total damages (USD)|total snow damages (USD)|power outages|casualties|total fatalities, injuries|snow fatalities|affected|areas affected|countries affected|location|current advisories|notes}}
+
{{Parameter names example|name|partof|RSI=1|image|alt|caption|type|formed|active|dissipated|pressure|lowest temperature|tornadoes|fujitascale|fujitascale ref|enhanced|tornado duration|beaufort scale|10-min winds=0|10-min prefix|10-min suffix|1-min winds=0|highest winds=0|gusts=0|1-min prefix|1-min suffix|hail|maximum snow|maximum rain|damages|power outages|fatalities|areas affected|current advisories|notes}}
 +
 
 
<pre style="overflow: auto;">
 
<pre style="overflow: auto;">
 
{{Infobox storm
 
{{Infobox storm
Line 18: Line 22:
 
| tornadoes          =  
 
| tornadoes          =  
 
| fujitascale        =  
 
| fujitascale        =  
 +
| enhanced          = <!-- yes = Enhanced Fujita scale -->
 +
| fujitascale ref    =
 
| tornado duration  =  
 
| tornado duration  =  
 
| highest winds      = <!-- in km/h, gets automatically converted to mph and knots -->
 
| highest winds      = <!-- in km/h, gets automatically converted to mph and knots -->
 
| gusts              =  
 
| gusts              =  
 +
| beaufort scale    =
 
| hail              =  
 
| hail              =  
 
| maximum snow      = <!-- maximum snowfall or ice accretion -->
 
| maximum snow      = <!-- maximum snowfall or ice accretion -->
 +
| maximum rain      = <!-- maximum rainfall -->
 +
| damages            =
 
| power outages      =  
 
| power outages      =  
| casualties         =  
+
| fatalities         =  
| damages            =
+
| areas affected     =  
| affected           =  
 
 
| current advisories =  
 
| current advisories =  
| enhanced          =  
+
| partof            =
 
| notes              =  
 
| notes              =  
 
}}
 
}}
Line 39: Line 47:
 
| RSI                = <!-- Regional Snowfall Index -->
 
| RSI                = <!-- Regional Snowfall Index -->
 
</pre>
 
</pre>
 +
{{clear}}
 +
 +
==TemplateData==
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"name": {
 +
"aliases": [
 +
"event"
 +
],
 +
"label": "Name",
 +
"description": "Name of storm",
 +
"example": "Hurricane Katrina",
 +
"type": "string"
 +
},
 +
"image": {
 +
"aliases": [
 +
"image location"
 +
],
 +
"label": "Image"
 +
},
 +
"image alt": {
 +
"aliases": [
 +
"alt"
 +
],
 +
"label": "Image alternative text",
 +
"description": "Alternative text for image.",
 +
"type": "string"
 +
},
 +
"caption": {
 +
"aliases": [
 +
"image name"
 +
],
 +
"label": "Image caption",
 +
"description": "Caption beneath image.",
 +
"type": "string"
 +
},
 +
"type": {
 +
"aliases": [
 +
"stormtype"
 +
],
 +
"label": "Type",
 +
"description": "Storm type",
 +
"example": "Blizzard",
 +
"type": "string"
 +
},
 +
"formed": {
 +
"aliases": [
 +
"date formed"
 +
],
 +
"label": "Formed",
 +
"description": "Date storm started",
 +
"type": "date"
 +
},
 +
"active": {
 +
"label": "Duration",
 +
"description": "Time period storm was active",
 +
"type": "string",
 +
"aliases": [
 +
"duration"
 +
]
 +
},
 +
"dissipated": {
 +
"aliases": [
 +
"date dissipated"
 +
],
 +
"label": "Dissipated",
 +
"description": "Date storm ended",
 +
"type": "date"
 +
},
 +
"lowest pressure": {
 +
"label": "Lowest pressure",
 +
"description": "in mb/hPa",
 +
"type": "string"
 +
},
 +
"pressure": {},
 +
"lowest temperature": {
 +
"label": "Lowest temperature",
 +
"type": "string"
 +
},
 +
"tornadoes": {
 +
"label": "Tornadoes confirmed",
 +
"type": "string"
 +
},
 +
"fujitascale": {
 +
"label": "Fujita scale / Enhanced Fujita scale",
 +
"description": "add parameter enhanced=yes for Enhanced Fujita scale",
 +
"example": "EF4",
 +
"type": "string"
 +
},
 +
"enhanced": {
 +
"label": "Enhanced Fujita scale",
 +
"description": "Set to yes if fujitascale is enhanced",
 +
"example": "yes",
 +
"type": "string"
 +
},
 +
"tornado duration": {
 +
"label": "Duration of tornado outbreak",
 +
"type": "string"
 +
},
 +
"10-min winds": {},
 +
"10-min prefix": {},
 +
"10-min suffix": {},
 +
"1-min winds": {},
 +
"1-min prefix": {},
 +
"1-min suffix": {},
 +
"highest winds": {
 +
"description": "in km/h"
 +
},
 +
"sustained wind": {},
 +
"gusts": {
 +
"aliases": [
 +
"gust"
 +
],
 +
"label": "Highest gust"
 +
},
 +
"gusts prefix": {
 +
"aliases": [
 +
"pregusts"
 +
]
 +
},
 +
"gusts suffix": {},
 +
"beaufort scale": {},
 +
"hail": {
 +
"label": "Largest hail"
 +
},
 +
"RSI": {
 +
"label": "Regional Snowfall Index"
 +
},
 +
"maximum snow": {
 +
"aliases": [
 +
"maximum amount"
 +
],
 +
"label": "Maximum snowfall or ice accretion"
 +
},
 +
"maximum rain": {
 +
"label": "Maximum rainfall"
 +
},
 +
"damages": {
 +
"aliases": [
 +
"total damages (USD)",
 +
"total snow damages (USD)"
 +
],
 +
"label": "Damage"
 +
},
 +
"power outages": {},
 +
"casualties": {
 +
"aliases": [
 +
"total casualties",
 +
"snow casualties",
 +
"fatalities",
 +
"total fatalities"
 +
],
 +
"label": "Casualties"
 +
},
 +
"affected": {
 +
"aliases": [
 +
"areas affected",
 +
"countries affected",
 +
"location"
 +
],
 +
"label": "Areas affected",
 +
"type": "string"
 +
},
 +
"current advisories": {},
 +
"notes": {},
 +
"fujitascale ref": {},
 +
"partof": {
 +
"label": "Part of"
 +
}
 +
},
 +
"description": "Infobox for a storm",
 +
"format": "block",
 +
"paramOrder": [
 +
"name",
 +
"image",
 +
"image alt",
 +
"caption",
 +
"type",
 +
"formed",
 +
"active",
 +
"dissipated",
 +
"lowest pressure",
 +
"pressure",
 +
"lowest temperature",
 +
"tornadoes",
 +
"fujitascale",
 +
"enhanced",
 +
"fujitascale ref",
 +
"tornado duration",
 +
"10-min winds",
 +
"10-min prefix",
 +
"10-min suffix",
 +
"1-min winds",
 +
"1-min prefix",
 +
"1-min suffix",
 +
"highest winds",
 +
"sustained wind",
 +
"gusts",
 +
"gusts prefix",
 +
"gusts suffix",
 +
"beaufort scale",
 +
"hail",
 +
"RSI",
 +
"maximum snow",
 +
"maximum rain",
 +
"damages",
 +
"power outages",
 +
"casualties",
 +
"affected",
 +
"current advisories",
 +
"partof",
 +
"notes"
 +
]
 +
}
 +
</templatedata>
 +
 +
== Tracking category ==
 +
* {{clc|Pages using infobox storm with unknown parameters}}
 +
* {{clc|Pages using infobox storm with redundant parameters}}
 +
* {{c|Pages using infobox storm with notes parameter}} (not a problem that requires any changes)
  
 
== See also ==
 
== See also ==
 
*{{tl|Infobox earthquake}}
 
*{{tl|Infobox earthquake}}
 
*{{tl|Infobox flood}}
 
*{{tl|Infobox flood}}
*{{tl|Infobox hurricane}}
+
*{{tl|Infobox tropical cyclone}}
  
<includeonly>
+
<includeonly>{{Sandbox other||
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
<!-- Categories go here, and interwikis go in Wikidata -->
 
[[Category:Weather infobox templates|Storm]]
 
[[Category:Weather infobox templates|Storm]]
</includeonly>
+
[[Category:Templates that add a tracking category]]
 +
}}</includeonly>

Latest revision as of 22:04, 13 September 2020

This template may be used in articles about storms, including cyclones and winter storms.

Usage

Template:Parameter names example

{{Infobox storm
| name               = <!-- name of event, can be omitted if same as article title -->
| image              = <!-- just the filename-->
| alt                = 
| caption            = 
| type               = 
| formed             = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| active             = 
| dissipated         = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| lowest pressure    = <!-- in mb/hPa, gets automatically converted to inHg -->
| lowest temperature = 
| tornadoes          = 
| fujitascale        = 
| enhanced           = <!-- yes = Enhanced Fujita scale -->
| fujitascale ref    =
| tornado duration   = 
| highest winds      = <!-- in km/h, gets automatically converted to mph and knots -->
| gusts              = 
| beaufort scale     =
| hail               = 
| maximum snow       = <!-- maximum snowfall or ice accretion -->
| maximum rain       = <!-- maximum rainfall -->
| damages            = 
| power outages      = 
| fatalities         = 
| areas affected     = 
| current advisories = 
| partof             =
| notes              = 
}}

Region- or type-specific parameters

Regional Snowfall Index (used only for U.S. winter storms)

| RSI                = <!-- Regional Snowfall Index -->

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Infobox storm

Infobox for a storm

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Namename event

Name of storm

Example
Hurricane Katrina
Stringoptional
Imageimage image location

no description

Unknownoptional
Image alternative textimage alt alt

Alternative text for image.

Stringoptional
Image captioncaption image name

Caption beneath image.

Stringoptional
Typetype stormtype

Storm type

Example
Blizzard
Stringoptional
Formedformed date formed

Date storm started

Dateoptional
Durationactive duration

Time period storm was active

Stringoptional
Dissipateddissipated date dissipated

Date storm ended

Dateoptional
Lowest pressurelowest pressure

in mb/hPa

Stringoptional
Pressurepressure

no description

Unknownoptional
Lowest temperaturelowest temperature

no description

Stringoptional
Tornadoes confirmedtornadoes

no description

Stringoptional
Fujita scale / Enhanced Fujita scalefujitascale

add parameter enhanced=yes for Enhanced Fujita scale

Example
EF4
Stringoptional
Enhanced Fujita scaleenhanced

Set to yes if fujitascale is enhanced

Example
yes
Stringoptional
Fujitascale reffujitascale ref

no description

Unknownoptional
Duration of tornado outbreaktornado duration

no description

Stringoptional
10-min winds10-min winds

no description

Unknownoptional
10-min prefix10-min prefix

no description

Unknownoptional
10-min suffix10-min suffix

no description

Unknownoptional
1-min winds1-min winds

no description

Unknownoptional
1-min prefix1-min prefix

no description

Unknownoptional
1-min suffix1-min suffix

no description

Unknownoptional
Highest windshighest winds

in km/h

Unknownoptional
Sustained windsustained wind

no description

Unknownoptional
Highest gustgusts gust

no description

Unknownoptional
Gusts prefixgusts prefix pregusts

no description

Unknownoptional
Gusts suffixgusts suffix

no description

Unknownoptional
Beaufort scalebeaufort scale

no description

Unknownoptional
Largest hailhail

no description

Unknownoptional
Regional Snowfall IndexRSI

no description

Unknownoptional
Maximum snowfall or ice accretionmaximum snow maximum amount

no description

Unknownoptional
Maximum rainfallmaximum rain

no description

Unknownoptional
Damagedamages total damages (USD) total snow damages (USD)

no description

Unknownoptional
Power outagespower outages

no description

Unknownoptional
Casualtiescasualties total casualties snow casualties fatalities total fatalities

no description

Unknownoptional
Areas affectedaffected areas affected countries affected location

no description

Stringoptional
Current advisoriescurrent advisories

no description

Unknownoptional
Part ofpartof

no description

Unknownoptional
Notesnotes

no description

Unknownoptional

Tracking category

See also