Webtags (preserving history): Difference between revisions

m
==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. For example,To thesupply highest ever temperature in July. Each Value tag has anboth optional input, parameterand "mon=N"optional whereoutput Nparameters, isseparate thethem indexwith ofspaces, the month of the year that you want the value for (January=1 and so on)e.g. For example, <#ByMonthTempHByMonthTempHT mon=7 format=hh:nn>. willIn givethat example, you the highest ever temperature in July. is Thereturned corresponding date/time web tags are formatted likein the all time recordsvalue directlyafter aboveprocessing thisby sectionCumulus.
 
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 a parameter (or supply an invalid value) the current month will be used. You can customise the date and time formats using the 'format' parameter on the web tag. To supply both input and output parameters, separate them with spaces, e.g. <#ByMonthTempHT mon=7 format=hh:nn>
 
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.
 
 
|-
!style="width:150px"|Web tag_name
!style="width:300px400px"|Function
!style="width:150px"|Date/Time
|-
|-
|<#ByMonthWChillL>
|Greatest wind chill (i.e. lowest temperature and highest wind speed)
|<#ByMonthWChillLT>
|-
5,838

edits