Jump to content

Template talk:Death-date and age

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

TBD (notes to self)-

  1. Bug with both dates bc. It's in age template. probably have to fork their code.
  2. depending on arbcom decision with autoformatting, adjust to do date formating (CSS styling approach?) and adjust this template accordingly

-J JMesserly (talk) 20:21, 26 February 2009 (UTC)[reply]

Template: Death date and age?

[edit]

What is the relation of this template to the confusingly similarly worded, but much more commonly used, Template:Death date and age? I'm not confident enough about these templates to propose a merge myself, but don't like the fact they're worded so similarly without explanation of their relation. (To keep the discussion in one place, I suggest people discuss this at the other template's talk page, where I've also raised the question.) Dsp13 (talk) 17:03, 8 February 2010 (UTC)[reply]

Age calculation needs improvement

[edit]

The calculated age needs a range for some combinations of months and years. Someone born in 1900 who died in 1970 could be either 69 or 70 years old at the time of death. {{Death date and age}} has some code that might be helpful. – Jonesey95 (talk) 14:25, 5 April 2015 (UTC)[reply]

It doesn't look like anyone is working on this template. Just to give an example of this problem:
{{death-date and age}} gives 31 July 1975 (1975-08-01) (aged 21)
{{death date and age}} gives 31 July 1975(1975-07-31) (aged 21–22)
when both are give full death date and just birth year. There is a note that this doesn't work, but as Jonesey95 said, the code exists in one template to calculate the age correctly. MB 02:21, 16 September 2021 (UTC)[reply]

How to fix?

[edit]

Can someone please help, Cor Melchers was 61 when he died, but 60 is displayed. I can't find how to solve it. Sander.v.Ginkel (Talk) 23:02, 26 September 2015 (UTC)[reply]

The template has a bug in it. I documented the bug and used a different template in the article. – Jonesey95 (talk) 23:17, 26 September 2015 (UTC)[reply]