Template:Infobox weather event/Effects/doc
This is a documentation subpage for Template:Infobox weather event/Effects. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
This subbox provides a tally of weather event effects. This includes direct storm casualties, damages (in USD), affected regions, and infrastructural damages. 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 damages 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 damages. -->
| 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}}
}}
|
|
Damages 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-damages=
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 damages and losses are not multiplied. If the damages are 3 billion United States dollars, write |damages=3000000000
, not |damages=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 damages and losses can be calculated automatically.
When additional context is required, one may use |damages-suffix=
to insert footnotes. |damages-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 damages. -->
| currency = PHP <!-- Will control both damages 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 damages and economic losses. May be overriden. | String | suggested |
Damages | damage damages | Total damages incurred by the storm. Currency of this value is controlled by 'currency'/'damages currency'. | Number | suggested |
USD damages | usd-damages usd-damage | Damages in United States dollars. This helps contextualize damages for global readers. | Number | optional |
Currency (damages) | damages-currency damage-currency | ISO 4217 code of the currency to be used for damages. Overrides 'currency'. | Number | optional |
Currency link? (damages) | damage-linked damages-linked | Whether to link the currency symbol in the display for damages. | Boolean | optional |
Country (damages) | damages-country damage-country | The ISO 3166-1 alpha-3 (three-letter country code) for the country whose currency is used for damages. Allows for automatic conversion to United States Dollars. For future-proof articles, supply 'economic-year' as well. | String | suggested |
Damages prefix | damage-prefix damages-prefix | Prefix for the damages. Use this to add approximation symbols, such as '~', '<', or '>'.
| Content | optional |
Damages suffix | damages-suffix damage-suffix | Suffix for damages. 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'/'damages currency'. | Number | suggested |
USD economic losses | usd-economic-losses usd-losses | Economic losses in United States dollars. This helps contextualize damages 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 damages. | 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 |