Template talk:Start date

From Wikipedia, the free encyclopedia

Start date is part of WikiProject Microformats, which encourages the deployment of microformats in Wikipedia, and documents them in the article space. If you would like to participate, visit the project page.


Contents

[edit] Issues to resolve

  • no HH:MM:SS component as yet
  • Possible merge with {{End date}}, with flag for "start" or "end" property.
Andy Mabbett | Talk to Andy Mabbett 18:27, 31 July 2007 (UTC)

[edit] Month-year format wrong

This now generates dates like "Month, Year", which should instead be "Month Year" per WP:MOSDATE#Dates. --PEJL 22:09, 1 August 2007 (UTC)

OK, I fixed that. --PEJL 23:11, 1 August 2007 (UTC)

[edit] Space at end of date

There is an unnecessary space after each date. It is present in the html between the last link and the <span style="display:none"> tag. I have the same behaviour with SeaMonkey 1.1.3 and Internet Explorer 7. Doub 06:55, 18 August 2007 (UTC)

Yes, I've noticed that as well. It appears to only be possible to get rid of it if we use non-breaking spaces, as spaces are moved and removed by MediaWiki otherwise. I've done so. If anyone knows of a better way to fix this without using non-breaking spaces, please implement that. --PEJL 08:34, 18 August 2007 (UTC)

[edit] links to separate years and months

As per WP:CONTEXT#Dates, stand alone links to months and years should no be used. Can someone fix it so that the template does not create links to the year and month when there are no date present? Rettetast (talk) 23:00, 29 May 2008 (UTC)

I agree with this but I do not understand how to do it. Lightmouse (talk) 23:08, 29 May 2008 (UTC)

I managed to get rid of the stand alone month links, but the year links are still there. Rettetast (talk) 00:44, 30 May 2008 (UTC)

[edit] Multiple changes

I just made a fairly extensive edit to this template. First, I removed pad2digit, as that workaround is no longer needed (and it doesn't really make it too much harder to read when using padleft directly). Second, I cut out most of the non-breaking spaces, except for the one in the display:none span that is still needed (I haven't found a simple workaround for that yet). Finally, I removed the links on the year when the day is not present, per above. --- RockMFR 02:11, 12 June 2008 (UTC)