模板:Infobox weather event/Effects/doc
茲萆文件是模板:Infobox weather event/Effects其文件子頁面 (見頁面自家)。 茲萆頁面有用法信息、分類共其它伓是原底頁面其內容。 |
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.
參數 | 描述 | 類型 | 狀態 | |
---|---|---|---|---|
Child display? | child | Whether this is a child box or not. Use `yes`, unless you're using this box standalone.
| 布林值 | 非必填 |
Body style | bodystyle | Custom CSS for the box
| 字串 | 非必填 |
Article | article | The article of the weather event, if the infobox is not already on the article. Links the "overall effects" header. | 頁面名稱 | 非必填 |
Casualties | casualties | Casualties of the event. May be a summary of deaths, injuries, and missing, if the number is low.
| 內容 | 建議 |
Deaths | deaths fatalities | Human deaths from the event. Avoid including unconfirmed deaths. Include a breakdown by country code if possible.
| 數值 | 建議 |
Injuries | injuries | Number of injured people from the event. Include a breakdown by country code if possible. | 數值 | 建議 |
Missing | missing | Number of missing people due to the event. Include a breakdown by country code if possible. | 數值 | 建議 |
Evacuated | evacuated | Number of people evacuated due to the event. Include a breakdown by country code if possible. | 數值 | 建議 |
Economic year | economic-year year | The year to use as a basis for economic calculations. This powers inflation and currency conversion calculations. | 數值 | 建議 |
Currency | currency | ISO 4217 code of the currency to be used for damages and economic losses. May be overriden. | 字串 | 建議 |
Damages | damage damages | Total damages incurred by the storm. Currency of this value is controlled by 'currency'/'damages currency'. | 數值 | 建議 |
USD damages | usd-damages usd-damage | Damages in United States dollars. This helps contextualize damages for global readers. | 數值 | 非必填 |
Currency (damages) | damages-currency damage-currency | ISO 4217 code of the currency to be used for damages. Overrides 'currency'. | 數值 | 非必填 |
Currency link? (damages) | damage-linked damages-linked | Whether to link the currency symbol in the display for damages. | 布林值 | 非必填 |
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. | 字串 | 建議 |
Damages prefix | damage-prefix damages-prefix | Prefix for the damages. Use this to add approximation symbols, such as '~', '<', or '>'.
| 內容 | 非必填 |
Damages suffix | damages-suffix damage-suffix | Suffix for damages. Use this to add references, footnotes, or other content. | 內容 | 非必填 |
Economic losses | economic-losses losses | Total economic losses caused by the storm. Currency of this value is controlled by 'currency'/'damages currency'. | 數值 | 建議 |
USD economic losses | usd-economic-losses usd-losses | Economic losses in United States dollars. This helps contextualize damages for global readers. | 數值 | 非必填 |
Currency (economic losses) | economic-losses-currency losses-currency | ISO 4217 code of the currency to be used for economic losses. Overrides 'currency'. | 字串 | 非必填 |
Currency link? (economic losses) | economic-losses-linked losses-linked | Whether to link the currency symbol in the display for damages. | 布林值 | 非必填 |
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. | 字串 | 建議 |
Economic losses prefix | economic-losses-prefix losses-prefix | Prefix for the maximum sustained winds. Use this to add approximation symbols, such as '~', '<', or '>'.
| 內容 | 非必填 |
Economic losses suffix | economic-losses-suffix losses-suffix | Suffix for the economic losses. Use this to add references, footnotes, or other content | 內容 | 非必填 |
Affected areas | areas affected | Areas affected by the storm. Wikilink each area. | 內容 | 建議 |
Power outages | outages | Power outages caused. | 內容 | 非必填 |
Houses destroyed | houses-destroyed | Number of houses destroyed. | 內容 | 非必填 |
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). | 內容 | 建議 |
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. | 字串 | 非必填 |