5,838
edits
m (→All Time) |
|||
Line 2,095: | Line 2,095: | ||
==Monthly All Time Records== | ==Monthly All Time Records== | ||
There are a set of tags for monthly all-time highs and lows, in other words the highest and lowest values for a particular month of the year. | There are a set of tags for monthly all-time highs and lows, in other words the highest and lowest values for a particular month of the year. To supply both optional input, and optional output parameters, separate them with spaces, e.g. <#ByMonthTempHT mon=7 format=hh:nn>. In that example, the highest ever temperature in July is returned in the value after processing by Cumulus. | ||
Each Monthly All Time Records web tag has an optional input parameter "mon=N" where N is the index of the month of the year that you want the value for (January=1 and so on). The corresponding date/time web tags are formatted like the all time records directly above this section. You can customise the date and time formats using the output 'format' parameter on the web tag. | |||
If you don't supply an input parameter (or supply an invalid value like zero) the current month will be used. This is useful if you want to write a template that will always supply values for the current month and don't want to use a script to enter the correct input parameter by processing with that script before Cumulus processes the template. | |||
Line 2,103: | Line 2,105: | ||
|- | |- | ||
!style="width:150px"|Web tag_name | !style="width:150px"|Web tag_name | ||
!style="width: | !style="width:400px"|Function | ||
!style="width:150px"|Date/Time | !style="width:150px"|Date/Time | ||
|- | |- | ||
Line 2,121: | Line 2,123: | ||
|- | |- | ||
|<#ByMonthWChillL> | |<#ByMonthWChillL> | ||
|Greatest wind chill (i.e. lowest temperature) | |Greatest wind chill (i.e. lowest temperature and highest wind speed) | ||
|<#ByMonthWChillLT> | |<#ByMonthWChillLT> | ||
|- | |- |
edits