Template talk:Category described in year

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

{{Taxonbar}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)

WikiProject iconTree of Life Template‑class
WikiProject iconThis template is within the scope of WikiProject Tree of Life, a collaborative effort to improve the coverage of taxonomy and the phylogenetic tree of life on Wikipedia. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.
TemplateThis template does not require a rating on Wikipedia's content assessment scale.

Minimum year[edit]

@Tom.Reding: at Module:Category described in year the documentation says that if yearmin isn't specified it defaults to 1758. So why does Category:Crustaceans described in 1758 show earlier years? Peter coxhead (talk) 09:03, 1 November 2018 (UTC)[reply]

Peter coxhead, I've been meaning to phase that out (lower priority though). The only reason it was there was for the old nav template {{Category in year}}, but that was replaced with {{Navseasoncats}}, which doesn't use/need a |yearmin= or equivalent, but that can be added as a feature, if desired. Personally, I like the consistent size of the nav box as you approach both extremes, i.e. Category:Crustaceans described in 1758 & Category:Crustaceans described in 2018, since it maintains the pattern of what year will show up under your mouse while navigating, and keeps the same size box.   ~ Tom.Reding (talkdgaf)  12:05, 1 November 2018 (UTC)[reply]
The counter argument is that there cannot be any years before 1753/1758 depending on the group, but the presence of these years, even greyed out, suggests that there could be. I understand the point about keeping the constant size of the nav box, but this could be kept even if the early years are fixed not to display. Peter coxhead (talk) 17:00, 1 November 2018 (UTC)[reply]
Peter coxhead, I've mocked up a few examples here. Let me know which one you think is most appropriate, or if anything better comes to mind.   ~ Tom.Reding (talkdgaf)  01:00, 2 November 2018 (UTC)[reply]
I like the "whitespace + dots" approach. I've suggested there another way of achieving the effect, using visibility:hidden. This ensures that the width is constant, regardless of the user's font settings, which using &nbsp; may not. It may also be easier to implement: just surround any year less than the mininum by <span style="visibility:hidden"> .. </span>. Peter coxhead (talk) 10:22, 2 November 2018 (UTC)[reply]
 Done   ~ Tom.Reding (talkdgaf)  17:20, 2 November 2018 (UTC)[reply]
Tom.Reding great, thanks! Peter coxhead (talk) 19:10, 2 November 2018 (UTC)[reply]

Multiline table in list lint error[edit]

This template generates a Multiline table in list lint error for each year that the Wikipedia commons category exists, viz: 1753, 1831, 1877, 1891. Please fix. —Anomalocaris (talk) 22:09, 23 August 2021 (UTC)[reply]

Extra insect groups[edit]

I have tried to add extra categories for example Category:Ants described in 1758 and it seems to add it to both Category:Animals described in 1758 and Category:Insects described in 1758. Is there any way to only place it in the insect category, like with the beetles, butterflies and moths? Elspooky (talk) 11:58, 30 July 2022 (UTC)[reply]