Jump to content

Template talk:Death date/Archive 1

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia
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

{{editprotected}} 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)

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

{{death date|2004|11|07}} gives (2004-11-07)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)

Done.

also for {{death date|0894|11|07}} giving (0894-11-07)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

span class="dday" to span class="dday deathdate" 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)

Done, see here. --Redrose64 (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éselbert 20:16, 31 August 2017 (UTC)

@Neve-selbert: 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. --Redrose64 🌹 (talk) 11:22, 1 September 2017 (UTC)
@Redrose64: See List of Prime Ministers of the United Kingdom by age. The death column does not sort properly.--Nevé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 WOSlinker. 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é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)
Name Date Number
A 1967-01-01 1967
B 1985-01-01 1985
C 2001-01-01 2001
D 1825-01-01 1825
E
Choosing some closer examples to prove 01-01-1970 is key...
Name Date Number
A 1969-12-31 1969
B 1970-01-02 1970
E
-- Cabayi (talk) 20:26, 1 September 2017 (UTC)

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