کينډۍ:Weather box

د ويکيپېډيا، وړیا پوهنغونډ له خوا
Documentation icon کينډۍ لاسوند[کتل] [سمول] [پېښليک] [حافظه سپينول]

Imperial-only empty syntax[سمول]

کوز کوډونه ورکرې شوي دي ددي په مرستې سره تاسي دا کينډۍ استعمالولې شئ۔دا کوډونه په کمپيوټر ټيکنيکي ژبه کي پخپله د کينډۍ شکل ته بدليږي۔


{{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 -->
enter