![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 |
This is a very nice & useful template, but it displays as "Month day, year". Perhaps those in the know could program a "day month year" alternative version for those articles that use that format? Bolivian Unicyclist 12:11, 15 October 2006 (UTC)
Kind of a mess because birth dates are usually in parentheses, so this template pretty much guarantees nested parentheses. Also, I'm not too comfortable with the notion that some people's articles should be tagged with their age; how does one decide which? - Jmabel | Talk 18:49, 3 November 2006 (UTC)
Adding the template to Owen Wilson, I put in { { birth date and age|1968|18|11 } }, for the 18th November, but it came up June 11th. I don't think this is a problem with my preferences, because I've not chosen one. CelebHeights 16:51, 7 November 2006 (UTC)
Well, not to sound brash, but is that not a serious problem? Not everybody uses the American way of writing dates. CelebHeights 13:16, 12 November 2006 (UTC)
{{Birth date and age|date=12|month=3|year=1990}}
now, that Okay?
Matthew Fenton (
talk ·
contribs ·
count ·
email) 13:44, 12 November 2006 (UTC)
To make it international acceptable I've added fall through parameters (month=, day=, year=) - these can be called in any order during transclusion. Matthew Fenton ( talk · contribs · count · email) 13:46, 12 November 2006 (UTC)
This template has been approved for use in {{ Infobox actor}}. See Template talk:Infobox actor for discussion. Dismas| (talk) 22:55, 14 November 2006 (UTC)
I have no preference between British d/m or U.S. m/d order. In fact, the default order of paramaters follows the East Asian (or "computer" order) or y/m/d. The idea is that the largest unit comes first. This matches the hour/minute/second order used elsewhere.
We could easily create a variant like {brit bda} or {british birth date and age} that uses year/day/month, but how many people actually would use it?
It's only when the year comes last (4/5/1980) or is omitted (4/5) that there's any ambiguity. But this template requires the year. And if the year goes first, I don't know of anyone who'd want to put the day next. Anyway, Matthew's fall through parameters should suffice. -- Uncle Ed 12:38, 7 December 2006 (UTC)
I was typing in a hurry and didn't proofread what I typed. Sorry for adding to the confusion. -- Uncle Ed 14:18, 7 December 2006 (UTC)
I would suggest that the template be changed to use the ISO order of Year Month Day, which would be unambiguous to all English speakers, and follow the international standard, thus avoiding regional issues. This would of course still also follow user preferences for those that have them. — MJBurrage • TALK • 14:45, 28 February 2007 (UTC)
Firstly, please realise I believe that the day first order should be supported. I created some of the euro date templates for this reason. I proposed the df option and supported the deletion of the euro date templates because I believe that a single set of templates for all articles would actual make the day first option easer for editors to find.
Secondly, are you are aware the default is something only editors need to be deal with? Articles can be written so that readers can see the day month order that is appropriate for the article in question, e.g. in articles about Australians an editor can use these templates and have the day appear before the month for readers who are not logged in.
As I said when we discussed this below, changing the default would involve touching many articles just to change a default. This disruption to articles and editors habits is not justified in my opinion. However if the consensus opinion is that the default should be changed and people or a bot will update all the existing articles not to use the new default then go ahead and make the change.
I also said, I don’t think it is practical and perhaps not possible to implement these templates using wiki dates without string functions which are not installed in wikipedia. If you or someone else can contradict me with a proposed implementation that would be great. -- Patleahy 03:51, 24 July 2007 (UTC)
the template page is reading:
“ | [[ {{{3}}}]] [[{{{1}}}]] (age Expression error: Unrecognised punctuation character "{") | ” |
...is this correct? -- emerson7 | Talk 18:06, 10 December 2006 (UTC)
The template has a few items that look like: {{{1|{{{year|{{{1}}}}}}}}} Is the repeated {{{1}}} necessary, or could it be {{{1|{{{year|}}}}}} ? Gimmetrow 20:16, 17 December 2006 (UTC)
This template use {{ selfref}}, but without real reason... Can an administrator remove it please. 16@r 16:18, 24 December 2006 (UTC)
How about <small> tags after the date of birth?
It would look like this:
-- -Majestic- 08:24, 25 December 2006 (UTC)
The "age" section should be wrapped in "noprint," so that we don't produce dated paper versions. Night Gyr ( talk/ Oy) 21:11, 8 January 2007 (UTC)
May I suggest adding the word "current" in front? I was looking at a bio page, and saw "age nn" under the picture, and wasn't sure if that meant the age as of when the picture was taken. Adding the word "current" should help.
Also, I'd like to suggest that <includeonly> and </includeonly> be added to suppress the error message that appears on the template page, and add "See Template_Talk:Birth date and age for discussion about this template" in the <noinclude> section. -- Scott McNay 04:52, 20 January 2007 (UTC)
Any chance we could get rid of the <small/>
tags around the age. It makes it more difficult to read for people with visual difficulties (like myself). For the number of characters an age will ever be (three at most), it's not like it's saving any space… —
OwenBlacker 01:01, 21 January 2007 (UTC)
small { font-size: 100%; }
<small>
tags only make the numbers smaller, but not the word "age" or the brackets. It was originally intended that it would make both "(age" and ##) smaller. Example: (age 30). Currently it reads: (age 30) which looks kinda weird. Can you fix this? --
-Majestic- 01:25, 21 January 2007 (UTC)
It would be useful if this could be used to automatically categorize the bio into the category of whatever year of birth it is. For example if {{birth date and age|1971|04|09}} automatically sorted that biography ( Peter Canavan) into [[Category:1971 births]] -- Macca7174 16:11, 27 February 2007 (UTC)
How about a category for teenagers? That is, people whose Current Age is between 13 and 19? -- Uncle Ed 14:57, 27 July 2007 (UTC)
With the introduction of a similar template providing output in International Dating format, I intend renaming this template to "US birth date and age" in order to maintain consistency and reduce confusion. As it stands, many editors are using this template for articles where the subject is not a U.S. or Phillipines citizen, and of course this produces a date format which is inconsistent with the remainder of the article. -- Pete 00:02, 28 February 2007 (UTC)
I would suggest that the template name not change, but that the template itself be changed to use the ISO order of Year Month Day, which would be unambiguous to all English speakers, and follow the international standard, thus avoiding regional issues. This would of course still also follow user preferences for those that have them. — MJBurrage • TALK • 14:45, 28 February 2007 (UTC)
As I just added in another section above, I had not meant to sugest the exact ISO standard, just the ISO order, so that today would read as 2007 March 03 to anyone without a preference set. — MJBurrage • TALK • 13:21, 3 March 2007 (UTC)
Given that this template is intended to be used primarily in Info-boxes, and not as part of a sentence in flowing text, I do not see that it would be a problem for it to use an order that might be different than the order used for dates in the narrative text of the article.
So whether an article’s dates are in American order (March 4, 2007), or Commonwealth order (4 March 2007) having this one date in ISO order (1997 March 4 (age 10) for example) does not seem to me to be a problem. Furthermore it solves the whole order/multi-template debates with out favouring American vs. Commonwealth, and it does not, in my humble opinion, violate the spirit of WP:DATE. —
MJBurrage •
TALK • 14:20, 4 March 2007 (UTC)
Why can I only "view source", there's no edit button. Gronky 12:35, 29 March 2007 (UTC)
This template currently says says that people were born at a certain age. Surely it should say "currently aged 42". Can someone fix this? I can't, the page has no edit button for some unexplained reason. Gronky 12:35, 29 March 2007 (UTC)
This template has (positive!) implications for the deployment of the hCard microformat. Please see Wikipedia:WikiProject_Microformats/hcard. Andy Mabbett 15:20, 29 March 2007 (UTC)
{{ editprotected}}
style="bday"
should be class="bday"
.
Andy Mabbett 14:15, 19 April 2007 (UTC)
{{ editprotected}}
Someone wrote Template:Hcard-bday a while ago to create an inline microformat to be used in cases where the given birth date isn't for the subject of the article, but for someone related. Microformats need a name parameter for it, so the template was created to add one, but otherwise works the same as this template. It's not a good idea to make many different templates to produce the exact same text for the reader, so I did the job properly and extended the current template. Could someone please do the modification from my sandbox? It adds support for a name parameter, and adds the microformat if the parameter is given. A test is visible here. -- Para 14:33, 25 June 2007 (UTC)
I've disabled the editprotected request while discussion continues. Cheers. -- MZMcBride 05:31, 27 June 2007 (UTC)
Even if the name in the proposed template was hidden metadata, the specifications don't say that such data is prohibited. The microformats community failed to give a reference when Andy Mabbett requested for one, and (in his own words), "I've still seen no citation for any *prohibition* of hidden data in microformats". The single objection above is thus null and void. -- Para 09:57, 9 July 2007 (UTC)
Without changing any of the visible text, microformat the d.o.b. of Marc Blume (new article) to your satisfaction. Ditto for coord in Puerto Baquerizo Moreno (no tables allowed, no infoboxes). -- roundhouse0 17:02, 3 July 2007 (UTC)
{{ editprotected}} Add description how it works , copied from {{ Death date and age}} :
[[ {{{3}}}]] [[{{{1}}}]] (aged Error: Need valid year, month, day)
Returns a person's date of birth and his/her age .
Syntax: {{Birth date and age|year of birth|month of birth|day of birth}}
Example:
{{Birth date and age|1993|2|24}}
returns ( February 24, 1993
)
Note: The template will appear broken when the parameters are left blank (as seen above).
Also {{ Death date and age}} should be protected ( Gnevin 21:37, 3 April 2007 (UTC)) ( Gnevin 21:37, 3 April 2007 (UTC))
This is going to sound really anal retentive, but could somebody reduce the space in between the date and the age (ex. February 18, 1996 (age 11). See what I mean, there's two spaces there when there should only be one. 75pickup ( talk · contribs) 75pickup 04:35, 21 April 2007 (UTC)
I think this template should add a death part to it, so that it removes the age part, or died on day. Eg.
But this is my proposal
or someting like this
Thats my thoughts anyway. SpecialWindler 10:35, 29 April 2007 (UTC)
If you add a leading zero to the day it shows the leading zero in the results like {{Birth date and age|1993|02|01}}
February 1, 1993Adding a #expr (see Help:Calculation#Numbers_as_input) around the day statement will convert it to a number: {{ #expr: {{{3|{{{day|{{{3}}}}}}}}}}}
See an example on the Norwegian Wiki: no:Mal:Birth date and age. Nsaa 15:10, 12 May 2007 (UTC)
{{ 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 birth date and age
There was a brief discussion on the rational for making this change here: Template talk:Euro birth date#Suggested move.
{{#ifeq:{{{df}}}|yes|[[{{{3|{{{day|{{{3}}}}}}}}} {{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}}]]|[[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{{3|{{{day|{{{3}}}}}}}}}]]}} [[{{{1|{{{year|{{{1}}}}}}}}}]]<span style="display:none"> (<span class="bday">{{{1|{{{year|}}}}}}-{{padleft:{{{2|{{{month|}}}}}}|2|0}}-{{pad2digit|{{{3|{{{day|{{{3}}}}}}}}}}}</span>)</span>{{selfref|1=<span class="noprint"> (age {{age | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span>|2=}}<noinclude>
I made a similar request at Template talk:Death date and age#Day first option.
-- Patleahy 00:01, 17 May 2007 (UTC)
I don’t think it would be possible to implement a template where the date is a single parameter. -- Patleahy 05:51, 18 May 2007 (UTC)
is it at all possible to add non-breaking space to prevent the unsightly linebreaks as illustrated below?
From this: 25 January 1980 (age 27) To this: 25 January 1980 (age 27)
-- emerson7 | Talk 00:34, 25 May 2007 (UTC)
{{
editprotected}} could someone please add an " " to the template to address the above concern...thanks. --
emerson7 |
Talk 17:28, 2 July 2007 (UTC)
Given WP:BLP#Privacy_of_birthdays, is there an alternative template that works on just the birth year? Ian Cairns 14:32, 27 May 2007 (UTC)
Please add ja:Template:生年月日と年齢. Thank you.-- Ko-ta 02:14, 14 June 2007 (UTC)
{{ editprotected}}
Please replace {{ Template:Birth date and age/doc}} with {{ template doc}}. Andy Mabbett 10:58, 3 July 2007 (UTC)
Why is this noprinting?:
<span class="noprint"> (age {{age | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span>
What is the point of adding calculated age-as-of-now to an article and not letting people print that information as part of their hardcopy of the article? The fact that it disappears when printed is very likely to severely confuse most users, who do not understand CSS display capabilities. — SMcCandlish [ talk] [ cont] ‹(-¿-)› 14:47, 24 July 2007 (UTC)
{{
Editprotected}}
Please remove the <span class="noprint"> and </span>, per three days of waiting for a justification for it being there. Also, the font HTML element is deprecated anyway. Sloppy, 1997-style coding. Conforming edit probably needed at {{
Death date and age}}. —
SMcCandlish [
talk] [
cont] ‹(-¿-)› 17:01, 27 July 2007 (UTC)
The parentheses inside the display:none span appear to be misplaced and useless:
<span style="display:none"> (<span class="bday">{{{1|{{{year|}}}}}}-{{padleft:{{{2|{{{month|}}}}}}|2|0}}-{{pad2digit|{{{3|{{{day|{{{3}}}}}}}}}}}</span>)</span>
The evident point of the display:none span is to "make room" for the hCard "bday" span, which must have a bare ISO date format, while not actually displaying this, since we are using prior code to [[...]] wikiformat the date for display. Thus, it appears to me that we are generating parentheses as useless data/dead code. — SMcCandlish [ talk] [ cont] ‹(-¿-)› 14:47, 24 July 2007 (UTC)
Changing formats or styles to favour one over the other without a good reason is wiki-illegal under an ArbCom ruling based around describing years as AD or CE. This template favours American Dating over International Dating, and the removal of the "Euro" template has seen many articles where International Dating format is appropriate, now showing American Dating format for birthdates.
I propose to present a case aimed at removing the current bias. Wikipedia is supposed to have a strong commitment to internationalisation. -- Pete 00:54, 1 August 2007 (UTC)
Are we promoting internationalization for the sake of contributors, i.e., to make it easy for them to use the templates? Or as a manifestation of European anti-Americanism? There are plenty of Asian contributors who are comfortable with year-month-day order, not to mention all us computer programmers.
I'm shocked to here that something as simple and intuitive as a year-month-day standard is being described as "illegal".
I'm sure we can find a way to support day-month-year order for users who are more comfortable entering birthdates that way. I myself prefer month/day/year, but I desigined this template to support year-month-day as the default, because I didn't want there to be any "cross-pond" confusion (America and England, two countries separated by a common language ;-)
Cheers! -- Uncle Ed 22:45, 3 August 2007 (UTC)
Could I please ask that we discuss the point in displaying the age of a person on their article. There are numerous reasons that I can find to support removing this, and few I can find for keeping it.
Remove the age because:
Keep the age because:
Any thoughts? Conrad.Irwin 10:12, 5 August 2007 (UTC)
![]() | This is an archive of past discussions. Do not edit the contents of this page. If you wish to start a new discussion or revive an old one, please do so on the current talk page. |
Archive 1 | Archive 2 | Archive 3 | Archive 4 |
This is a very nice & useful template, but it displays as "Month day, year". Perhaps those in the know could program a "day month year" alternative version for those articles that use that format? Bolivian Unicyclist 12:11, 15 October 2006 (UTC)
Kind of a mess because birth dates are usually in parentheses, so this template pretty much guarantees nested parentheses. Also, I'm not too comfortable with the notion that some people's articles should be tagged with their age; how does one decide which? - Jmabel | Talk 18:49, 3 November 2006 (UTC)
Adding the template to Owen Wilson, I put in { { birth date and age|1968|18|11 } }, for the 18th November, but it came up June 11th. I don't think this is a problem with my preferences, because I've not chosen one. CelebHeights 16:51, 7 November 2006 (UTC)
Well, not to sound brash, but is that not a serious problem? Not everybody uses the American way of writing dates. CelebHeights 13:16, 12 November 2006 (UTC)
{{Birth date and age|date=12|month=3|year=1990}}
now, that Okay?
Matthew Fenton (
talk ·
contribs ·
count ·
email) 13:44, 12 November 2006 (UTC)
To make it international acceptable I've added fall through parameters (month=, day=, year=) - these can be called in any order during transclusion. Matthew Fenton ( talk · contribs · count · email) 13:46, 12 November 2006 (UTC)
This template has been approved for use in {{ Infobox actor}}. See Template talk:Infobox actor for discussion. Dismas| (talk) 22:55, 14 November 2006 (UTC)
I have no preference between British d/m or U.S. m/d order. In fact, the default order of paramaters follows the East Asian (or "computer" order) or y/m/d. The idea is that the largest unit comes first. This matches the hour/minute/second order used elsewhere.
We could easily create a variant like {brit bda} or {british birth date and age} that uses year/day/month, but how many people actually would use it?
It's only when the year comes last (4/5/1980) or is omitted (4/5) that there's any ambiguity. But this template requires the year. And if the year goes first, I don't know of anyone who'd want to put the day next. Anyway, Matthew's fall through parameters should suffice. -- Uncle Ed 12:38, 7 December 2006 (UTC)
I was typing in a hurry and didn't proofread what I typed. Sorry for adding to the confusion. -- Uncle Ed 14:18, 7 December 2006 (UTC)
I would suggest that the template be changed to use the ISO order of Year Month Day, which would be unambiguous to all English speakers, and follow the international standard, thus avoiding regional issues. This would of course still also follow user preferences for those that have them. — MJBurrage • TALK • 14:45, 28 February 2007 (UTC)
Firstly, please realise I believe that the day first order should be supported. I created some of the euro date templates for this reason. I proposed the df option and supported the deletion of the euro date templates because I believe that a single set of templates for all articles would actual make the day first option easer for editors to find.
Secondly, are you are aware the default is something only editors need to be deal with? Articles can be written so that readers can see the day month order that is appropriate for the article in question, e.g. in articles about Australians an editor can use these templates and have the day appear before the month for readers who are not logged in.
As I said when we discussed this below, changing the default would involve touching many articles just to change a default. This disruption to articles and editors habits is not justified in my opinion. However if the consensus opinion is that the default should be changed and people or a bot will update all the existing articles not to use the new default then go ahead and make the change.
I also said, I don’t think it is practical and perhaps not possible to implement these templates using wiki dates without string functions which are not installed in wikipedia. If you or someone else can contradict me with a proposed implementation that would be great. -- Patleahy 03:51, 24 July 2007 (UTC)
the template page is reading:
“ | [[ {{{3}}}]] [[{{{1}}}]] (age Expression error: Unrecognised punctuation character "{") | ” |
...is this correct? -- emerson7 | Talk 18:06, 10 December 2006 (UTC)
The template has a few items that look like: {{{1|{{{year|{{{1}}}}}}}}} Is the repeated {{{1}}} necessary, or could it be {{{1|{{{year|}}}}}} ? Gimmetrow 20:16, 17 December 2006 (UTC)
This template use {{ selfref}}, but without real reason... Can an administrator remove it please. 16@r 16:18, 24 December 2006 (UTC)
How about <small> tags after the date of birth?
It would look like this:
-- -Majestic- 08:24, 25 December 2006 (UTC)
The "age" section should be wrapped in "noprint," so that we don't produce dated paper versions. Night Gyr ( talk/ Oy) 21:11, 8 January 2007 (UTC)
May I suggest adding the word "current" in front? I was looking at a bio page, and saw "age nn" under the picture, and wasn't sure if that meant the age as of when the picture was taken. Adding the word "current" should help.
Also, I'd like to suggest that <includeonly> and </includeonly> be added to suppress the error message that appears on the template page, and add "See Template_Talk:Birth date and age for discussion about this template" in the <noinclude> section. -- Scott McNay 04:52, 20 January 2007 (UTC)
Any chance we could get rid of the <small/>
tags around the age. It makes it more difficult to read for people with visual difficulties (like myself). For the number of characters an age will ever be (three at most), it's not like it's saving any space… —
OwenBlacker 01:01, 21 January 2007 (UTC)
small { font-size: 100%; }
<small>
tags only make the numbers smaller, but not the word "age" or the brackets. It was originally intended that it would make both "(age" and ##) smaller. Example: (age 30). Currently it reads: (age 30) which looks kinda weird. Can you fix this? --
-Majestic- 01:25, 21 January 2007 (UTC)
It would be useful if this could be used to automatically categorize the bio into the category of whatever year of birth it is. For example if {{birth date and age|1971|04|09}} automatically sorted that biography ( Peter Canavan) into [[Category:1971 births]] -- Macca7174 16:11, 27 February 2007 (UTC)
How about a category for teenagers? That is, people whose Current Age is between 13 and 19? -- Uncle Ed 14:57, 27 July 2007 (UTC)
With the introduction of a similar template providing output in International Dating format, I intend renaming this template to "US birth date and age" in order to maintain consistency and reduce confusion. As it stands, many editors are using this template for articles where the subject is not a U.S. or Phillipines citizen, and of course this produces a date format which is inconsistent with the remainder of the article. -- Pete 00:02, 28 February 2007 (UTC)
I would suggest that the template name not change, but that the template itself be changed to use the ISO order of Year Month Day, which would be unambiguous to all English speakers, and follow the international standard, thus avoiding regional issues. This would of course still also follow user preferences for those that have them. — MJBurrage • TALK • 14:45, 28 February 2007 (UTC)
As I just added in another section above, I had not meant to sugest the exact ISO standard, just the ISO order, so that today would read as 2007 March 03 to anyone without a preference set. — MJBurrage • TALK • 13:21, 3 March 2007 (UTC)
Given that this template is intended to be used primarily in Info-boxes, and not as part of a sentence in flowing text, I do not see that it would be a problem for it to use an order that might be different than the order used for dates in the narrative text of the article.
So whether an article’s dates are in American order (March 4, 2007), or Commonwealth order (4 March 2007) having this one date in ISO order (1997 March 4 (age 10) for example) does not seem to me to be a problem. Furthermore it solves the whole order/multi-template debates with out favouring American vs. Commonwealth, and it does not, in my humble opinion, violate the spirit of WP:DATE. —
MJBurrage •
TALK • 14:20, 4 March 2007 (UTC)
Why can I only "view source", there's no edit button. Gronky 12:35, 29 March 2007 (UTC)
This template currently says says that people were born at a certain age. Surely it should say "currently aged 42". Can someone fix this? I can't, the page has no edit button for some unexplained reason. Gronky 12:35, 29 March 2007 (UTC)
This template has (positive!) implications for the deployment of the hCard microformat. Please see Wikipedia:WikiProject_Microformats/hcard. Andy Mabbett 15:20, 29 March 2007 (UTC)
{{ editprotected}}
style="bday"
should be class="bday"
.
Andy Mabbett 14:15, 19 April 2007 (UTC)
{{ editprotected}}
Someone wrote Template:Hcard-bday a while ago to create an inline microformat to be used in cases where the given birth date isn't for the subject of the article, but for someone related. Microformats need a name parameter for it, so the template was created to add one, but otherwise works the same as this template. It's not a good idea to make many different templates to produce the exact same text for the reader, so I did the job properly and extended the current template. Could someone please do the modification from my sandbox? It adds support for a name parameter, and adds the microformat if the parameter is given. A test is visible here. -- Para 14:33, 25 June 2007 (UTC)
I've disabled the editprotected request while discussion continues. Cheers. -- MZMcBride 05:31, 27 June 2007 (UTC)
Even if the name in the proposed template was hidden metadata, the specifications don't say that such data is prohibited. The microformats community failed to give a reference when Andy Mabbett requested for one, and (in his own words), "I've still seen no citation for any *prohibition* of hidden data in microformats". The single objection above is thus null and void. -- Para 09:57, 9 July 2007 (UTC)
Without changing any of the visible text, microformat the d.o.b. of Marc Blume (new article) to your satisfaction. Ditto for coord in Puerto Baquerizo Moreno (no tables allowed, no infoboxes). -- roundhouse0 17:02, 3 July 2007 (UTC)
{{ editprotected}} Add description how it works , copied from {{ Death date and age}} :
[[ {{{3}}}]] [[{{{1}}}]] (aged Error: Need valid year, month, day)
Returns a person's date of birth and his/her age .
Syntax: {{Birth date and age|year of birth|month of birth|day of birth}}
Example:
{{Birth date and age|1993|2|24}}
returns ( February 24, 1993
)
Note: The template will appear broken when the parameters are left blank (as seen above).
Also {{ Death date and age}} should be protected ( Gnevin 21:37, 3 April 2007 (UTC)) ( Gnevin 21:37, 3 April 2007 (UTC))
This is going to sound really anal retentive, but could somebody reduce the space in between the date and the age (ex. February 18, 1996 (age 11). See what I mean, there's two spaces there when there should only be one. 75pickup ( talk · contribs) 75pickup 04:35, 21 April 2007 (UTC)
I think this template should add a death part to it, so that it removes the age part, or died on day. Eg.
But this is my proposal
or someting like this
Thats my thoughts anyway. SpecialWindler 10:35, 29 April 2007 (UTC)
If you add a leading zero to the day it shows the leading zero in the results like {{Birth date and age|1993|02|01}}
February 1, 1993Adding a #expr (see Help:Calculation#Numbers_as_input) around the day statement will convert it to a number: {{ #expr: {{{3|{{{day|{{{3}}}}}}}}}}}
See an example on the Norwegian Wiki: no:Mal:Birth date and age. Nsaa 15:10, 12 May 2007 (UTC)
{{ 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 birth date and age
There was a brief discussion on the rational for making this change here: Template talk:Euro birth date#Suggested move.
{{#ifeq:{{{df}}}|yes|[[{{{3|{{{day|{{{3}}}}}}}}} {{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}}]]|[[{{MONTHNAME|{{{2|{{{month|{{{2}}}}}}}}}}} {{{3|{{{day|{{{3}}}}}}}}}]]}} [[{{{1|{{{year|{{{1}}}}}}}}}]]<span style="display:none"> (<span class="bday">{{{1|{{{year|}}}}}}-{{padleft:{{{2|{{{month|}}}}}}|2|0}}-{{pad2digit|{{{3|{{{day|{{{3}}}}}}}}}}}</span>)</span>{{selfref|1=<span class="noprint"> (age {{age | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span>|2=}}<noinclude>
I made a similar request at Template talk:Death date and age#Day first option.
-- Patleahy 00:01, 17 May 2007 (UTC)
I don’t think it would be possible to implement a template where the date is a single parameter. -- Patleahy 05:51, 18 May 2007 (UTC)
is it at all possible to add non-breaking space to prevent the unsightly linebreaks as illustrated below?
From this: 25 January 1980 (age 27) To this: 25 January 1980 (age 27)
-- emerson7 | Talk 00:34, 25 May 2007 (UTC)
{{
editprotected}} could someone please add an " " to the template to address the above concern...thanks. --
emerson7 |
Talk 17:28, 2 July 2007 (UTC)
Given WP:BLP#Privacy_of_birthdays, is there an alternative template that works on just the birth year? Ian Cairns 14:32, 27 May 2007 (UTC)
Please add ja:Template:生年月日と年齢. Thank you.-- Ko-ta 02:14, 14 June 2007 (UTC)
{{ editprotected}}
Please replace {{ Template:Birth date and age/doc}} with {{ template doc}}. Andy Mabbett 10:58, 3 July 2007 (UTC)
Why is this noprinting?:
<span class="noprint"> (age {{age | {{{1|{{{year|{{{1}}}}}}}}} | {{{2|{{{month|{{{2}}}}}}}}} | {{{3|{{{day|{{{3}}}}}}}}} }})</span>
What is the point of adding calculated age-as-of-now to an article and not letting people print that information as part of their hardcopy of the article? The fact that it disappears when printed is very likely to severely confuse most users, who do not understand CSS display capabilities. — SMcCandlish [ talk] [ cont] ‹(-¿-)› 14:47, 24 July 2007 (UTC)
{{
Editprotected}}
Please remove the <span class="noprint"> and </span>, per three days of waiting for a justification for it being there. Also, the font HTML element is deprecated anyway. Sloppy, 1997-style coding. Conforming edit probably needed at {{
Death date and age}}. —
SMcCandlish [
talk] [
cont] ‹(-¿-)› 17:01, 27 July 2007 (UTC)
The parentheses inside the display:none span appear to be misplaced and useless:
<span style="display:none"> (<span class="bday">{{{1|{{{year|}}}}}}-{{padleft:{{{2|{{{month|}}}}}}|2|0}}-{{pad2digit|{{{3|{{{day|{{{3}}}}}}}}}}}</span>)</span>
The evident point of the display:none span is to "make room" for the hCard "bday" span, which must have a bare ISO date format, while not actually displaying this, since we are using prior code to [[...]] wikiformat the date for display. Thus, it appears to me that we are generating parentheses as useless data/dead code. — SMcCandlish [ talk] [ cont] ‹(-¿-)› 14:47, 24 July 2007 (UTC)
Changing formats or styles to favour one over the other without a good reason is wiki-illegal under an ArbCom ruling based around describing years as AD or CE. This template favours American Dating over International Dating, and the removal of the "Euro" template has seen many articles where International Dating format is appropriate, now showing American Dating format for birthdates.
I propose to present a case aimed at removing the current bias. Wikipedia is supposed to have a strong commitment to internationalisation. -- Pete 00:54, 1 August 2007 (UTC)
Are we promoting internationalization for the sake of contributors, i.e., to make it easy for them to use the templates? Or as a manifestation of European anti-Americanism? There are plenty of Asian contributors who are comfortable with year-month-day order, not to mention all us computer programmers.
I'm shocked to here that something as simple and intuitive as a year-month-day standard is being described as "illegal".
I'm sure we can find a way to support day-month-year order for users who are more comfortable entering birthdates that way. I myself prefer month/day/year, but I desigined this template to support year-month-day as the default, because I didn't want there to be any "cross-pond" confusion (America and England, two countries separated by a common language ;-)
Cheers! -- Uncle Ed 22:45, 3 August 2007 (UTC)
Could I please ask that we discuss the point in displaying the age of a person on their article. There are numerous reasons that I can find to support removing this, and few I can find for keeping it.
Remove the age because:
Keep the age because:
Any thoughts? Conrad.Irwin 10:12, 5 August 2007 (UTC)