Template talk:Death date/Archive 1

What is this template for?
What's the benefit of this template beyond overruling the user's preferences? Fornadan (t) 14:40, 2 September 2007 (UTC)
 * I see the same problem here. It is simpler and easier to link the date than the template. -- Taku 22:22, 2 September 2007 (UTC)


 * This template currently does nothing more than display the date. It does not override user preferences.


 * Really? Why then does the first date appears the "wrong" way (mmddyyyy), when my date prefereneces says ddmmyyyy? Fornadan (t) 08:40, 3 September 2007 (UTC)


 * I don't understand what you mean by "the first date". Can you link to an article where you don't see the death date as you would expect to see it? -- PatLeahy (talk) 15:24, 3 September 2007 (UTC)


 * This templates makes it easy to include hidden metadata about the date in articles in the future. This template currently does not do this but other templates in the same category do, for example Birth date. This metadata can be used by web browsers and other software tools (for example other websites, or Firefox's Operator extension) to extract the details, and display them using some other website or mapping tool, index or search them, or to load them into an address book program, for instance.


 * There is a discussion about whether templates such as this one are the best way to include such metadata in articles. See Wikipedia talk:Metadata standardization.


 * -- PatLeahy (talk) 03:15, 3 September 2007 (UTC)


 * If so I humbly suggest that setting a bot to paste this template everywhere might not be a good idea until that discussion has been resolved. Fornadan (t) 08:40, 3 September 2007 (UTC)

Change to use unprotected doc
Please apply these changes so that the document can be taken out of this protected template and so that people know this template is protected. Thanks, PatLeahy (talk) 17:40, 3 September 2007 (UTC)
 * [[Image:Yes check.svg|20px]] Done. Cheers. --MZMcBride 20:41, 3 September 2007 (UTC)

comma
Should this template not insert a comma between the day and the year when used in the M/D/Y format? e.g., February 24, 2005, instead of February 24 2005. — Yavoh 23:53, 1 December 2007 (UTC)

Metadata
The documentation says the template inserts metadata, but it does not seem to actually do so. --Jc3s5h (talk) 02:30, 25 March 2009 (UTC)

Leading zeros in days
 November 7, 2004  gives November 7, 2004 but WP:MOSDATE specifies that days shouldn't have leading zeros. Could a knowledgeable user please amend the template such that days with leading zeros are accepted, but the leading zero is not displayed in the markup. Thanks Rjwilmsi  15:50, 14 June 2009 (UTC) also for  November 7, 894  giving November 7, 894. Rich Farmbrough, 13:09, 17 September 2009 (UTC).

Template not working
See John Larkin (cricketer) - the death year is not showing despite the Death year and age template being used. Mjroots (talk) 07:00, 18 October 2010 (UTC)
 * Just a comment format error, now fixed. Rjwilmsi  08:54, 18 October 2010 (UTC)
 * Thanks! Mjroots (talk) 09:05, 18 October 2010 (UTC)

Metadata redux
Please change

to  to take account of the parameter name used in the forthcoming extension to the vCard standard. Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 11:18, 30 November 2011 (UTC)
 * Yes check.svg Done, see . -- Red rose64 (talk) 13:33, 30 November 2011 (UTC)
 * Thank you. Andy Mabbett ( Pigsonthewing ); Talk to Andy; Andy's edits 15:20, 30 November 2011 (UTC)

hCard microformat
This template malfunctions when used in tables. The absence of this may be the cause. Thanks.--Nev&eacute;–selbert 20:16, 31 August 2017 (UTC)
 * Absence of documentation is fixed by editing the documentation, which is not protected. I fail to see how that would cause malfunctions when used in tables. Please give examples of such malfunctions. -- Red rose64 &#x1f339; (talk) 11:22, 1 September 2017 (UTC)
 * See List of Prime Ministers of the United Kingdom by age. The death column does not sort properly.--Nev&eacute;–selbert 15:24, 1 September 2017 (UTC)
 * I've moved the hidden section from the end to the start in the template (similar to the Birth Date template) and it now sorts better. -- WOSlinker (talk) 15:48, 1 September 2017 (UTC)
 * Thanks . If I may, is there any way to sort the living prime ministers at List of Prime Ministers of the United Kingdom at the bottom and top when the Death date column is sorted? At the moment they are sandwiched between Attlee above and Eden below.--Nev&eacute;–selbert 16:08, 1 September 2017 (UTC)
 * Think you mean List of Prime Ministers of the United Kingdom by age - there's nothing sortable in List of Prime Ministers of the United Kingdom. It looks like the blank is being interpreted as a 0 Unix time = 1 Jan 1970. Cabayi (talk) 16:41, 1 September 2017 (UTC)
 * It appears to be a bug in the table sorting javascript, which is not something that can be fixed on wiki. I've looked on phabricator for a releavant bug but couldn't find one. So I've raised T174814 -- WOSlinker (talk) 18:00, 1 September 2017 (UTC)


 * Choosing some closer examples to prove 01-01-1970 is key...
 * {| class="wikitable sortable"

! Name || Date || Number
 * A || 1969-12-31 || 1969
 * B || 1970-01-02 || 1970
 * E || ||
 * }
 * -- Cabayi (talk) 20:26, 1 September 2017 (UTC)
 * E || ||
 * }
 * -- Cabayi (talk) 20:26, 1 September 2017 (UTC)

, it looks like the latest wiki software has rolled out with the fix in place. Thanks .- Cabayi (talk) 05:41, 8 September 2017 (UTC)