This is an old revision of this page, as edited by Plantdrew (talk | contribs) at 14:27, 29 June 2024 (→Template-protected edit request on 29 June 2024: Reply). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Revision as of 14:27, 29 June 2024 by Plantdrew (talk | contribs) (→Template-protected edit request on 29 June 2024: Reply)(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)To help centralize discussions and keep related topics together, all Taxobox subpage talk pages should redirect here. |
Template:Taxobox 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 Misplaced Pages's content assessment scale. It is of interest to the following WikiProjects: | |||||||||||||||
|
Archives |
|
This page has archives. Sections older than 30 days may be automatically archived by Lowercase sigmabot III when more than 4 sections are present. |
COSEWIC DD
@Jts1882, Spacepotato, and Pengo: COSEWIC's website says DD is a valid status. We should update our graphics and taxobox to handle it. Please? :) Ijust fixed Arctic wolf to correctly list COSEWIC (when it was listing a full link) and the DD turned into "invalid". - UtherSRG (talk) 17:17, 23 January 2024 (UTC)
- I've added support for DD to the taxobox, but left it without an image. This would have to be created especially and is more than just adding a colour to the blank image template. — Jts1882 | talk 17:38, 23 January 2024 (UTC)
- Understood, and thanks! - UtherSRG (talk) 18:01, 23 January 2024 (UTC)
- I'd recommend using a blank COSEWIC with "Data Deficient" below:
- Data Deficient
- which would match Misplaced Pages's IUCN DD graphic, e.g. see Allen's spotted bat
- If you're wondering why it's like that for IUCN's, I deliberately left out "DD" and "NE" from the image. I'm no graphic designer, but when I made it I wanted to keep it simple and easy to glance, so I chose not to include a separate circle for IUCN's "DD" status because it would stop the circles being in order of threat status, and would make the graphic more confusing (it would be like replacing a fuel gauge with a bunch of indicator lights). Having no filled circle communicates "We don't know", and having no graphic at all communicates "Not evaluated". I should mention that when IUCN made their own graphic they did include NE and DD though (and put Extinct on the right side, making it feel like every species is in an inevitable march towards extinction). —Pengo 23:52, 23 January 2024 (UTC)
- I'd have a go at fixing it but I don't want to mess up 75,000 articles today, and I have no idea how this template works any more. I'm in awe that it continues to exist. —Pengo 00:05, 24 January 2024 (UTC)
- I've followed your suggestion. The template where it is set is {{taxobox/species}}, not one of the most intuitively named templates. — Jts1882 | talk 07:02, 24 January 2024 (UTC)
- Y'all are the best! Much thanks! - UtherSRG (talk) 12:02, 24 January 2024 (UTC)
- I've followed your suggestion. The template where it is set is {{taxobox/species}}, not one of the most intuitively named templates. — Jts1882 | talk 07:02, 24 January 2024 (UTC)
- I'd have a go at fixing it but I don't want to mess up 75,000 articles today, and I have no idea how this template works any more. I'm in awe that it continues to exist. —Pengo 00:05, 24 January 2024 (UTC)
TemplateStyles tag generates empty paragraph
@Jdlrobson: Blue petrel has an empty paragraph containing a style tag at the top because of this edit adding a TemplateStyles tag to {{taxobox/core}}
on an empty line before the table. One way to prevent the creation of a paragraph would be to put the style tag after the |}
like this. — Eru·tuon 14:15, 18 April 2024 (UTC)
Template-protected edit request on 1 May 2024
This edit request to Template:Taxobox/core has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Move <templatestyles src="Template:Taxobox/core/styles.css" />
from the top of the template to the bottom, immediately after |}
, with no intervening characters.
This will prevent taxoboxes from adding an empty paragraph tag that contains an empty style tag (<p><style data-mw-deduplicate="...">...</style></p>
) which is visible as extra space before the lede. The ExpandTemplates link in #TemplateStyles tag generates empty paragraph demonstrates that the placement right after the close of the table works. — Eru·tuon 23:08, 1 May 2024 (UTC)
- Done. The effect can be seen both in Blue petrel and in the testcases. For previewing the sandbox version in Blue petrel, a change in Template:Speciesbox/sandbox was required. —andrybak (talk) 23:45, 1 May 2024 (UTC)
- Iirc, placing the templatestyles before the taxobox would allow us to remove the
nowiki
due parser bug T18700.— Jts1882 | talk 06:06, 2 May 2024 (UTC)
- Iirc, placing the templatestyles before the taxobox would allow us to remove the
Conversion of this template to use {{infobox}}
I converted the sandbox version of this template to use {{infobox}} to the best of my abilities, but I couldn't figure out how to make {{taxobox/species}} and {{taxonomy}} look and function exactly the same on the sandbox version of this template as on the original version. PK2 (talk) 05:50, 10 June 2024 (UTC)
Template-protected edit request on 29 June 2024
This edit request to Template:Taxobox/core has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Can someone please convert {{taxobox/core}} to use {{infobox}}, like on the majority of other infobox templates? I converted the sandbox version of that template to use {{infobox}} to the best of my abilities three weeks ago on revision 1228241665, but I couldn't figure out how to make {{taxobox/species}} and {{taxonomy}} look and function exactly the same on the sandbox version of that template as on the original version. PK2 (talk; contributions) 11:02, 29 June 2024 (UTC)
- What advantage is there in converting to using {{infobox}}? The {{taxobox}} template predates the infobox system and works effectively. — Jts1882 | talk 12:20, 29 June 2024 (UTC)
- One potential DISadvantage is that text in infoboxes is smaller than text in the body of the article. Most text in taxoboxes is the same size as text in the body of the article, but authorities are usually rendered in smaller text (either via code in the taxobox template for parameters such as
|binomial_authority=
, code in other templates such as {{Species list}}, or HTML <small> tags). If taxoboxes used the default smaller text of infoboxes, the authorities would be "double smalled", a size which violates accessibility guidelines. Plantdrew (talk) 14:27, 29 June 2024 (UTC)
- One potential DISadvantage is that text in infoboxes is smaller than text in the body of the article. Most text in taxoboxes is the same size as text in the body of the article, but authorities are usually rendered in smaller text (either via code in the taxobox template for parameters such as
- Not done for now: Your work in the sandbox is appreciated and looks very challenging. For now, it appears that a consensus needs to be established for this major change. Please garner the needed consensus before using the
{{edit template-protected}}
template again. Thank you very much for your work! P.I. Ellsworth , ed. 14:27, 29 June 2024 (UTC)