Template:Infobox weather event/Effects/sandbox
Overall effects | |
---|---|
Casualties | 37 (22 dead, 14 injured, 1 missing) |
Fatalities | 22 |
Injuries | 14 |
Missing | 1 |
Evacuated | 500 |
Damage | $2.42 million |
Economic losses | $2.42 million |
Areas affected | Narnia |
Power outages | 53,200 |
Houses destroyed | 421,112 |
This is the template sandbox page for Template:Infobox weather event/Effects (diff). See also the companion subpage for test cases. |
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}}
}}
|
|
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}}
}}
|
|
TemplateData
A subbox for summarizing the effects of a weather event.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Child display? | child | Whether this is a child box or not. Use `yes`, unless you're using this box standalone.
| Boolean | optional |
Body style | bodystyle | Custom CSS for the box
| String | optional |
Article | article | The article of the weather event, if the infobox is not already on the article. Links the "overall effects" header. | Page name | optional |
Casualties | casualties | Casualties of the event. May be a summary of deaths, injuries, and missing, if the number is low.
| Content | suggested |
Deaths | deaths fatalities | Human deaths from the event. Avoid including unconfirmed deaths. Include a breakdown by country code if possible.
| Number | suggested |
Injuries | injuries | Number of injured people from the event. Include a breakdown by country code if possible. | Number | suggested |
Missing | missing | Number of missing people due to the event. Include a breakdown by country code if possible. | Number | suggested |
Evacuated | evacuated | Number of people evacuated due to the event. Include a breakdown by country code if possible. | Number | suggested |
Economic year | economic-year year | The year to use as a basis for economic calculations. This powers inflation and currency conversion calculations. | Number | suggested |
Currency | currency | ISO 4217 code of the currency to be used for damage and economic losses. May be overriden. | String | suggested |
Damage | damage damages | Total damage incurred by the storm. Currency of this value is controlled by 'currency'/'damage currency'. | Number | suggested |
USD damage | usd-damages usd-damage | Damage in United States dollars. This helps contextualize damage for global readers. | Number | optional |
Currency (damage) | damages-currency damage-currency | ISO 4217 code of the currency to be used for damage. Overrides 'currency'. | Number | optional |
Currency link? (damage) | damage-linked damages-linked | Whether to link the currency symbol in the display for damage. | Boolean | optional |
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. | String | suggested |
Damage prefix | damage-prefix damages-prefix | Prefix for the damage. Use this to add approximation symbols, such as '~', '<', or '>'.
| Content | optional |
Damage suffix | damages-suffix damage-suffix | Suffix for damage. Use this to add references, footnotes, or other content. | Content | optional |
Economic losses | economic-losses losses | Total economic losses caused by the storm. Currency of this value is controlled by 'currency'/'damage currency'. | Number | suggested |
USD economic losses | usd-economic-losses usd-losses | Economic losses in United States dollars. This helps contextualize damage for global readers. | Number | optional |
Currency (economic losses) | economic-losses-currency losses-currency | ISO 4217 code of the currency to be used for economic losses. Overrides 'currency'. | String | optional |
Currency link? (economic losses) | economic-losses-linked losses-linked | Whether to link the currency symbol in the display for damage. | Boolean | optional |
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. | String | suggested |
Economic losses prefix | economic-losses-prefix losses-prefix | Prefix for the maximum sustained winds. Use this to add approximation symbols, such as '~', '<', or '>'.
| Content | optional |
Economic losses suffix | economic-losses-suffix losses-suffix | Suffix for the economic losses. Use this to add references, footnotes, or other content | Content | optional |
Affected areas | areas affected | Areas affected by the storm. Wikilink each area. | Content | suggested |
Power outages | outages | Power outages caused. | Content | optional |
Houses destroyed | houses-destroyed | Number of houses destroyed. | Content | optional |
References | refs 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). | Content | suggested |
IBTrACS ID | IBTrACS | 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. | String | optional |