Jump to content
 







Main menu
   


Navigation  



Main page
Contents
Current events
Random article
About Wikipedia
Contact us
Donate
 




Contribute  



Help
Learn to edit
Community portal
Recent changes
Upload file
 








Search  

































Create account

Log in
 









Create account
 Log in
 




Pages for logged out editors learn more  



Contributions
Talk
 



















Contents

   



(Top)
 


1 What if we only know the year of Birth?  
2 comments  




2 An error  
2 comments  




3 Age calc?  
4 comments  




4 Tracking Category added incorrectly (fixed)  
2 comments  













Template talk:Birth date and age




Page contents not supported in other languages.  









Template
Talk
 

















Read
Edit
Add topic
View history
 








Tools
   


Actions  



Read
Edit
Add topic
View history
 




General  



What links here
Related changes
Upload file
Special pages
Permanent link
Page information
Get shortened URL
Download QR code
 




Print/export  



Download as PDF
Printable version
 
















Appearance
   

 






From Wikipedia, the free encyclopedia
 



What if we only know the year of Birth?

[edit]

I want to add the date of birth to this article but the input requires me to know the exact date of birth, I only know the year. How can i make the code work? PreserveOurHistory (talk) 05:38, 16 October 2022 (UTC)[reply]

@PreserveOurHistory: See {{Birth year and age}}. More options are available—see the bottom of the documentation at {{Birth year and age}}. Johnuniq (talk) 06:11, 16 October 2022 (UTC)[reply]

An error

[edit]

There is an error at the end of "Examples" section. It needs to be fixed up. – Hamid Hassani (talk) 06:12, 11 November 2023 (UTC)[reply]

I edited the documentation to explain that "Feb." (with a dot) gives an error. Johnuniq (talk) 06:46, 11 November 2023 (UTC)[reply]

Age calc?

[edit]

Kiri Te Kanawa turned 80 today. Why does the calculation from 6 March 1944 result in 79 (while 5 March 1944 results in 80)? -- Gerda Arendt (talk) 12:56, 6 March 2024 (UTC)[reply]

And now that I looked again it was correct, but I'm quite sure I saw 79 a minute ago. - Cashed version perhaps? --Gerda Arendt (talk) 12:58, 6 March 2024 (UTC)[reply]

Pages only update when they are purged. That normally happens when someone edits a page and saves a change. If no change is needed but you need to update the page, click edit at the top and then Publish. Do not enter an edit summary. Nothing appears to happen (there is no change to the page history) but the displayed page is regenerated and that means all the templates are re-evaluated. That will cause the correct date calculations to be used. Johnuniq (talk) 09:21, 7 March 2024 (UTC)[reply]
@Johnuniq: What you describe (click edit, make no changes and save) is not a purge but a WP:NULLEDIT. Whilst this will work to update an age, it's not required - a WP:PURGE is sufficient. That page describes some ways of carrying out a purge. Personally I've enabled "Add a "Purge" option to the top of the page, which purges the page's cache" at Preferences → Gadgets. --Redrose64 🌹 (talk) 22:42, 8 March 2024 (UTC)[reply]

Tracking Category added incorrectly (fixed)

[edit]

Anne van Aaken uses this template and gets the category en:Category:Date of birth not in Wikidata added (see its page information), despite the Date of Birth actually existing on the linked Wikidata Item: d:Q22236485. On the other hand, I've just added the date of birth to the Wikidata Item for Royce Adams (politician): d:Q124357417, and the wiki page no longer has that category, so something still seems to be working. I looked at the template, but I'm not sure what is wrong. Anyone any idea what might be going on with Anne van Aaken?Zvpunry (talk) 16:16, 14 March 2024 (UTC)[reply]

Nevermind. It turns out someone had added that category to the article manually. I've fixed it. Zvpunry (talk) 16:31, 14 March 2024 (UTC)[reply]

Retrieved from "https://en.wikipedia.org/w/index.php?title=Template_talk:Birth_date_and_age&oldid=1228404871"

Categories: 
Template-Class Time articles
High-importance Time articles
 



This page was last edited on 11 June 2024, at 01:55 (UTC).

Text is available under the Creative Commons Attribution-ShareAlike License 4.0; additional terms may apply. By using this site, you agree to the Terms of Use and Privacy Policy. Wikipedia® is a registered trademark of the Wikimedia Foundation, Inc., a non-profit organization.



Privacy policy

About Wikipedia

Disclaimers

Contact Wikipedia

Code of Conduct

Developers

Statistics

Cookie statement

Mobile view



Wikimedia Foundation
Powered by MediaWiki