Template talk:Speciesbox
Template:Speciesbox 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 does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
|
||||
This page has archives. Sections older than 270 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
Error tracking when genus parameter (or first word in taxon parameter) isn't a genus?
At Peracle reticulata, the family Peraclidae had been put in |genus=
. A taxobox displayed, but with no genus and the binomial displaying as Peraclidae reticulata. It seems like this is something that should go in an error tracking category. Plantdrew (talk) 20:28, 16 November 2023 (UTC)
Not Evaluated
Is there a reason that 'Not Evaluated' appears differently from other statuses? It's the only one I've seen that is spelled in italics and does not link to its corresponding article. – Primium (talk) 15:50, 6 May 2024 (UTC)
- Never noticed that before, but I assume it is to distinguish it from an actual conservation status. 'Not recognised' is also italicised and 'Invalid status' is in italics and bold. Why is it not linked? Possibly it was considered self-explanatory when the templates were written and no one added link when the article was created. — Jts1882 | talk 16:13, 6 May 2024 (UTC)
- @Primium: I've linked the article and removed the italics for consistency, as the IUCN do list it as a category.
- I'll add that I'm not sure of the value of showing this in the taxobox. 'Not recognised' (see Southern giraffe) has even less value. In contrast Data deficient does provide some information. — Jts1882 | talk 16:48, 6 May 2024 (UTC)
Italics not rendering
Hello! I'm trying to use speciesbox for an article, Microhodotermes viator, and neither the name in the infobox nor the article's title is being automatically italicized by the template. I've worked around it with the Italic title template and by setting the name in the infobox with italic formatting, but as you can see in this version, without these hacks neither the article title nor the infobox name are italicized. Would appreciate any insight/help! Thanks very much :) ꧁Zanahary꧂ 05:07, 5 July 2024 (UTC)
- I see you sorted it out. A better way is to provide
|taxon=Microhodotermes viator
and the template will automatically handle the italics. You didn't provide|taxon=
or|genus=
+|species=
so it took the scientific name from the page title which doesn't get the italics handled. — Jts1882 | talk 08:26, 5 July 2024 (UTC)- Gotcha, thank you! I will do that. ꧁Zanahary꧂ 08:28, 5 July 2024 (UTC)
Template displayed slightly too high
This seems like a bug, although I can't see where it's occurring. This template is rendering about one line of text higher than a regular infobox does, on the desktop view.
On an article like Bluefish the top of the template is slightly higher than the first line of the lead, where a regular infobox would be slightly lower than it. Where an article has a problem template above the lead, like Muskellunge, the template actually overlaps it slightly. Belbury (talk) 09:19, 2 August 2024 (UTC)
- I assume you are using the default Vector 2022 skin. I think the problem is due to parser bug T18700 which inserts an extra
<p class="mw-empty-elt"></p>
above the taxobox, which shifts its position. The empty paragraph is place above the first paragraph of text and the taxobox floats to its right. You can edit the code with Inspect in the browser and deleting this paragraph restores the taxobox to its correct position. - Previously we got around the bug by adding a
<nowiki />
before the taxobox, which prevented the extra paragraph being inserted by the Wikimedia software (for reasons unknown). Unfortunately this solution doesn't work in Vector 2022, although it still works in other skins [edit: this might not be so]. One solution was the put the taxobox inside a div element, but this interferes with the position of the taxbox in mobile view (shifted below the first paragraph), which is a big no-no. - The ideal solution would be to fix the parser bug but as the bug was noted in 2008 I'm not holding my breath. — Jts1882 | talk 12:53, 2 August 2024 (UTC)
- For some reason the CSS for Vector 2022 has
.mw-body p + table {margin-top:-0.5em}
which shifts a table immediately after a paragraph upwards. The parser bug inserts an empty paragraph before the taxobox table which cause the shift upwards. I've modified the CSS for the taxobox core to restore the 0.5em margin. The CSS is heavily qualified so shouldn't affect anything else. — Jts1882 | talk 13:35, 2 August 2024 (UTC)- Well found! Thanks, that looks as it should for me now in Vector 2022. Belbury (talk) 13:50, 2 August 2024 (UTC)
- For some reason the CSS for Vector 2022 has
'synonyms' should be called 'alternative names'
In my humble opinion. Emdosis (talk) 23:45, 19 September 2024 (UTC)
- @Emdosis:, synonyms is a much more concise term for the faild, as the names listed are rarely/never "Alternates" in the sense that they are available to be used interchangeably with the accepted taxon name.--Kevmin § 11:59, 20 September 2024 (UTC)
Please add a customizable parameter
Bottom text. Emdosis (talk) 02:26, 20 September 2024 (UTC)
- @Emdosis:, please give some details of what the "bottom text" is needed for, and example page where you feel it will be useful.--Kevmin § 11:59, 20 September 2024 (UTC)
- The problem with a generic bottom text section is that people will start adding all sorts of stuff there. Some wikipedia have links to Wikidata, Wikispecies and Common in a footer section that is quite convenient. There is a debugging option in the module used for {{paraphyletic group}} and a few other edge case taxoboxes which we could use for testing if their is a special proposal. But in general I think any additional sections should have a specific function. — Jts1882 | talk 16:42, 20 September 2024 (UTC)