Template talk:Decadebox
[[tr:Şablon tartışma:Onyılkutu]]
(link to Turkish template (under construction))
Correction of first decade of each century
Please, move 2000–2009 to 2000s (decade) (and also 1900–1909 to 1900s (decade), 1800–1809 to 1800s (decade), etc.) in this template. Thanks! James Michael 1 (talk) 04:20, 21 June 2009 (UTC)
- Probably should be done. Thanks for the suggestion. — Arthur Rubin (talk) 19:33, 22 September 2009 (UTC)
- Also, {{Decadebox|199}} (correctly) produces a link to 2000s (decade) in the Decades row, whereas {{Decadebox|209}} produces a link to 2100s in the same row. The latter link should be 2100s (decade). Gap9551 (talk) 19:54, 31 December 2015 (UTC)
Adding short description
Could someone more proficient with template editing than me add a short description to this template? I think the best format would probably be e.g. "Decade from 1830 to 1839". Sdkb (talk) 22:07, 2 January 2020 (UTC)
- @Sdkb: Probably not a good idea. This template produces a sidebar-like navigation box. Why would one also expect it to set a page's short description? Any other page that transcludes this could have its shortdesc unexpectedly changed. On a side note, I think simply "decade" would be better. The title of the article makes it fairly clear what range is covered (off-by-one doesn't really matter for gross article identification purposes anyway). –Deacon Vorbis (carbon • videos) 22:34, 2 January 2020 (UTC)
- @Deacon Vorbis: Hmm, is there another template that could be used to standardize the short descriptions for all the decades, then? Sdkb (talk) 22:44, 2 January 2020 (UTC)
- So, after thinking about this a bit more, I'm less sure. There are some random pages that transclude this as examples that shouldn't have their short descs mucked about with. Although there are some templates that do this already. See Category:Templates that generate short descriptions for a list (for those that are good and declare it at least). I think there's also some question about if these should even be overriding the Wikidata-pulled values. Anyway, maybe it would be a good idea to ask at the WikiProject talk page and see if they have any advice. –Deacon Vorbis (carbon • videos) 23:15, 2 January 2020 (UTC)
- @Deacon Vorbis: Hmm, is there another template that could be used to standardize the short descriptions for all the decades, then? Sdkb (talk) 22:44, 2 January 2020 (UTC)
EDIT REQUEST: Decadebox Century mistake
Hi, as you can see in pages like 2000s, currently the decadebox template says that the year 2000 is part of the 21st century, the year 1900 part of the 20th century, etc.
However, contrary to popular assumptions, the Gregorian calendar isn't 0-index; we have 1 BC and 1 AD, but no year 0; as such the first century is year 1 to year 100, second is year 101 to year 200 (...), twentieth century is January 1st 1901 to December 31st 2000.[1], 21st century is January 1st 2001 to December 31st 2100.
Could you fix this? Templates are protected so I can't :)
Xland44 (talk) 15:05, 12 February 2022 (UTC)
References
- ^ https://www.latimes.com/archives/la-xpm-1988-03-16-vw-835-story.html.
{{cite news}}
: Missing or empty|title=
(help)
Unnecessary listing of years and linking to redirects
This template creates links to pages which are simply redirects back to the decade article. For example, there are no articles on years in the 700s BC, but 720s BC links to ten redirects. Likewise, on 740s BC this template lists the years without linking any. This seems redundant to the article intro, which specifies the years contained within the decade.
It would be nice if the template could auto-detect redirects and not link to them, but at the very least it seems we could put a numerical lower and upper limit for which decades the individual years should be listed. -- Beland (talk) 19:40, 7 January 2025 (UTC)