الگو:جعبه آب‌وهوا/توضیحات

از ایران پدیا
< الگو:جعبه آب‌وهوا
نسخهٔ تاریخ ‏۱۰ مارس ۲۰۱۵، ساعت ۱۲:۳۴ توسط Mahan (بحث | مشارکت‌ها)
(تفاوت) → نسخهٔ قدیمی‌تر | نمایش نسخهٔ فعلی (تفاوت) | نسخهٔ جدیدتر ← (تفاوت)
پرش به ناوبری پرش به جستجو



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 رده:مقاله‌های نیازمند یادکرد.

Imperial-only empty syntax

Will convert and display metric 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 collapsible table. -->
|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, "none" for no colours, remove this line for the standard coloring. -->
<!-- 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=
|Feb record high F=
|Mar record high F=
|Apr record high F=
|May record high F=
|Jun record high F=
|Jul record high F=
|Aug record high F=
|Sep record high F=
|Oct record high F=
|Nov record high F=
|Dec record high F=
|year record high F=
<!-- Average high temperatures -->
|Jan high F=
|Feb high F=
|Mar high F=
|Apr high F=
|May high F=
|Jun high F=
|Jul high F=
|Aug high F=
|Sep high F=
|Oct high F=
|Nov high F=
|Dec high F=
|year high F=
<!-- Mean daily temperature -->
|Jan mean F=
|Feb mean F=
|Mar mean F=
|Apr mean F=
|May mean F=
|Jun mean F=
|Jul mean F=
|Aug mean F=
|Sep mean F=
|Oct mean F=
|Nov mean F=
|Dec mean F=
|year mean F=
<!-- Average low temperatures -->
|Jan low F=
|Feb low F=
|Mar low F=
|Apr low F=
|May low F=
|Jun low F=
|Jul low F=
|Aug low F=
|Sep low F=
|Oct low F=
|Nov low F=
|Dec low F=
|year low F=
<!-- 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=
|Feb record low F=
|Mar record low F=
|Apr record low F=
|May record low F=
|Jun record low F=
|Jul record low F=
|Aug record low F=
|Sep record low F=
|Oct record low F=
|Nov record low F=
|Dec record low F=
|year record low F=
<!-- Total precipitation, this should include rain and snow. -->
|precipitation colour= <!-- Enter "green" for green precipitation colors, "none" for no colours, remove this line for blue coloring. -->
|Jan precipitation inch=
|Feb precipitation inch=
|Mar precipitation inch=
|Apr precipitation inch=
|May precipitation inch=
|Jun precipitation inch=
|Jul precipitation inch=
|Aug precipitation inch=
|Sep precipitation inch=
|Oct precipitation inch=
|Nov precipitation inch=
|Dec precipitation inch=
|year precipitation inch=
<!-- Rainfall -->
|rain colour= <!-- Enter "green" for green rainfall colors, "none" for no colours, remove this line for blue coloring. -->
|Jan rain inch =
|Feb rain inch =
|Mar rain inch =
|Apr rain inch =
|May rain inch =
|Jun rain inch =
|Jul rain inch =
|Aug rain inch =
|Sep rain inch =
|Oct rain inch =
|Nov rain inch =
|Dec rain inch =
|year rain inch =
<!-- Snowfall -->
|snow colour= <!-- Enter "green" for green snowfall colors, "none" for no colours, remove this line for blue coloring. -->
|Jan snow inch=
|Feb snow inch=
|Mar snow inch=
|Apr snow inch=
|May snow inch=
|Jun snow inch=
|Jul snow inch=
|Aug snow inch=
|Sep snow inch=
|Oct snow inch=
|Nov snow inch=
|Dec snow inch=
|year snow inch=
<!-- Average daily % humidity -->
|humidity colour= <!-- Enter "green" for green humidity colors, "pastel" for pastel humidity colours, "none" for no colours, remove this line for blue coloring. -->
|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=
<!-- 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. -->
<!-- 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=
<!-- 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=
<!-- 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.1 in, 0.01 in. -->
|precip days colour= <!-- Enter "green" for green colors, "pastel" for pastel colours, "none" for no colours, remove this line for blue coloring. Affects rain and snow days as well -->
|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.1 in, 0.01 in. -->
|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.01 in. -->
|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. Use either the monthly or daily sunshine (depending on the source) but not both. -->
|Jan sun=
|Feb sun= 
|Mar sun=
|Apr sun=
|May sun=
|Jun sun=
|Jul sun=
|Aug sun=
|Sep sun=
|Oct sun=
|Nov sun=
|Dec sun=
|year sun=
<!-- Average daily sunshine hours. Use either the monthly or daily sunshine (depending on the source) but not both. -->
|Jand sun=
|Febd sun= 
|Mard sun=
|Aprd sun=
|Mayd sun=
|Jund sun=
|Juld sun=
|Augd sun=
|Sepd sun=
|Octd sun=
|Novd sun=
|Decd sun=
|yeard 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= <!-- For February only 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 -->

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 colors, "none" for no colours, 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 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, "none" for no colours, remove this line for blue colouring. -->
<!-- IMPORTANT: use mm or cm but NOT both! -->
|Jan precipitation mm=
|Feb precipitation mm=
|Mar precipitation mm=
|Apr precipitation mm=
|May precipitation mm=
|Jun precipitation mm=
|Jul precipitation mm=
|Aug precipitation mm=
|Sep precipitation mm=
|Oct precipitation mm=
|Nov precipitation mm=
|Dec precipitation mm=
|year precipitation mm=

|Jan precipitation cm= 
|Feb precipitation cm= 
|Mar precipitation cm= 
|Apr precipitation cm= 
|May precipitation cm= 
|Jun precipitation cm= 
|Jul precipitation cm= 
|Aug precipitation cm= 
|Sep precipitation cm= 
|Oct precipitation cm= 
|Nov precipitation cm= 
|Dec precipitation cm= 
|year precipitation cm= 

<!-- Rainfall -->
|rain colour= <!-- Enter "green" for green rainfall colours, "none" for no colours, remove this line for blue colouring. -->
<!-- IMPORTANT: use mm or cm but NOT both! -->
|Jan rain mm=
|Feb rain mm=
|Mar rain mm=
|Apr rain mm=
|May rain mm=
|Jun rain mm=
|Jul rain mm=
|Aug rain mm=
|Sep rain mm=
|Oct rain mm=
|Nov rain mm=
|Dec rain mm=
|year rain mm=

|Jan rain cm= 
|Feb rain cm= 
|Mar rain cm= 
|Apr rain cm= 
|May rain cm= 
|Jun rain cm= 
|Jul rain cm= 
|Aug rain cm= 
|Sep rain cm= 
|Oct rain cm= 
|Nov rain cm= 
|Dec rain cm= 
|year rain cm= 

<!-- Snowfall -->
<!-- IMPORTANT: use mm or cm but NOT both! -->
|snow colour=<!-- Enter "green" for green snowfall colors, "none" for no colours, remove this line for blue coloring. -->
|Jan snow mm=
|Feb snow mm=
|Mar snow mm=
|Apr snow mm=
|May snow mm=
|Jun snow mm=
|Jul snow mm=
|Aug snow mm=
|Sep snow mm=
|Oct snow mm=
|Nov snow mm=
|Dec snow mm=
|year snow mm=

|Jan snow cm= 
|Feb snow cm= 
|Mar snow cm= 
|Apr snow cm= 
|May snow cm= 
|Jun snow cm= 
|Jul snow cm= 
|Aug snow cm= 
|Sep snow cm= 
|Oct snow cm= 
|Nov snow cm= 
|Dec snow cm= 
|year snow cm= 

<!-- 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. -->
|humidity colour= <!-- Enter "green" for green humidity colors, "pastel" for pastel humidity colours, "none" for no colours, remove this line for blue coloring. -->
|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. -->
|precip days colour= <!-- Enter "green" for green colors, "pastel" for pastel colours, "none" for no colours, remove this line for blue coloring. Affects rain and snow days as well -->
|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. Use either the monthly or daily sunshine (depending on the source) but not both. -->
|Jan sun=
|Feb sun=
|Mar sun=
|Apr sun=
|May sun=
|Jun sun=
|Jul sun=
|Aug sun=
|Sep sun=
|Oct sun=
|Nov sun=
|Dec sun=
|year sun=
<!-- Average daily sunshine hours. Use either the monthly or daily sunshine (depending on the source) but not both. -->
|Jand sun=
|Febd sun=
|Mard sun=
|Aprd sun=
|Mayd sun=
|Jund sun=
|Juld sun=
|Augd sun=
|Sepd sun=
|Octd sun=
|Novd sun=
|Decd sun=
|yeard 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= <!-- For February only 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, "none" for no colours, 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, "none" for no colours, 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, "none" for no colours, 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 -->
|snow colour=<!-- Enter "green" for green snowfall colors, "none" for no colours, remove this line for blue coloring. -->
<!-- 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. -->
|humidity colour= <!-- Enter "green" for green humidity colors, "pastel" for pastel humidity colours, "none" for no colours, remove this line for blue coloring. -->
|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. -->
|precip days colour= <!-- Enter "green" for green colors, "pastel" for pastel colours, "none" for no colours, remove this line for blue coloring. Affects rain and snow days as well -->
|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 colours, but percentages are accepted. Use either the monthly or daily sunshine (depending on the source) but not both. -->
|Jan sun=
|Feb sun=
|Mar sun=
|Apr sun=
|May sun=
|Jun sun=
|Jul sun=
|Aug sun=
|Sep sun=
|Oct sun=
|Nov sun=
|Dec sun=
|year sun=
<!-- Average daily sunshine hours. Use either the monthly or daily sunshine (depending on the source) but not both. -->
|Jand sun=
|Febd sun= 
|Mard sun=
|Aprd sun=
|Mayd sun=
|Jund sun=
|Juld sun=
|Augd sun=
|Sepd sun=
|Octd sun=
|Novd sun=
|Decd sun=
|yeard 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= <!-- For February only 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 -->

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 = {{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.

برای توسعه‌دهنده‌ها

  • برای نمایش درجهٔ سلسیوس و سپس فارنهایت، به پارامتر |metric first= مقدار پیش‌فرض yes داده شده‌است.