Bản mẫu:Weather box/doc

Example with default global parameters:
Example with auto and pastel:
For questions, see the talk page. For shorter forms of the template, see #Concise forms below.- You can enter data in imperial units or metric units or both (but not both in the same parameter).- You may remove unused fields.- All fields are optional, except for location and source.- Year values will be calculated provided that all month values are provided.- Please use the same precision for all values in a row, e.g. if Jan is 0 and Feb is 0.03, then use 0.00 for Jan. Note: If a value is provided as a "trace" amount, the template supports this as of March 2019. Simply input the value as trace- A source should always be provided—if, however, there is no source, you can add  to the template, which will help sort the article into a sub-category of :Category:Articles with unsourced statements.- If using multiple tables, or there are pictures or infoboxes higher up on the page, please verify that the template does not overlay, or get overlaid by, other objects used in the article. Please test your changes with several different skins, browsers, and browser window sizes. If necessary use clear before the climate section, or width.- Some optional colours are available. For example, for green precipitation and rainfall, enter green for precipitation colour and rain colour. Note the spelling of colour.

**Imperial-only empty syntax**
Will convert and display metric values automatically.

**Metric-only empty syntax**
Will convert and display imperial values automatically.

**Full empty syntax**
When one parameter of one system is filled in, then the corresponding value will be converted and displayed automatically.

**View and edit links**
When this template is used in template space, it may be desirable to provide view and edit links to the template (similar to a navbox).  This can be accomplished by setting the name parameter to be the name of the template.
name = 

**Concise forms**
There are shorter templates that invoke this template with 36 condensed parameters:- Weather box/concise C: for displaying only average high and low temperatures, and precipitation, in Celsius and millimetres.- Weather box/concise F: for displaying only average high and low temperatures, and precipitation, in Fahrenheit and inches.

**Tracking categories**
 Pages using weather box with unknown parameters

**See also**
 Climate chart – Displays climate information in a graphical chart format

**References**
Thể loại:Hộp thời tiết

{
	"params": {
		"width": {
			"label": "width",
			"description": "The width of the template - use \"auto\" for auto width, enter a percentage for custom scaling, remove for default scaling.",
			"example": "auto",
			"type": "string",
			"default": "100%"
		},
		"collapsed": {
			"label": "collapsed",
			"description": "Enter anything to make template initially collapsed",
			"example": "Y",
			"type": "string"
		},
		"open": {
			"label": "open",
			"description": "Enter anything to make template permanently open",
			"example": "Y",
			"type": "string",
			"deprecated": "Weather boxes should be collapsible for ease of use"
		},
		"single line": {
			"label": "single line",
			"description": "Display imperial and metric units in same cell",
			"example": "Y",
			"type": "string",
			"suggested": true
		},
		"location": {
			"label": "location",
			"description": "The location the data was taken from, usually an airport.",
			"example": "the Local Airport (TLAP)",
			"type": "string",
			"required": true
		},
		"source": {
			"label": "Source",
			"description": "The source of the data",
			"example": "Department of Weather and Environment",
			"type": "string",
			"required": true
		},
		"trace": {
			"label": "trace",
			"description": "Entry replaces \"trace\" text.",
			"example": "T",
			"type": "string",
			"deprecated": "\"trace\" is easier to understand than other strings."
		}
	},
	"description": "A table that displays climate trends for a specific location.",
	"format": "block"
}