ข้ามไปเนื้อหา

แม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ/มาตราส่วนสภาพอากาศ/ข้อมูลแม่แบบ

จากวิกิพีเดีย สารานุกรมเสรี
Documentation icon คู่มือการใช้งานแม่แบบ

การใช้งาน

ดูแม่แบบ:กล่องข้อมูล เหตุการณ์สภาพอากาศ/อุตุนิยมวิทยา/ข้อมูลแม่แบบ |categoryonly=เพิ่มพารามิเตอร์สำหรับแม่แบบทั้งหมดที่ใช้แม่แบบนี้แล้ว|agency=นอกจากนี้ ยังเพิ่มพารามิเตอร์เพื่อระบุหน่วยงานผู้ออกในคำอธิบายด้วย

{
	"params": {
		"child": {
			"label": "Child display?",
			"description": "ไม่ว่านี่จะเป็นกล่องลูกหรือไม่ก็ตาม ให้ใช้ \"ใช่\" เว้นแต่คุณจะใช้กล่องนี้แบบเดี่ยว",
			"example": "yes",
			"type": "boolean",
			"default": "yes"
		},
		"bodystyle": {
			"label": "Body style",
			"description": "CSS ที่กำหนดเองสำหรับกล่อง",
			"type": "string",
			"default": "border-collapse: collapse"
		},
		
		
		
		
		
		
		"winds": {
			"label": "Maximum sustained winds",
			"description": "ลมกระโชกแรงสูงสุดที่ต่อเนื่องกันของพายุหนึ่ง ๆ อย่าสับสนกับลมกระโชกแรงสูงสุด (โดยให้ \"ลมกระโชก\") มูลค่าของลมเป็นนอต",
			"example": "124",
			"type": "number",
			"suggested": true
		},
		"winds-prefix": {
			"label": "Maximum winds prefix",
			"description": "คำนำหน้าสำหรับลมแรงต่อเนื่องสูงสุด ใช้เพื่อเพิ่มสัญลักษณ์โดยประมาณ เช่น '~', '<' หรือ '>'",
			"example": "~",
			"type": "string"
		},
		"winds-suffix": {
			"label": "Maximum winds suffix",
			"description": "คำต่อท้ายสำหรับลมที่พัดต่อเนื่องสูงสุด ใช้เพื่อเพิ่มการอ้างอิง เชิงอรรถ หรือเนื้อหาอื่น ๆ",
			"type": "content"
		},
		"gusts": {
			"label": "Maximum wind gust",
			"description": "ลมกระโชกแรงสูงสุดของพายุหนึ่ง ๆ อย่าสับสนกับลมกระโชกแรงต่อเนื่องสูงสุด (โดยให้ \"ลม\") มูลค่าอุปทานเป็นนอต",
			"example": "164",
			"type": "number",
			"suggested": true
		},
		"gusts-prefix": {
			"label": "Maximum gusts prefix",
			"description": "คำนำหน้าสำหรับความเร็วลมสูงสุด ใช้เพื่อเพิ่มสัญลักษณ์โดยประมาณ เช่น '~', '<' หรือ '>'",
			"example": "~",
			"type": "string"
		},
		"gusts-suffix": {
			"label": "Maximum gusts suffix",
			"description": "คำต่อท้ายสำหรับลมกระโชกแรงสูงสุด ใช้เพื่อเพิ่มการอ้างอิง เชิงอรรถ หรือเนื้อหาอื่น ๆ",
			"type": "content"
		},
		"beaufort-scale": {
			"aliases": [
				"beaufort scale"
			],
			"label": "Beaufort scale",
			"description": "ลมแรงต่อเนื่องสูงสุดตามมาตราโบฟอร์ต ไม่ค่อยได้ใช้ ยกเว้นพายุในอดีต ควรใช้คำว่า \"ลม\" แทน",
			"type": "number"
		},
		"pressure": {
			"label": "Lowest pressure",
			"description": "ความกดอากาศต่ำที่สุด มักวัดใกล้ศูนย์กลางพายุ ค่าความกดอากาศเป็นเฮกโตปาสกาล/มิลลิบาร์ (hPa/mbar)",
			"example": "975",
			"type": "number",
			"suggested": true
		},
		"pressure-prefix": {
			"label": "Lowest pressure prefix",
			"description": "คำนำหน้าสำหรับแรงกดดัน ใช้เพื่อเพิ่มสัญลักษณ์ประมาณ เช่น '~', '<' หรือ '>'",
			"example": "~",
			"type": "string"
		},
		"pressure-suffix": {
			"label": "Lowest pressure suffix",
			"description": "คำต่อท้ายสำหรับแรงกดต่ำสุด ใช้เพื่อเพิ่มการอ้างอิง เชิงอรรถ หรือเนื้อหาอื่น ๆ",
			"type": "content"
		}
		,
		"categoryonly": {
			"label": "Category only?",
			"description": "Only return the category of this storm as a string. Useful if you only want the category of a storm based on meteorological data, but not the actual box itself.",
			"type": "boolean",
			"default": "no"
		}
	},
	"description": "A subbox for displaying meteorological information for a storm according to data from a given agency. Should be used adjacent to an 'Infobox weather event' template, and before an 'Infobox weather event/Footer' template.",
	"format": "block"
}