Webtags/Parameters: Difference between revisions

From Cumulus Wiki
Jump to navigationJump to search
2,126 bytes removed ,  08:56, 3 October 2022
m
Line 152: Line 152:


==== Which tag names take date/time output formatting modifiers ====
==== Which tag names take date/time output formatting modifiers ====
In general all date/time tags will accept format strings with some exceptions. Given the sheer number of Webtags it is deemed not useful to indicate which webtags exactly do not conform to this rule. The user is invited to use the default Webtag for its purpose and then try a modification if it is not satisfactorily.


It is not practical to indicate which time/date modifiers are accepted on a tag by tag basis. It would involve a lot of repetition. Instead, the following table, explains much more simply, which web tags will accept time and/or date output modifiers.
If you think a formatting is in error (e.g. you can't get what you want) please report in the forum: you may have made an error or it is a bug or it needs to be documented specifically.


There are some tag names (e.g. moon rise) that relate to an event that does not happen each Earth day, so those tags have to be able to report "--:--".  Equally, many of the tag names that describe extreme records for this month/year/all-time are not defined until the respective period reaches its second day, so again those tags may output hyphens. When hyphens are output, output modifiers have no effect.
There are some tag names (e.g. moon rise) that relate to an event that does not happen each Earth day, so those tags have to be able to report "--:--".  Equally, many of the tag names that describe extreme records for this month/year/all-time are not defined until the respective period reaches its second day, so again those tags may output hyphens. When hyphens are output, output modifiers have no effect.
{| class="wikitable" border="1"
|-
!style="width:100px" | Cross-reference to table on [[Full_list_of_Webtags|List of Webtags]] page
!style="width:300px" | Tag names that accept only time output modifiers
!style="width:300px" | Tag names that accept only date output modifiers
!style="width:300px" | Tag names that accept both time and date output modifiers
|-
! scope="row"| [[Full_list_of_Webtags#Date_.26_Time|Date & Time]] and [[Full_list_of_Webtags#Day.2FNight.2FSun.2FMoon|Sun & Moon]]
| <#timehhmmss>, <#minute>, <#hour>, <#sunrise>, <#sunset>, <#dawn>, <#dusk>
| <#LatestErrorDate>, <#date>
| <#LastDataReadT>, <#time>, <#metdate>, <#metdateyesterday>, <#update>, <#LastDataReadT>
|-
! scope="row"| [[Full_list_of_Webtags#Today|Today]], [[Full_list_of_Webtags#Yesterday|Yesterday]]
| Each tag name in "Time" column of linked table has limited ability to modify output format
| None
| None
|-
! scope="row"| [[Webtags#Monthly]], [[Webtags#Yearly]]
| Those tag names in  "Time" column of linked table in first column that represent spot value extreme records. For rainfall tag notes see &Dagger; below this table
| Each tag name in "Date" column of linked table in first column that represent either daily extremes or spot value extreme records. For notes see &dagger; below this table
| None of the tag names. For explanation see the ^ below this table
|-
! scope="row"| [[Webtags#All_Time]], [[Webtags#Monthly_All_Time_Records]]
| None (all tag names combine both time and date)
| Those tag names in "Date/Time" column of linked table that represent daily extremes contain only dates
| Those tag names in "Date/Time" column of linked table that represent spot value extreme records contain both date and time in single tag name
|-
! scope="row"| [[Webtags#Davis]]
| None
| <#StormRainStart>  only
| None
|}
'''NOTES:'''
~  Can choose from Hour/Minute format options, no seconds resolution available in these tags<br>
&Dagger;  For rainfall, only one tag '''<#LastRainTip>''' can have output modifiers added to report a clock time (to nearest minute, seconds not available).<br>
&dagger; Daily extremes (e.g. wettest day <#MonthDailyRainHD>, and temperature ranges <#MonthHighDailyTempRangeD>) have no time tag.<br>
^ For the monthly and yearly web tags, the date and time are in separate tag names. It is not possible to get both time and date out of either tag name.


==== Locales ====
==== Locales ====

Navigation menu