Template talk:Birth date and age
Please place new discussions at the bottom of the talk page. |
This is the talk page for discussing improvements to the Birth date and age template. |
|
Archives: Index, 1, 2, 3, 4Auto-archiving period: 2 months |
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Template:Birth date and age is permanently protected from editing because it is a heavily used or highly visible template. Substantial changes should first be proposed and discussed here on this page. If the proposal is uncontroversial or has been discussed and is supported by consensus, editors may use {{edit template-protected}} to notify an administrator or template editor to make the requested edit. Usually, any contributor may edit the template's documentation to add usage notes or categories.
Any contributor may edit the template's sandbox. Functionality of the template can be checked using test cases. |
This template was considered for deletion on 2007 November 8. The result of the discussion was "keep". |
This template was considered for merging with Template:birth-date and age on 2016 July 24. The result of the discussion was "no consensus". |
Index
|
||||
This page has archives. Sections older than 60 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
What if we only know the year of Birth?
editI 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)
- @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)
An error
editThere is an error at the end of "Examples" section. It needs to be fixed up. – Hamid Hassani (talk) 06:12, 11 November 2023 (UTC)
- I edited the documentation to explain that "Feb." (with a dot) gives an error. Johnuniq (talk) 06:46, 11 November 2023 (UTC)
Age calc?
editKiri 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)
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)
- 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)
- @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)
Tracking Category added incorrectly (fixed)
editAnne 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)
- 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)