Template talk:Date table sorting/Archive 1: Difference between revisions

Content deleted Content added
m Archiving 1 discussion(s) from Template talk:Dts) (bot
Fix invalid self-closed HTML tag or other HTML tag error
Line 66:
''19-March-2009:'' I have created the temporary variation [[Template:Dts/ver]] to allow reporting invalid dates. That template could be merged at a later time, after options are fully developed.<br>
Naturally, sometimes people are putting day-number for the month, where 21 gives "September" (21-12=9), 23 gives "November" etc. As in other templates, I was expecting an error-page-category, such as "'''Category:Template dts invalid month pages'''" which would silently list all pages with invalid month numbers passed to {</font>{dts}}. Another method, coded in [[Template:Dts/ver]], leaves the default behavior unchanged, but allows an optional verify-switch "v=yes" when invoking dts:
:::{<fontnowiki/>{dts/ver|v=yes |2009|78|55}} &nbsp; <--verify to report 78 & 55.
When a user sets "v=yes" then problems will display on the page:
:: &lt;br><font color="#CC8800">'''Template:dts''' - month "78" > 12 in "2009|78|55"</font>.