Jump to content

Template:Infobox weather event/Effects/doc

From Wikipedia, the free encyclopedia

Usage

This subbox provides a tally of weather event effects. This includes direct storm casualties, damage (in USD), affected regions, and infrastructure damage. The |casualties= parameter can be used to combine the |fatalities=, |injuries=, and |missing= parameters, should there be minimal or no casualties.

This box will show damage and losses in United States dollars by default. Adding a |year= parameter will also indicate the year when displaying monetary values for contextualizing cost at a specific point in time.

References may be added with |refs= or |references=. However, as much as possible, avoid placing references directly into the box and instead use article content to place references. You may also use |IBTrACS= to link to the storm's International Best Track Archive for Climate Stewardship (IBTrACS) entry. Using both will make both appear at the bottom row; using only references will make the row height shrink to cut down on unnecessary whitespace.

Wikitext Output
{{Infobox weather event/Effects
| year = 2021 <!-- Used for damage. -->
| casualties = 37 (22 dead, 14 injured, 1 missing)
| fatalities = 22
| injuries = 14
| missing = 1
| evacuated = 500
| damage = 2400000
| losses = 31000000
| areas = [[United States]], [[Canada]], [[Mexico]], [[Cuba]]
| outages = 163,000
| houses-destroyed = 2,124,000
| ibtracs = XXXXX
| refs = {{fake ref}}{{fake ref|2}}
}}
Overall effects
Casualties37 (22 dead, 14 injured, 1 missing)
Fatalities22
Injuries14
Missing1
Evacuated500
Damage$2.4 million (2021 USD)
Economic losses$31 million (2021 USD)
Areas affectedUnited States, Canada, Mexico, Cuba
Power outages163,000
Houses destroyed2,124,000
IBTrACS / [1][2]

Damage and economic losses can be set to a different currency using |currency= (or |damage-currency= and |losses-currency=), and a United States dollar-equivalent conversion can be provided. This can help contextualize weather events which impact a specific area. To set the USD conversion by hand, you can use |usd-damage= and |usd-losses= respectively. You can also opt to do these conversions automatically, as long as you provide a year and an ISO country code using |country=. Note that damage and losses are not multiplied. If the damage is 3 billion United States dollars, write |damage=3000000000, not |damage=3000.

The |year= parameter need not be the year that the event made impact, but rather a year relatively close to the year that it made impact, such that damage and losses can be calculated automatically.

When additional context is required, one may use |damage-suffix= to insert footnotes. |damage-prefix= can be used to insert symbols prior to the figure. losses also has suffix and prefix parameters, |losses-suffix= and |losses-prefix=, respectively.

Wikitext Output
{{Infobox weather event/Effects
| year = 2021 <!-- Used for damage. -->
| currency = PHP <!-- Will control both damage and economic losses -->
| country = PHL <!-- Controls currency conversions -->
| damage = 2400000
| damage-country = PHL
| losses = 31000000 <!-- Will fall back to currency in `|damage=currency=` by default -->
| refs = {{fake ref}}{{fake ref|2}}
}}
Overall effects
Damage2.4 million (US$49,000 in 2021)
Economic losses31 million (US$630,000 in 2021)
[1][2]

TemplateData

A subbox for summarizing the effects of a weather event.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Child display?child

Whether this is a child box or not. Use `yes`, unless you're using this box standalone.

Default
yes
Example
yes
Booleanoptional
Body stylebodystyle

Custom CSS for the box

Default
border-collapse: collapse
Stringoptional
Articlearticle

The article of the weather event, if the infobox is not already on the article. Links the "overall effects" header.

Page nameoptional
Casualtiescasualties

Casualties of the event. May be a summary of deaths, injuries, and missing, if the number is low.

Example
4 missing, 2 dead
Contentsuggested
Deathsdeaths fatalities

Human deaths from the event. Avoid including unconfirmed deaths. Include a breakdown by country code if possible.

Example
14
Numbersuggested
Injuriesinjuries

Number of injured people from the event. Include a breakdown by country code if possible.

Numbersuggested
Missingmissing

Number of missing people due to the event. Include a breakdown by country code if possible.

Numbersuggested
Evacuatedevacuated

Number of people evacuated due to the event. Include a breakdown by country code if possible.

Numbersuggested
Economic yeareconomic-year year

The year to use as a basis for economic calculations. This powers inflation and currency conversion calculations.

Numbersuggested
Currencycurrency

ISO 4217 code of the currency to be used for damage and economic losses. May be overriden.

Stringsuggested
Damagedamage damages

Total damage incurred by the storm. Currency of this value is controlled by 'currency'/'damage currency'.

Numbersuggested
USD damageusd-damages usd-damage

Damage in United States dollars. This helps contextualize damage for global readers.

Numberoptional
Currency (damage)damages-currency damage-currency

ISO 4217 code of the currency to be used for damage. Overrides 'currency'.

Numberoptional
Currency link? (damage)damage-linked damages-linked

Whether to link the currency symbol in the display for damage.

Booleanoptional
Country (damage)damages-country damage-country

The ISO 3166-1 alpha-3 (three-letter country code) for the country whose currency is used for damage. Allows for automatic conversion to United States Dollars. For future-proof articles, supply 'economic-year' as well.

Stringsuggested
Damage prefixdamage-prefix damages-prefix

Prefix for the damage. Use this to add approximation symbols, such as '~', '<', or '>'.

Example
~
Contentoptional
Damage suffixdamages-suffix damage-suffix

Suffix for damage. Use this to add references, footnotes, or other content.

Contentoptional
Economic losseseconomic-losses losses

Total economic losses caused by the storm. Currency of this value is controlled by 'currency'/'damage currency'.

Numbersuggested
USD economic lossesusd-economic-losses usd-losses

Economic losses in United States dollars. This helps contextualize damage for global readers.

Numberoptional
Currency (economic losses)economic-losses-currency losses-currency

ISO 4217 code of the currency to be used for economic losses. Overrides 'currency'.

Stringoptional
Currency link? (economic losses)economic-losses-linked losses-linked

Whether to link the currency symbol in the display for damage.

Booleanoptional
Country (economic losses)economic-losses-country losses-country

The ISO 3166-1 alpha-3 (three-letter country code) for the country whose currency is used for economic losses. Allows for automatic conversion to United States Dollars. For future-proof articles, supply 'economic-year' as well.

Stringsuggested
Economic losses prefixeconomic-losses-prefix losses-prefix

Prefix for the maximum sustained winds. Use this to add approximation symbols, such as '~', '<', or '>'.

Example
~
Contentoptional
Economic losses suffixeconomic-losses-suffix losses-suffix

Suffix for the economic losses. Use this to add references, footnotes, or other content

Contentoptional
Affected areasareas affected

Areas affected by the storm. Wikilink each area.

Contentsuggested
Power outagesoutages

Power outages caused.

Contentoptional
Houses destroyedhouses-destroyed

Number of houses destroyed.

Contentoptional
Referencesrefs references

References for the entire effects box. This is commonly used when all data for effects can be found on a single source. This appears at the bottom of the box on its own (or with the storm's IBTrACS link, if an ID was provided).

Contentsuggested
IBTrACS IDIBTrACS

The IBTrACS ID of the storm. This is the part that comes after "v04r00-" on the URL for the storm's IBTrACS page. By default, the ID from Wikidata is used (P4540). Leaving this blank will suppress display; remove it entirely to use Wikidata data.

Stringoptional