Template talk:Start date and age
This template was considered for deletion on 2016 February 7. The result of the discussion was "keep". |
|
|
This page has archives. Sections older than 720 days may be automatically archived by Lowercase sigmabot III when more than 3 sections are present. |
Removal of {{Error}}
editWbm1058, to answer the question in Special:Diff/1099411584 – the problem is visible on every page that uses it. Please take a look at Template:Start date and age/testcases. —andrybak (talk) 16:52, 20 July 2022 (UTC)
- Thanks andrybak. Sorry I did not check the test cases. My bad. wbm1058 (talk) 16:57, 20 July 2022 (UTC)
- Doh. I removed
{{error
but neglected to remove the closing}}
– wbm1058 (talk) 17:04, 20 July 2022 (UTC)
I have a change ready in the sandbox which will just return blank when parameters 1, 2, and 3 are all missing. Editors are pulling Wikidata to use for this template's parameters and often there is no date in Wikidata. This is considered "normal" so returning an error has been problematic. For example in the Python (programming language) infobox. I was reverted after I removed Wikidata-filled parameters where Wikidata was not returning any "latest preview date". See the relevant test cases. The new behavior is to only show the error when parameter 1 is missing and parameter 2 and/or 3 are not missing. If there are no timely objections I will make the sandbox code go live. – wbm1058 (talk) 18:22, 20 July 2022 (UTC)
Template-protected edit request on 26 April 2023
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
I think we need prehistoric years (0BC and before) to be included. 50.39.178.57 (talk) 03:56, 26 April 2023 (UTC)
- Not done for now: please establish a consensus for this alteration before using the
{{Edit template-protected}}
template. BilCat (talk) 04:03, 26 April 2023 (UTC) - Also: (i) there is no such year as 0BC - the year before AD 1 is 1 BC; (ii) that is not the meaning of "prehistoric". --Redrose64 🌹 (talk) 16:21, 26 April 2023 (UTC)
- It's possible to use a negative year:
-2833
- But "2833 BC" as output would be better. --Kallichore (talk) 21:01, 26 April 2023 (UTC)
- Not done. This is a documented limitation of the template, for reasons outside of the template's control. – Jonesey95 (talk) 22:39, 26 April 2023 (UTC)
Use outside infoboxes
editTemplate:Start date#When not to use this template explicitly states that it is not to be used outside microformat-emitting templates or table rows. Does the same restriction apply here? If so, why isn't it documented? --Redrose64 🌹 (talk) 22:22, 10 August 2024 (UTC)