Template talk:Death date and age

From Wikipedia, the free encyclopedia

Templates for deletion This template was considered for deletion on 2007 February 11. The result of the discussion was keep.
Template:Death date and age is permanently protected from editing, as it is a heavily used or visible template.

Substantial changes should be proposed here, and made by administrators if the proposal is uncontroversial, or has been discussed and is supported by consensus. Use {{editprotected}} to attract the attention of an administrator in such cases.
Any contributor may edit the template's documentation to add usage notes, categories or interwiki links.

Contents

[edit] TfD nomination of Template:Death date and age

Template:Death date and age has been nominated for deletion. You are invited to comment on the discussion at the template's entry on the Templates for Deletion page. Thank you. --PhantomS 20:50, 11 February 2007 (UTC)

[edit] Font size

I have no particular preference whether or not the age should be displayed in small size or not, but I think this template should be consistent with {{Birth date and age}}, so for now, I'm removing the <small> tags. If there's a consensus to reinstate the <small> tags, I have no problem with that. --Badmotorfinger 19:55, 7 February 2007 (UTC)

[edit] Modification?

Can this template be modified so that you have the option of having the date displayed as either January 1, 2007 or 1 January 2007? The reason I ask is that some articles have it one way in the infobox for the other dates and some have it the other way. I've been using the {{subst:age}} template for the ones that have the date as 1 January 2007 but it'd be nice to use just one template. -- Mufka (user) (talk) (contribs) 19:55, 25 February 2007 (UTC)

Can this template be renamed to "US death date and age", in line with "Euro death date and age". The current name implies that it is the default, which it certainly isn't, not for an international site such as Wikipedia. --Pete 22:36, 3 April 2007 (UTC)
There was brief a discussion related to this at Template talk:Euro birth date#Suggested move. Following that I added an optional argument to this template. If you append "|df=yes" the default order of the day and month will be day first. This is the same as if you had typed a raw date of [[24 February]] instead of [[February 24]]. This should address some of the issues raised in this thread. I added this to the following templates:
* Template:Birth date
* Template:Birth date and age
* Template:Death date
* Template:Death date and age
I when I did this I didn't realized this was being discussed here. I hope nobody minds my change. This change makes the Euro templates redundant as one set of templates can now be used for both day first and month first default date formats. -- Patleahy 08:24, 17 May 2007 (UTC)

[edit] Interwiki link to the Vietnamese Wikipedia

Please add an interwiki link to the Vietnamese version of this template:

[[vi:Tiêu bản:Ngày mất và tuổi]]

Thanks.

 – Minh Nguyễn (talk, contribs) 20:42, 21 April 2007 (UTC)

Y Done. – Luna Santin (talk) 21:42, 21 April 2007 (UTC)

[edit] Newline after pp-template noinclude

{{Editprotected}}

The newline at the start of this template causes the results of this template to appear incorrect in tables:

Col1 Col2 Col3
Text March 7, 2004 (aged 40) More Text

Please remove the newline, e.g.:

<noinclude>{{pp-template}}</noinclude>[[{{MONTHNAME|{{{2|{{{month ...

-- Patleahy 08:02, 8 May 2007 (UTC)

Y Done Adambro 11:22, 8 May 2007 (UTC)

[edit] Day first option

{{editprotected}} Please update the first line of template with the code which follows. The purpose of this change is to allow writers have the same control over the default day month order when using these templates as they have when using raw dates. This will make the following template redundant: Template:Euro death date and age

There was a brief discussion on the rational for making this change here: Template talk:Euro birth date#Suggested move.

<noinclude>{{pp-template}}</noinclude>{{#ifeq:{{{df}}}|yes|[[{{{3|{{{day|{{{3}}}}}}}}} {{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}}]]|[[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{{3|{{{day|{{{3}}}}}}}}}]]}} [[{{{1|{{{year|{{{1}}}}}}}}}]] (aged {{age at date | {{{4|{{{year|{{{4}}}}}}}}} | {{{5|{{{month|{{{5}}}}}}}}} | {{{6|{{{day|{{{6}}}}}}}}} | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})<noinclude>

I made a similar request at Template talk:Birth date and age#Day first option.

-- Patleahy 00:01, 17 May 2007 (UTC)

Done. Cheers. --MZMcBride 03:26, 17 May 2007 (UTC)

[edit] Non line breaking space

{{editprotected}} Can someone put & nbsp; in between the word "aged" and the output of the age at death? It's sometimes breaking in between lines in templates. Thanks! —Elipongo (Talk contribs) 21:45, 13 June 2007 (UTC)

Done. Cheers. --MZMcBride 00:12, 14 June 2007 (UTC)
Ah, much better! Thank you! —Elipongo (Talk contribs) 00:16, 14 June 2007 (UTC)

[edit] A comma?

{{editprotected}}

Can someone please add a comma (,) in between of month day and year? Ex: February 24, 1993 (aged 51) becomes February 24, 1993 (aged 51). Thank you!

Wiikipedian

Date formats are determined my your preferences. Cheers. --MZMcBride 16:42, 5 August 2007 (UTC)

[edit] Aged

I was wondering why it reads (aged ##) rather than (age ##). Aged seems odd to me. LARA♥LOVE 17:21, 3 September 2007 (UTC)

I agree. (age ##) in this case is a noun. (aged ##) is an adjective or preposition making this grammatically inconsistent... and very odd as LaraLove says. -- Shamatt (talk) 18:13, 22 April 2008 (UTC)

[edit] Add wikilink to birth date

I recommend we add wikilinking to the birth date. The template currently wikilinks the death date but not the birth. I also recommend we transclude the birth date in the template.--Kumioko 12:30, 20 October 2007 (UTC)

[edit] Use when only birth year is known

Could this be modified so that if the last two arguments are missing (Month and Day of birth) it still works. I know that the age would be approximate, but the template could add a ≈ linked to Approximation before the number.
So for someone born in 1890 and died on 1970-10-22 ({{Death date and age|1970|10|22|1890}}) we would get (aged 80) as the note. —MJBurrage(TC) 19:06, 23 December 2007 (UTC)

[edit] Edit request

{{editprotected}} Please use {{documentation}}. 16@r (talk) 21:13, 31 January 2008 (UTC)

Y Done Harryboyles 10:00, 2 February 2008 (UTC)

[edit] Fixing

This template requires fixing

Quote from documentation.


{{Death date and age|1993|2|24|1941|4|12}} returns 24 February 1993 (aged 51)

An optional parameter, df, can be set to "yes" to display the day before the month. This is primarily used in articles about people from parts of the world where the day precedes the month in a date.

Example: {{Death date and age|1993|2|24|1941|4|12|df=yes}} returns "24 February 1993 (aged 51)"


When you add the parameter "df=yes", it is supposed to put the day before the month. They are both the same (I have bolded). The Windler talk  06:04, 11 March 2008 (UTC)

It applies only for users who have not set a date formatting preference. I added that.--Patrick (talk) 12:45, 11 March 2008 (UTC)