Webtags (preserving history): Difference between revisions

m
Line 64: Line 64:
*MX treats output parameters differently:
*MX treats output parameters differently:
**any output parameter that it does not recognise at all, is ignored
**any output parameter that it does not recognise at all, is ignored
**an incorrectly formatted output parameter may be treated as an error by the token parser
**any output parameter in a web tag that '''does not''' accept output parameters is also ignored
**if you use the wrong output formatting parameters, you are likely to be confused by the output (the most common cases result in seeing minutes where a month is wanted, or there is a misunderstanding of the concept where the same character has different meanings when on its own and when with other characters).
**any output parameter in a web tag that does accept output parameters, where the supplied parameter is inconsistent with the content of the web tag, is reported as an error by the token parser
**an output parameter that specifies only part of the standard output may be reported as an error because of single character rules (for example a tag that reports a time cannot understand '''format=H''', amongst the acceptable formats are ''format=%H'' for just hour and '''format=H:mm''' for hour and minutes but not seconds.
**any output parameter that contains incorrectly formatted characters in that output parameter will be treated as an error by the token parser (a common mistake is forgetting spaces are expected to be included with other literal characters by the MX token parser)
**if you use valid parameters but the wrong parameters, you are likely to be confused by the output (the most common cases result in seeing minutes where a month is wanted, or there is a misunderstanding of the concept where the same character has different meanings when on its own and when with other characters).


= NOAA style Report Naming =
= NOAA style Report Naming =
5,838

edits