Football Template‑class | |||||||
|
I've been trying this. Unless I'm making an obvious mistake, this template doesn't work properly, particularly if the date is omitted, and the format is unclear, ((updated|date|<ref>reference</ref>)). I was expecting to enter "2015|11|8" or "date=2015|11|8" or "date=November 2015" or the like, but it seems to accept and display almost any text, which could be "8 November 2015", without any processing. And an empty date doesn't seem to work, either as ((updated||<ref>reference</ref>)) or ((updated|<ref>reference</ref>))
((updated|2015|11|8|<ref>reference</ref>)) ==>
((updated|date=2015|11|8|<ref>reference</ref>)) ==>
((updated|Any old text|<ref>reference</ref>)) ==>
((updated||<ref>reference</ref>)) ==>
((updated|<ref>reference</ref>)) ==>
((updated|date=November 2015|<ref>reference</ref>)) ==>
((updated|date=1995)) (!!!)
This form obviously works, trivially:
((updated|8 November 2015|<ref>reference</ref>)) ==>
The template works for the current timestamp with no arguments (neither date nor ref):
((updated)) ==>
I don't see any advantage to using this template instead of ((As of|2015|11|8))<ref>reference</ref> ==> As of 8 November 2015[update][8] ("As of" will mark the article as needing future updating, bjut that seems to make sense.)
So either I don't understand this, or it is rather useless; it needs either correcting or documenting.
Ignore
Pol098 (talk) 19:54, 8 November 2015 (UTC)
As you can see in the examples above there is in some cases a space between the punctuation and ref tag. According to Help:Footnotes#Footnotes: the basics, this should not happen. Could anyone who knows more about template code than I please fix that? --Jaellee (talk) 08:26, 19 October 2017 (UTC)
|date=
, which is invalid) puts the reference in the first unnamed parameter, which is supposed to contain the date. Using the template incorrectly will result in incorrect formatting.