Bản mẫu:Tropical cyclone season effects/doc
Đây là một trang con tài liệu sử dụng bản mẫu dành cho Bản mẫu:Tropical cyclone season effects. Nó gồm có các thông tin hướng dẫn sử dụng, thể loại và các nội dung khác không thuộc về phần trang bản mẫu gốc. |
Bản mẫu này sử dụng Lua: |
Cách sử dụng
sửaCreates the tropical cyclone season effects table found in tropical cyclone articles.
If the season spans multiple years, you need to use the start-year
and end-year
parameters to specify the start and end of the season article. You also need to set the force-year
parameter on each {{Tropical cyclone season effects (cyclone)}} to true
(or similarly truthy) in order to show the full year instead of just the months.
The footer values are automatically calculated. The {{{1}}}
of the template must always be a set of {{Tropical cyclone season effects (cyclone)}} templates, as this template contains the tracking metadata required to automatically calculate the season aggregates. You can include other templates, however if this were a row for a storm, its data will not be used in calculations unless the proper metadata tag is added.
Các ví dụ
sửaThe following is a reconstruction of the 2020 Pacific typhoon season effects table. Note that the final calculation for damages are different. This is because the damages listed in the original article is incorrect. You can use any calculator at your disposal to confirm this. Bản mẫu:Tropical cyclone season effects/doc/demo
The header can be hidden with no-header
.
When the table is empty, it becomes unsortable and no values are displayed in the season aggregates.
Tên | Ngày hoạt động | Cường độ cao nhất | Các khu vực bị ảnh hưởng | Thiệt hại (US$) |
Tử vong | |||
---|---|---|---|---|---|---|---|---|
Thể loại | Tốc độ gió | Áp lực | ||||||
Tổng tỷ số mùa bão | ||||||||
Hệ thống 0 | Mùa chưa bắt đầu |
When the season is ongoing and cyclones are currently active, the season's period will show the entire period of the season. If the season is ongoing but no cyclones are active, the active
argument must be set to any truthy value in order to display the period as "Season ongoing".
Tên | Ngày hoạt động | Cường độ cao nhất | Các khu vực bị ảnh hưởng | Thiệt hại (US$) |
Tử vong | |||
---|---|---|---|---|---|---|---|---|
Thể loại | Tốc độ gió | Áp lực | ||||||
Bão A | January 17 – 21 | Bão nhiệt đới | 35 km/h (25 mph) | 1.004 hPa (29,65 inHg) | $10 triệu | Không có | ||
Bão B | October 1 – present | Áp thấp nhiệt đới | 75 km/h (45 mph) | 960 hPa (28,35 inHg) | $50 nghìn | > | 2.322||
Tổng tỷ số mùa bão | ||||||||
Hệ thống 1 | January 17 – 21, 2020 | 35 km/h (25 mph) | 1004 hPa (29,65 inHg) | $10 triệu | 0 |
Tên | Ngày hoạt động | Cường độ cao nhất | Các khu vực bị ảnh hưởng | Thiệt hại (US$) |
Tử vong | |||
---|---|---|---|---|---|---|---|---|
Thể loại | Tốc độ gió | Áp lực | ||||||
Bão B | January 1 – 4 | Áp thấp nhiệt đới | Không định rõ | Chưa rõ | Không có | Không có | ||
Tổng tỷ số mùa bão | ||||||||
Hệ thống 1 | January 1, 2024 – Mùa đang diễn ra | 0 km/h (0 mph) | 0 hPa (0,000 inHg) | 0 | 0 |
Cấu tạo
sửa{{Tropical cyclone season effects (cyclone)}} automatically inserts the following element at the start of the row.
<span style="display:none;" data-tcse-entry="Tên bão|2020-10-01|2020-10-14|50|kph|960|hPa|50000|2322"></span>
This metadata element is not displayed, and should be invisible from the user in all cases. The data-tcse-entry
attribute is the primary search target for the template module. If the given order is incorrect (or if one of the values is blank), it will not be included in the computation. The order of the values of this tag is as follows:
- Storm name
- Date formed
- Date dissipated
- Maximum sustained wind speed
- Wind speed unit
- Lowest barometric pressure
- Pressure unit
- Damages
- Deaths
The default units are the units most used internationally — kilometers per hour (kph), hectopascals (hPa), and US dollars ($). These units may be overriden in the cyclone entry template using the winds-unit
, pressure-unit
, and damages-currency
parameters. These same parameters can be used in the main template in order to override the results of the final computation. The currency link at the header can be modified with the currency-link
parameter.
This template disallows mixed units in each row. If different units are used in one of the rows, the entire table will return an error.
Xem thêm
sửaThis template is composed of two other templates and requires one template for its content.
- Bản mẫu:Tropical cyclone season effects (top)
- Bản mẫu:Tropical cyclone season effects (bottom)
- Bản mẫu:Tropical cyclone season effects (cyclone), which denotes entries in the template
- Bản mẫu:Australian cyclone season effects (top), the basis for the header
Aggregates the overall effects of tropical cyclones in a given year range and basin.
Tham số | Miêu tả | Kiểu | Trạng thái | |
---|---|---|---|---|
Don't show header? | no-header | Whether or not to hide the table header. If true, `basin` and `year` are no longer required. | Luận lý | khuyên dùng |
Basin | basin | The basin of the season article
| Chuỗi dài | khuyên dùng |
Season (start) year | season-start-year year | If this is a single-year article, this is the year of the season. If this is a multi-year article, this is the first year this article handles. | Số | khuyên dùng |
Season end year | season-end-year | If this is a multi-year season article, this is the last year this article handles. | Số | khuyên dùng |
Wind speed target unit | winds-target | The targeted unit for conversion. This is automatically guessed, but can be forced by the user.
| Chuỗi dài | tùy chọn |
Pressure target unit | pressure-target | The targeted unit for conversion. This is automatically guessed, but can be forced by the user.
| Chuỗi dài | tùy chọn |
Currency | currency | The currency symbol for damages. This should be the same as the currency used in the main table content.
| Chuỗi dài | tùy chọn |
References | footer-refs | References placed in the footer (season aggregates). | Nội dung | khuyên dùng |
Active? | active | Forces the footer of the template to show "Season ongoing".
| Luận lý | khuyên dùng |