بۆ ناوەڕۆک بازبدە

داڕێژە:بۆکسی کەش و هەوا/doc

لە ئینسایکڵۆپیدیای ئازادی ویکیپیدیاوە

For questions, see the talk page. For shorter forms, see below: Concise forms.

  • You can enter data in imperial units or metric units or both.
  • You may remove unused fields.
  • All fields are optional, except for location and source 1.
  • 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.3, then use 0.0 for Jan.
  • 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 <div style="width:50%;"> before the table, and </div> after.
  • A source should always be provided - if, however, there is no source, you can add |date=Month Year to the template, which will help sort the article into a subcat of Category:Articles with unsourced statements.

Metric-only empty syntax

[دەستکاری]

Will convert and display imperial values automatically.

{{Weather box <!-- Infobox begins -->
|collapsed=    <!-- Any entry in this line will make the template initially collapsed. Leave blank or remove this line for uncollapsed. -->
|open=         <!-- Any entry in this line will make the template permanently open, and remove the hide button. Remove this line for a collapsable table. -->
|metric first=yes
|single line=  <!-- Any entry in this line will display metric and imperial units in the same cell. Leave blank or remove this line for separate table rows. -->
|location=     <!-- Mandatory field, location the climate data was taken, usually an airport. -->

|temperature colour= <!-- Enter "pastel" for pastel temperature colours, remove this line for the standard colouring. -->
<!-- Maximum Humidex -->
|Jan maximum humidex=
|Feb maximum humidex=
|Mar maximum humidex=
|Apr maximum humidex=
|May maximum humidex=
|Jun maximum humidex=
|Jul maximum humidex=
|Aug maximum humidex=
|Sep maximum humidex=
|Oct maximum humidex=
|Nov maximum humidex=
|Dec maximum humidex=
|year maximum humidex=
<!-- Record high temperatures -->
<!-- Note that record temperatures should be used sparingly in main city articles, and should only be used when the data period is of the greatest length possible. -->
|Jan record high C=
|Feb record high C=
|Mar record high C=
|Apr record high C=
|May record high C=
|Jun record high C=
|Jul record high C=
|Aug record high C=
|Sep record high C=
|Oct record high C=
|Nov record high C=
|Dec record high C=
|year record high C=
<!-- Average high temperatures -->
|Jan high C=
|Feb high C=
|Mar high C=
|Apr high C=
|May high C=
|Jun high C=
|Jul high C=
|Aug high C=
|Sep high C=
|Oct high C=
|Nov high C=
|Dec high C=
|year high C=
<!-- Mean daily temperature -->
|Jan mean C=
|Feb mean C=
|Mar mean C=
|Apr mean C=
|May mean C=
|Jun mean C=
|Jul mean C=
|Aug mean C=
|Sep mean C=
|Oct mean C=
|Nov mean C=
|Dec mean C=
|year mean C=
<!-- Average low temperatures -->
|Jan low C=
|Feb low C=
|Mar low C=
|Apr low C=
|May low C=
|Jun low C=
|Jul low C=
|Aug low C=
|Sep low C=
|Oct low C=
|Nov low C=
|Dec low C=
|year low C=
<!-- Record low temperatures -->
<!-- Note that record temperatures should be used sparingly in main city articles, and should only be used when the data period is of the greatest length possible. -->
|Jan record low C=
|Feb record low C=
|Mar record low C=
|Apr record low C=
|May record low C=
|Jun record low C=
|Jul record low C=
|Aug record low C=
|Sep record low C=
|Oct record low C=
|Nov record low C=
|Dec record low C=
|year record low C=
<!-- Minimum wind chill -->
|Jan chill=
|Feb chill=
|Mar chill=
|Apr chill=
|May chill=
|Jun chill=
|Jul chill=
|Aug chill=
|Sep chill=
|Oct chill=
|Nov chill=
|Dec chill=
|year chill=
<!-- Total precipitation, this should include rain and snow. -->
|precipitation colour= <!-- Enter "green" for green precipitation colours, remove this line for blue colouring. -->
<!-- IMPORTANT: use mm or cm but NOT both! -->
|Jan precipitation cm=  |Jan precipitation mm=
|Feb precipitation cm=  |Feb precipitation mm=
|Mar precipitation cm=  |Mar precipitation mm=
|Apr precipitation cm=  |Apr precipitation mm=
|May precipitation cm=  |May precipitation mm=
|Jun precipitation cm=  |Jun precipitation mm=
|Jul precipitation cm=  |Jul precipitation mm=
|Aug precipitation cm=  |Aug precipitation mm=
|Sep precipitation cm=  |Sep precipitation mm=
|Oct precipitation cm=  |Oct precipitation mm=
|Nov precipitation cm=  |Nov precipitation mm=
|Dec precipitation cm=  |Dec precipitation mm=
|year precipitation cm=  |year precipitation mm=
<!-- Rainfall -->
|rain colour= <!-- Enter "green" for green rainfall colours, remove this line for blue colouring. -->
<!-- IMPORTANT: use mm or cm but NOT both! -->
|Jan rain cm=  |Jan rain mm=
|Feb rain cm=  |Feb rain mm=
|Mar rain cm=  |Mar rain mm=
|Apr rain cm=  |Apr rain mm=
|May rain cm=  |May rain mm=
|Jun rain cm=  |Jun rain mm=
|Jul rain cm=  |Jul rain mm=
|Aug rain cm=  |Aug rain mm=
|Sep rain cm=  |Sep rain mm=
|Oct rain cm=  |Oct rain mm=
|Nov rain cm=  |Nov rain mm=
|Dec rain cm=  |Dec rain mm=
|year rain cm=  |year rain mm=
<!-- Snowfall -->
<!-- IMPORTANT: use mm or cm but NOT both! -->
|Jan snow cm=  |Jan snow mm=
|Feb snow cm=  |Feb snow mm=
|Mar snow cm=  |Mar snow mm=
|Apr snow cm=  |Apr snow mm=
|May snow cm=  |May snow mm=
|Jun snow cm=  |Jun snow mm=
|Jul snow cm=  |Jul snow mm=
|Aug snow cm=  |Aug snow mm=
|Sep snow cm=  |Sep snow mm=
|Oct snow cm=  |Oct snow mm=
|Nov snow cm=  |Nov snow mm=
|Dec snow cm=  |Dec snow mm=
|year snow cm=  |year snow mm=
<!-- Average daily % humidity -->
<!-- If entering the average daily % humidity, then the humidex table should be used. As of December 2009, few if any countries other than Canada use the Humidex. -->
|Jan humidity=
|Feb humidity=
|Mar humidity=
|Apr humidity=
|May humidity=
|Jun humidity=
|Jul humidity=
|Aug humidity=
|Sep humidity=
|Oct humidity=
|Nov humidity=
|Dec humidity=
|year humidity=
<!-- Average number of precipitation days -->
|unit precipitation days= <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.2 cm, 0.2 mm. -->
|Jan precipitation days=
|Feb precipitation days=
|Mar precipitation days=
|Apr precipitation days=
|May precipitation days=
|Jun precipitation days=
|Jul precipitation days=
|Aug precipitation days=
|Sep precipitation days=
|Oct precipitation days=
|Nov precipitation days=
|Dec precipitation days=
|year precipitation days=
<!-- Average number of rainy days -->
|unit rain days= <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.2 cm, 0.2 mm. -->
|Jan rain days=
|Feb rain days=
|Mar rain days=
|Apr rain days=
|May rain days=
|Jun rain days=
|Jul rain days=
|Aug rain days=
|Sep rain days=
|Oct rain days=
|Nov rain days=
|Dec rain days=
|year rain days=
<!-- Average number of snowy days -->
|unit snow days= <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.2 cm, 0.2 mm. -->
|Jan snow days=
|Feb snow days=
|Mar snow days=
|Apr snow days=
|May snow days=
|Jun snow days=
|Jul snow days=
|Aug snow days=
|Sep snow days=
|Oct snow days=
|Nov snow days=
|Dec snow days=
|year snow days=
<!-- Average monthly sunshine hours, monthly totals are preferred, and will produce colours, but percentages are accepted. -->
|Jan sun=
|Feb sun= <!-- if the source gives daily hours, please multiply by 28.25, not 28 -->
|Mar sun=
|Apr sun=
|May sun=
|Jun sun=
|Jul sun=
|Aug sun=
|Sep sun=
|Oct sun=
|Nov sun=
|Dec sun=
|year sun=
<!-- Average percent of possible sunshine. Number of daylight hours already factored into this number. Note that since this is possible sunshine, nighttime hours should not be included in this calculation. Will produce colors. -->
|Jan percentsun=
|Feb percentsun= <!-- if the source gives daily hours, please multiply by 28.25, not 28 -->
|Mar percentsun=
|Apr percentsun=
|May percentsun=
|Jun percentsun=
|Jul percentsun=
|Aug percentsun=
|Sep percentsun=
|Oct percentsun=
|Nov percentsun=
|Dec percentsun=
|year percentsun=
<!-- Mandatory fields, source -->
|source 1= <ref name= > {{Cite web |url= |title= |publisher= |accessdate=تشرینی دووەم ٣, ٢٠٢٤ }}</ref>
<!-- For a second source -->
|source 2= <ref name= > {{Cite web |url= |title= |publisher= |accessdate=تشرینی دووەم ٣, ٢٠٢٤ }}</ref>
}}<!-- Infobox ends -->

Full empty syntax

[دەستکاری]

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

{{Weather box  <!-- Infobox begins -->
|collapsed=       <!-- Any entry in this line will make the template initially collapsed. Leave blank or remove this line for uncollapsed. -->
|open=            <!-- Any entry in this line will make the template permanently open, and remove the hide button. Remove this line for a collapsable table. -->
|metric first=yes <!-- Any entry in this line will display metric first. Blank or remove this line for imperial first. -->
|single line=     <!-- Any entry in this line will display metric and imperial units in the same cell. Leave blank or remove this line for separate table rows. -->
|location=        <!-- Mandatory field, location the climate data was taken, usually an airport. -->

|temperature colour= <!-- Enter "pastel" for pastel temperature colors, remove this line for the standard coloring. -->
<!-- Maximum Humidex -->
|Jan maximum humidex=
|Feb maximum humidex=
|Mar maximum humidex=
|Apr maximum humidex=
|May maximum humidex=
|Jun maximum humidex=
|Jul maximum humidex=
|Aug maximum humidex=
|Sep maximum humidex=
|Oct maximum humidex=
|Nov maximum humidex=
|Dec maximum humidex=
|year maximum humidex=
<!-- Record high temperatures -->
<!-- Note that record temperatures should be used sparingly in main city articles, and should only be used when the data period is of the greatest length possible. -->
|Jan record high F=  |Jan record high C=
|Feb record high F=  |Feb record high C=
|Mar record high F=  |Mar record high C=
|Apr record high F=  |Apr record high C=
|May record high F=  |May record high C=
|Jun record high F=  |Jun record high C=
|Jul record high F=  |Jul record high C=
|Aug record high F=  |Aug record high C=
|Sep record high F=  |Sep record high C=
|Oct record high F=  |Oct record high C=
|Nov record high F=  |Nov record high C=
|Dec record high F=  |Dec record high C=
|year record high F=  |year record high C=
<!-- Average high temperatures -->
|Jan high F=  |Jan high C=
|Feb high F=  |Feb high C=
|Mar high F=  |Mar high C=
|Apr high F=  |Apr high C=
|May high F=  |May high C=
|Jun high F=  |Jun high C=
|Jul high F=  |Jul high C=
|Aug high F=  |Aug high C=
|Sep high F=  |Sep high C=
|Oct high F=  |Oct high C=
|Nov high F=  |Nov high C=
|Dec high F=  |Dec high C=
|year high F=  |year high C=
<!-- Mean daily temperature -->
|Jan mean F=  |Jan mean C=
|Feb mean F=  |Feb mean C=
|Mar mean F=  |Mar mean C=
|Apr mean F=  |Apr mean C=
|May mean F=  |May mean C=
|Jun mean F=  |Jun mean C=
|Jul mean F=  |Jul mean C=
|Aug mean F=  |Aug mean C=
|Sep mean F=  |Sep mean C=
|Oct mean F=  |Oct mean C=
|Nov mean F=  |Nov mean C=
|Dec mean F=  |Dec mean C=
|year mean F=  |year mean C=
<!-- Average low temperatures -->
|Jan low F=  |Jan low C=
|Feb low F=  |Feb low C=
|Mar low F=  |Mar low C=
|Apr low F=  |Apr low C=
|May low F=  |May low C=
|Jun low F=  |Jun low C=
|Jul low F=  |Jul low C=
|Aug low F=  |Aug low C=
|Sep low F=  |Sep low C=
|Oct low F=  |Oct low C=
|Nov low F=  |Nov low C=
|Dec low F=  |Dec low C=
|year low F=  |year low C=
<!-- Record low temperatures -->
<!-- Note that record temperatures should be used sparingly in main city articles, and should only be used when the data period is of the greatest length possible. -->
|Jan record low F=  |Jan record low C=
|Feb record low F=  |Feb record low C=
|Mar record low F=  |Mar record low C=
|Apr record low F=  |Apr record low C=
|May record low F=  |May record low C=
|Jun record low F=  |Jun record low C=
|Jul record low F=  |Jul record low C=
|Aug record low F=  |Aug record low C=
|Sep record low F=  |Sep record low C=
|Oct record low F=  |Oct record low C=
|Nov record low F=  |Nov record low C=
|Dec record low F=  |Dec record low C=
|year record low F=  |year record low C=
<!-- Minimum wind chill -->
|Jan chill=
|Feb chill=
|Mar chill=
|Apr chill=
|May chill=
|Jun chill=
|Jul chill=
|Aug chill=
|Sep chill=
|Oct chill=
|Nov chill=
|Dec chill=
|year chill=
<!-- Total precipitation, this should include rain and snow. -->
|precipitation colour= <!-- Enter "green" for green precipitation colors, remove this line for blue coloring. -->
<!-- IMPORTANT: use only one unit type! -->
|Jan precipitation inch=  |Jan precipitation cm=  |Jan precipitation mm=
|Feb precipitation inch=  |Feb precipitation cm=  |Feb precipitation mm=
|Mar precipitation inch=  |Mar precipitation cm=  |Mar precipitation mm=
|Apr precipitation inch=  |Apr precipitation cm=  |Apr precipitation mm=
|May precipitation inch=  |May precipitation cm=  |May precipitation mm=
|Jun precipitation inch=  |Jun precipitation cm=  |Jun precipitation mm=
|Jul precipitation inch=  |Jul precipitation cm=  |Jul precipitation mm=
|Aug precipitation inch=  |Aug precipitation cm=  |Aug precipitation mm=
|Sep precipitation inch=  |Sep precipitation cm=  |Sep precipitation mm=
|Oct precipitation inch=  |Oct precipitation cm=  |Oct precipitation mm=
|Nov precipitation inch=  |Nov precipitation cm=  |Nov precipitation mm=
|Dec precipitation inch=  |Dec precipitation cm=  |Dec precipitation mm=
|year precipitation inch=  |year precipitation cm=  |year precipitation mm=
<!-- Rainfall -->
|rain colour= <!-- Enter "green" for green rainfall colors, remove this line for blue coloring. -->
<!-- IMPORTANT: use only one unit type! -->
|Jan rain inch=  |Jan rain cm=  |Jan rain mm=
|Feb rain inch=  |Feb rain cm=  |Feb rain mm=
|Mar rain inch=  |Mar rain cm=  |Mar rain mm=
|Apr rain inch=  |Apr rain cm=  |Apr rain mm=
|May rain inch=  |May rain cm=  |May rain mm=
|Jun rain inch=  |Jun rain cm=  |Jun rain mm=
|Jul rain inch=  |Jul rain cm=  |Jul rain mm=
|Aug rain inch=  |Aug rain cm=  |Aug rain mm=
|Sep rain inch=  |Sep rain cm=  |Sep rain mm=
|Oct rain inch=  |Oct rain cm=  |Oct rain mm=
|Nov rain inch=  |Nov rain cm=  |Nov rain mm=
|Dec rain inch=  |Dec rain cm=  |Dec rain mm=
|year rain inch=  |year rain cm=  |year rain mm=
<!-- Snowfall -->
<!-- IMPORTANT: use only one unit type! -->
|Jan snow inch=  |Jan snow cm=  |Jan snow mm=
|Feb snow inch=  |Feb snow cm=  |Feb snow mm=
|Mar snow inch=  |Mar snow cm=  |Mar snow mm=
|Apr snow inch=  |Apr snow cm=  |Apr snow mm=
|May snow inch=  |May snow cm=  |May snow mm=
|Jun snow inch=  |Jun snow cm=  |Jun snow mm=
|Jul snow inch=  |Jul snow cm=  |Jul snow mm=
|Aug snow inch=  |Aug snow cm=  |Aug snow mm=
|Sep snow inch=  |Sep snow cm=  |Sep snow mm=
|Oct snow inch=  |Oct snow cm=  |Oct snow mm=
|Nov snow inch=  |Nov snow cm=  |Nov snow mm=
|Dec snow inch=  |Dec snow cm=  |Dec snow mm=
|year snow inch=  |year snow cm=  |year snow mm=
<!-- Average daily % humidity -->
<!-- If entering the average daily % humidity, then the humidex table should be used. As of December 2009, few if any countries other than Canada use the Humidex. -->
|Jan humidity=
|Feb humidity=
|Mar humidity=
|Apr humidity=
|May humidity=
|Jun humidity=
|Jul humidity=
|Aug humidity=
|Sep humidity=
|Oct humidity=
|Nov humidity=
|Dec humidity=
|year humidity=
<!-- Average number of precipitation days -->
|unit precipitation days= <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.01 in, 0.2 mm. -->
|Jan precipitation days=
|Feb precipitation days=
|Mar precipitation days=
|Apr precipitation days=
|May precipitation days=
|Jun precipitation days=
|Jul precipitation days=
|Aug precipitation days=
|Sep precipitation days=
|Oct precipitation days=
|Nov precipitation days=
|Dec precipitation days=
|year precipitation days=
<!-- Average number of rainy days -->
|unit rain days= <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.01 in, 0.2 mm. -->
|Jan rain days=
|Feb rain days=
|Mar rain days=
|Apr rain days=
|May rain days=
|Jun rain days=
|Jul rain days=
|Aug rain days=
|Sep rain days=
|Oct rain days=
|Nov rain days=
|Dec rain days=
|year rain days=
<!-- Average number of snowy days -->
|unit snow days= <!-- If entering the average number of days, then the unit requirement should be used, because this varies between countries. E.g. 0.1 in, 0.2 cm. -->
|Jan snow days=
|Feb snow days=
|Mar snow days=
|Apr snow days=
|May snow days=
|Jun snow days=
|Jul snow days=
|Aug snow days=
|Sep snow days=
|Oct snow days=
|Nov snow days=
|Dec snow days=
|year snow days=
<!-- Average monthly sunshine hours, monthly totals are preferred, and will produce colors, but percentages are accepted. -->
|Jan sun=
|Feb sun= <!-- if the source gives daily hours, please multiply by 28.25, not 28 -->
|Mar sun=
|Apr sun=
|May sun=
|Jun sun=
|Jul sun=
|Aug sun=
|Sep sun=
|Oct sun=
|Nov sun=
|Dec sun=
|year sun=
<!-- Average percent of possible sunshine. Number of daylight hours already factored into this number. Note that since this is possible sunshine, nighttime hours should not be included in this calculation. Will produce colors. -->
|Jan percentsun=
|Feb percentsun= <!-- if the source gives daily hours, please multiply by 28.25, not 28 -->
|Mar percentsun=
|Apr percentsun=
|May percentsun=
|Jun percentsun=
|Jul percentsun=
|Aug percentsun=
|Sep percentsun=
|Oct percentsun=
|Nov percentsun=
|Dec percentsun=
|year percentsun=
<!-- Mandatory fields, source -->
|source 1= <ref name= > {{Cite web |url= |title= |publisher= |accessdate=تشرینی دووەم ٣, ٢٠٢٤ }}</ref>
<!-- For a second source -->
|source 2= <ref name= > {{Cite web |url= |title= |publisher= |accessdate=تشرینی دووەم ٣, ٢٠٢٤ }}</ref>
}}<!-- Infobox ends -->
[دەستکاری]

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 be accomplished by setting the name parameter to be the name of the template.

| name = {{subst:PAGENAME}}

Concise forms

[دەستکاری]

There are shorter templates that invoke {{Weather box}} with 36 condensed parameters:

  • {{Weather box/concise C}} - for coding only average high and low temperatures, and precipitation, in Celsius degrees and millimetres.
  • {{Weather box/concise_F}} - for coding only average high and low temperatures, and precipitation, in Fahrenheit degrees and inches.

Similar templates

[دەستکاری]
  • {{Climate chart}} - which displays climate information in a graphical chart format.