แม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ
มีการใช้แม่แบบนี้ในหลายพันหน้าและการแก้ไขอาจทำให้เกิดผลกระทบหรือสังเกตเห็นได้ ควรทดสอบการเปลี่ยนแปลงในกระบะทราย หรือหน้าทดสอบ หรือในหน้าย่อยผู้ใช้ของคุณเอง อนึ่ง อภิปรายเกี่ยวกับการแก้ไขแม่แบบได้ที่หน้าอภิปรายก่อนที่จะนำไปใช้ |
This template uses TemplateStyles: |
แม่แบบนี้ใช้ลูอา |
22.2% การนำกล่องข้อมูลเหตุการณ์สภาพอากาศ (14 / 63) as of 00:45, 24 กรกฎาคม พ.ศ. 2567 (UTC)
แม่แบบนี้จะสร้างกล่องข้อมูลสภาพอากาศแบบแยกส่วนอย่างสมบูรณ์ ซึ่งมุ่งหวังที่จะรองรับเหตุการณ์สภาพอากาศเลวร้ายเกือบทั้งหมด และอนุญาตให้มีการแยกส่วนได้ กล่องย่อยแต่ละกล่องได้รับการพัฒนาโดยคำนึงถึงการแยกส่วน ข้อมูลแม่แบบจะพร้อมใช้งานสำหรับกล่องเหล่านี้เร็ว ๆ นี้ เพื่อให้ง่ายต่อการเพิ่มกล่องข้อมูลลงในบทความที่มีอยู่
กล่องข้อมูลหลัก (กล่องข้อมูลนี้) จะแสดงภาพ ชื่อ และประวัติทางอุตุนิยมวิทยา ข้อมูลอุตุนิยมวิทยา เช่น ประเภท ความรุนแรงของพายุ หรือข้อมูลอื่น ๆ เช่น ความเสียหายและการเสียชีวิต จะแสดงไว้ผ่านกล่องข้อมูลย่อยการใช้งานทั้งหมดต้องปฏิบัติตามแม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ/ส่วนท้ายเพื่อปิดกล่องข้อมูล (มีข้อยกเว้น โปรดดูด้านล่าง) โปรดคำนึงถึงสิ่งนี้เมื่อแทนที่เทมเพลต เช่น {{กล่องข้อมูล พายุ}} ซึ่งไม่จำเป็นต้องมีส่วนท้าย |
กล่องข้อมูลนี้มีวัตถุประสงค์เพื่อแทนที่กล่องข้อมูลที่เกี่ยวข้องกับสภาพอากาศในปัจจุบัน เช่น {{กล่องข้อมูล พายุหมุนเขตร้อน}}, {{กล่องข้อมูล พายุ}} และ {{กล่องข้อมูล พายุหมุนเขตร้อนในปัจจุบัน}} ดูแม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ/ความเท่าเทียมของคุณลักษณะสำหรับการเปรียบเทียบพารามิเตอร์ในกล่องข้อมูลอื่นที่มีกล่องข้อมูลนี้ โปรดอย่าใช้กล่องข้อมูลนี้กับบทความเกี่ยวกับน้ำท่วม เนื่องจากการใช้งานนั้นมีข้อโต้แย้ง โปรดใช้{{กล่องข้อมูล น้ำท่วม}}แทน
การใช้งาน
[แก้]หน่วยลมกับลมกระโชกจะอยู่ในหน่วยนอตเสมอ ความกดอากาศจะอยู่ในหน่วยมิลลิบาร์ หรือเฮกโตปาสกาลเสมอ ค่าเหล่านี้ไม่สามารถกำหนดค่าได้เพื่อให้เป็นมาตรฐาน และรักษาความสม่ำเสมอระหว่างกล่องทั้งหมด ค่าเสียหายจะอยู่ในหน่วยดอลลาร์สหรัฐเสมอ เว้นแต่จะกำหนดไว้อย่างชัดเจน |currency=
ด้วย
ขั้นพื้นฐาน
[แก้]คุณสามารถสร้างกล่องขนาดเล็กมากได้โดยใช้ข้อความวิกิ ต่อไปนี้
หัวข้อ
[แก้]กล่องสามารถแสดงภาพได้สูงสุด 2 ภาพในเวลาเดียวกัน ภาพที่แสดงอาจเป็นภาพดาวเทียมของพายุ (โดยใช้|image=
) แผนที่เส้นทางพายุ (โดยใช้|track=
) แผนที่พยากรณ์พายุ (โดยใช้|forecast=
) หรือทั้งสองอย่างรวมกัน แผนที่เส้นทางพายุกับแผนที่พยากรณ์อาจไม่แสดงพร้อมกัน สามารถตั้งค่าคำบรรยาย ข้อความทางเลือก และขนาดสัมพันธ์กับภาพแต่ละภาพด้านบนได้
พารามิเตอร์หลัก | คำบรรยาย | ข้อความอื่น | ตั้งตรง (การปรับขนาด) | ความกว้าง |
---|---|---|---|---|
|image= |
|caption= |
|alt= |
|image-upright= |
|image-width=
|
|track= |
|track-caption= |
|track-alt= |
|track-upright= |
|track-width=
|
|forecast= |
|forecast-caption= |
|forecast-alt= |
|forecast-upright= |
|forecast-width=
|
พารามิเตอร์ทั้งหมดของ {{กล่องข้อมูล เหตุการณ์สภาพอากาศ/ประวัติ}} สามารถใช้งานได้ในกล่องส่วนหัว คุณสามารถเพิ่มส่วนประวัติอุตุนิยมวิทยาสำหรับพายุที่กินเวลานานซึ่งผ่านระยะต่าง ๆ กันได้
หากเหตุการณ์เป็นเหตุการณ์เดี่ยวและไม่ต้องการข้อมูลอุตุนิยมวิทยา ผลกระทบ หรือส่วนท้าย|footer=yes
ก็ตั้งค่าให้ปิดแม่แบบทันทีได้โดยไม่ต้องมีส่วนท้าย
กล่องย่อยประวัติอุตุนิยมวิทยาช่วยให้กล่องข้อมูลสามารถบรรจุกล่องประวัติอุตุนิยมวิทยาได้หลายกล่อง (นอกเหนือจากกล่องที่แสดงอยู่แล้วในแม่แบบหลัก).
ข้อความวิกิ | ผลลัพธ์ | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{กล่องข้อมูล เหตุการณ์สภาพอากาศ
| name = พายุโซนร้อนกำลังแรงขนุน
| image = Severe Tropical Storm Khanun 2012-07-17 1800Z.png
| caption = พายุโซนร้อนกำลังแรงขนุนขณะมีกำลังแรงสูงสุดเมื่อวันที่ 18 กรกฎาคม พ.ศ. 2555
| as = ส่วนของพายุโซนร้อนกำลังแรงขนุน
| formed = 14 กรกฎาคม พ.ศ. 2555
}}{{กล่องข้อมูล เหตุการณ์สภาพอากาศ/ประวัติ
| as = พายุโซนร้อนกำลังแรงขนุน
| formed = 14 กรกฎาคม พ.ศ. 2555
| extratropical = 19 กรกฎาคม พ.ศ. 2555
| dissipated = 20 กรกฎาคม พ.ศ. 2555
}}{{กล่องข้อมูล เหตุการณ์สภาพอากาศ/ส่วนท้าย}}
|
|
ดูข้อมูลแม่แบบสำหรับพารามิเตอร์ที่มีทั้งหมด
พายุหมุนเขตร้อน
[แก้]มาตราส่วน
[แก้]สำนักงานอุตุนิยมวิทยาแต่ละแห่งจะมีกล่องย่อยของตัวเอง ซึ่งเชื่อมโยงกับมาตราส่วนที่ถูกต้อง และคำนวณประเภทของพายุโดยอัตโนมัติ
แม่แบบ:Infobox weather event/NWS/doc
กล่องย่อยนี้ให้ข้อมูลอุตุนิยมวิทยาตามมาตราส่วนของสำนักงานอุตุนิยมวิทยาญี่ปุ่นกล่องย่อยนี้ใช้เมตาแม่แบบแม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ/มาตราส่วนสภาพอากาศ
{{กล่องข้อมูล เหตุการณ์สภาพอากาศ/JMA
| winds = 140
| gusts = 175
| pressure = 870
}}
|
|
{{กล่องข้อมูล เหตุการณ์สภาพอากาศ/JMA
| winds = 55
| gusts = 67
| pressure = 990
}}
|
|
พายุดีเปรสชันเขตร้อน | พายุโซนร้อน | พายุโซนร้อนกำลังแรง | พายุไต้ฝุ่นกำลังแรง | พายุไต้ฝุ่นกำลังแรงอย่างมาก | พายุไต้ฝุ่นรุนแรง |
<33 นอต, <61 กม./ชม., <37 ไมล์/ชม. | 34–47 นอต, 62–87 กม./ชม., 39–54 ไมล์/ชม. | 48–63 นอต, 88–116 กม./ชม., 55–72 ไมล์/ชม. | 64–84 นอต, 118–155 กม./ชม., 73–96 ไมล์/ชม. | 85–104 นอต, 157–192 กม./ชม., 97–119 ไมล์/ชม. | >105 นอต, >194 กม./ชม., >120 ไมล์/ชม. |
แม่แบบ:Infobox weather event/MF/doc
แม่แบบ:Infobox weather event/IMD/doc
The Australian scale is used by multiple agencies. Multiple infoboxes are provided, each changing the issuing agency but providing the same scale.
The following templates can be used to show this scale:
- Template:Infobox weather event/BOM – Bureau of Meteorology
- Template:Infobox weather event/BMKG – Meteorology, Climatology, and Geophysical Agency (TCWC Jakarta)
- Template:Infobox weather event/PNGNWS – Papua New Guinea National Weather Service
- Template:Infobox weather event/FMS – Fiji Meteorological Service
- Template:Infobox weather event/MetService – Meteorological Service of New Zealand
ข้อผิดพลาด Lua: expandTemplate: template "กล่องข้อมูล เหตุการณ์สภาพอากาศ/Aus" does not exist
Non-RSMC scales
[แก้]Scale subboxes also exist for agencies which are not the Regional Specialized Meteorological Center. While the use of the JTWC subbox is generally allowed on all basins besides those which use the Saffir–Simpson scale (North Atlantic/Eastern Pacific/Central Pacific), other agency subboxes, such as those for the PAGASA (Philippines), CWB (Taiwan; subbox does not exist as of now), and PMD (Pakistan; subbox does not exist as of now) should generally be used only when the storm is not recognized by the basin's RSMC.
This subbox provides a meteorological data subbox based on the Joint Typhoon Warning Center scale, which is based on the Saffir–Simpson scale (except all tropical cyclone categories are merged into one "Typhoon" category). The |basin=
parameter controls which type of cyclone is shown.
This subbox relies on the meta-template แม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ/SSHWS, which in turn relies on the meta-template แม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ/มาตราส่วนสภาพอากาศ.
{{กล่องข้อมูล เหตุการณ์สภาพอากาศ/JTWC
| winds = 150
| gusts = 175
| pressure = 902
}}
|
|
{{กล่องข้อมูล เหตุการณ์สภาพอากาศ/JTWC
| winds = 150
| gusts = 175
| pressure = 902
| basin = WPac
}}
|
|
พายุดีเปรสชันเขตร้อน | พายุโซนร้อน | Category 1-equivalent tropical cyclone | Category 2-equivalent tropical cyclone | Category 3-equivalent tropical cyclone | Category 4-equivalent tropical cyclone | Category 5-equivalent tropical cyclone |
<31 นอต, <57 กม./ชม., <35 ไมล์/ชม. | 32–63 นอต, 59–116 กม./ชม., 36–72 ไมล์/ชม. | 64–82 นอต, 118–151 กม./ชม., 73–94 ไมล์/ชม. | 83–95 นอต, 153–175 กม./ชม., 95–109 ไมล์/ชม. | 96–112 นอต, 177–207 กม./ชม., 110–128 ไมล์/ชม. | 113–136 นอต, 209–251 กม./ชม., 130–156 ไมล์/ชม. | >137 นอต, >253 กม./ชม., >157 ไมล์/ชม. |
The scale is different on the Western Pacific basin to accommodate the "แม่แบบ:Storm name" category.
พายุดีเปรสชันเขตร้อน | พายุโซนร้อน | Category 1-equivalent typhoon | Category 2-equivalent typhoon | Category 3-equivalent typhoon | Category 4-equivalent typhoon | Category 5-equivalent super typhoon |
<31 นอต, <57 กม./ชม., <35 ไมล์/ชม. | 32–63 นอต, 59–116 กม./ชม., 36–72 ไมล์/ชม. | 64–82 นอต, 118–151 กม./ชม., 73–94 ไมล์/ชม. | 83–95 นอต, 153–175 กม./ชม., 95–109 ไมล์/ชม. | 96–112 นอต, 177–207 กม./ชม., 110–128 ไมล์/ชม. | 113–136 นอต, 209–251 กม./ชม., 130–156 ไมล์/ชม. | >137 นอต, >253 กม./ชม., >157 ไมล์/ชม. |
แม่แบบ:Infobox weather event/PAGASA/doc
แม่แบบ:Infobox weather event/HKO/doc
แม่แบบ:Infobox weather event/CMA/doc
Historical scales
[แก้]These are scales that were used at some point in the past but are no longer in use.
แม่แบบ:Infobox weather event/NPMOC/doc
No scale
[แก้]To display meteorological information in cases where an agency or scale is unavailable (such as in the case of historical storms, e.g. the 1881 Haiphong typhoon), you can directly use the /meteorology sub-box. This will remove agency and measurement interval from the box header.
By default, the category "แม่แบบ:Storm name" will appear as the category. This can be overridden by setting |category=
to any available storm category ID.
{{Infobox weather event/meteorology
| category = TY
| pressure = 902
}}
|
แม่แบบ:Infobox weather eventแม่แบบ:Infobox weather event/meteorologyแม่แบบ:Infobox weather event/Footer |
แม่แบบ:Infobox weather event/Winter storm/doc
แม่แบบ:Infobox weather event/Tornado outbreak/doc
แม่แบบ:Infobox weather event/Tornado family/doc
แม่แบบ:Infobox weather event/Tornado/doc
แม่แบบ:Infobox weather event/Storm/doc
แม่แบบ:Infobox weather event/Effects/doc
แม่แบบ:Infobox weather event/Footer/doc
Example
[แก้]Article page storm
[แก้]{{Infobox weather event
| name = Cyclone Matmo–Bulbul
| image = Bulbul 2019-11-09 0742Z.jpg
| caption = Cyclone Bulbul near peak intensity, just before landfall in [[West Bengal]] on November 9
| as = Severe Tropical Storm Matmo
| formed = October 28, 2019
| dissipated = October 31, 2019
}}{{Infobox weather event/JMA
| winds = 50
| pressure = 992
}}{{Infobox weather event/History
| as = Very Severe Cyclonic Storm Bulbul
| formed = November 5, 2019
| dissipated = November 11, 2019
}}{{Infobox weather event/IMD
| winds = 75
| pressure = 976
}}{{Infobox weather event/JTWC
| winds = 105
| pressure = 955
| pressure-prefix = ~
}}{{Infobox weather event/Effects
| year = 2019
| deaths = 43 total
| damages = 3537000000
| affected = [[Vietnam]], [[Laos]], [[Cambodia]], [[Thailand]], [[Myanmar]], [[Andaman and Nicobar Islands]], [[Eastern India]], [[Bangladesh]]
}}{{Infobox weather event/Footer
| season = [[2019 Pacific typhoon season|2019 Pacific typhoon]]<br>and [[2019 North Indian Ocean cyclone season|North Indian Ocean cyclone seasons]]
}}
|
แม่แบบ:Infobox weather eventแม่แบบ:Infobox weather event/JMAแม่แบบ:Infobox weather event/Historyแม่แบบ:Infobox weather event/IMDแม่แบบ:Infobox weather event/JTWCแม่แบบ:Infobox weather event/Effectsแม่แบบ:Infobox weather event/Footer |
Subpages
[แก้]Sub-templates which start with a lowercase character are meta-templates, whereas templates which start with capital characters are expected to be used directly. Note that this list also includes miscellaneous template files (such as styles.css).
Tracking categories
[แก้]TemplateData
[แก้]Header for the infobox for weather events, storms, tropical cyclones, nor'easters, tornadoes, tornado outbreaks, winter storms, and any other meteorological event.
พารามิเตอร์ | คำอธิบาย | ชนิด | สถานะ | |
---|---|---|---|---|
Name | name | Name of the event. The article title is used by default. | สตริง | เลือกได้ |
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 | สตริง | เลือกได้ |
Image | image | Image of the event. If this is a tropical cyclone, consult the WikiProject Tropical cyclones style guide for proper image selection. | ไฟล์ | แนะนำ |
Image width | width image-width image-size | Width of the image. When possible, use 'image-upright' instead for accessibility support. | สตริง | เลือกได้ |
Image scale/upright | image-upright | The sizing scale of the image. '1.0' is the user's selected default image size. '2.0' is twice the user's selected default image size. | จำนวน | เลือกได้ |
Alternate text | alt | Alternate text for the image. | สตริง | แนะนำ |
Caption | caption | Caption for the image. | เนื้อหา | แนะนำ |
Track map | track | Track map of the event. This will be overridden by the forecast map, if one was provided. | ไฟล์ | แนะนำ |
Track map size | track-width track-size | Width of the track map. When possible, use 'track-upright' instead for accessibility support. | สตริง | เลือกได้ |
Track map scale/upright | track-upright | The sizing scale of the track map. '1.0' is the user's selected default image size. '2.0' is twice the user's selected default image size. | จำนวน | เลือกได้ |
Track map alternate text | track-alt | Alternate text for the track map. | สตริง | เลือกได้ |
Track map caption | track-caption | Caption for the track map. | เนื้อหา | เลือกได้ |
Forecast map | forecast | Forecast map of the event. This will override the track map, if one was provided. | ไฟล์ | แนะนำ |
Forecast map size | forecast-width forecast-size | Width of the forecast map. When possible, use 'forecast-upright' instead for accessibility support. | สตริง | เลือกได้ |
Forecast map scale/upright | forecast-upright | The sizing scale of the forecast map. '1.0' is the user's selected default image size. '2.0' is twice the user's selected default image size. | จำนวน | เลือกได้ |
Forecast map alternate text | forecast-alt | Alternate text for the forecast map. | สตริง | เลือกได้ |
Forecast map caption | forecast-caption | Caption for the forecast map. | เนื้อหา | เลือกได้ |
Location | location place | Location where the event occurred. Wikilink, if applicable. | เนื้อหา | เลือกได้ |
Coordinates | coordinates | Coordinates of the event. Use 'lat' and 'lon' instead, when applicable. Do not confuse with current coordinates; those must be in a /Current subbox. Supply this value using {{coord}}. | เนื้อหา | เลือกได้ |
Cause | cause | Cause of the event. | เนื้อหา | เลือกได้ |
No history? | no-history | Disables the meteorological history for this infobox. | ตรรกะ | เลือกได้ |
Name | as | Name of the event during the first stage of its existence. | เนื้อหา | แนะนำ |
Name italics? | name-italics | Set to "off" to disable name italics.
| สตริง | เลือกได้ |
Duration | duration | The event's duration of existence. | เนื้อหา | เลือกได้ |
Date | date | The day that the event occurred. Used for single-day events, such as floods and single tornadoes. When possible, use {{start date}}. | เนื้อหา | แนะนำ |
Formed | formed | The day that the storm formed. When possible, use {{start date}}. | เนื้อหา | แนะนำ |
Renamed | renamed | The day that the storm was renamed. Use this for storms where the responsible agency is the same (Atlantic–Pacific crossover hurricanes). When possible, use {{start date}}. | เนื้อหา | แนะนำ |
Crossed over | crossed-over crossed | The day that the storm crossed over to another basin (and thus, received a new name). For storms where the responsible agency is the same (Atlantic–Pacific crossover hurricanes), use "Renamed" instead. When possible, use {{start date}}. | เนื้อหา | แนะนำ |
Exited land | exited exited-land | The day that the storm exited land. | เนื้อหา | เลือกได้ |
Subtropical | subtropical | The day that the tropical cyclone became subtropical. For the transition of extratropical cyclones to tropical cyclones, see "formed". | วันที่ | แนะนำ |
Remnant low | remnant low remnant low remnant-low | The day on which the storm transitioned into a remnant low. | เนื้อหา | เลือกได้ |
Post-tropical | post-tropical | The day that the tropical cyclone became post-tropical. | เนื้อหา | เลือกได้ |
Extratropical | extratropical | The day that the tropical cyclone became extratropical. | เนื้อหา | เลือกได้ |
Extratropical label | extratropical-label | The label for the 'extratropical' parameter, if one should be used. | เนื้อหา | เลือกได้ |
Dissipated | dissipated | The day that the storm dissipated. When possible, use {{end date}}. | เนื้อหา | แนะนำ |
Content | 1 | Content of the box. May be child boxes. This will enable the footer, so more subboxes cannot be added afterwards. | เนื้อหา | เลือกได้ |
Footer? | footer | Set to 'true' to include a footer. This will prevent further subboxes from being added. | ตรรกะ | เลือกได้ |
คู่มือการใช้งานที่ปรากฏด้านบนนี้ดึงมาจาก แม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ/doc (แก้ | ประวัติ) ผู้เขียนสามารถทำการทดลองได้ที่กระบะทราย (สร้าง | คัดลอก) และชุดทดสอบ (สร้าง) ของแม่แบบนี้ โปรดเพิ่มหมวดหมู่ไปที่หน้าย่อย /doc หน้าย่อยของแม่แบบนี้ |