Misplaced Pages

Template talk:Taxobox

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

This is an old revision of this page, as edited by PK2 (talk | contribs) at 11:02, 29 June 2024 (Template-protected edit request on 29 June 2024: new section). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Revision as of 11:02, 29 June 2024 by PK2 (talk | contribs) (Template-protected edit request on 29 June 2024: new section)(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:
WikiProject iconTree of Life
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 Misplaced Pages. If you would like to participate, please visit the project page, where you can join the discussion and see a list of open tasks.Tree of LifeWikipedia:WikiProject Tree of LifeTemplate:WikiProject Tree of Lifetaxonomic
Microformats
Taxobox is part of, or of interest to, WikiProject Microformats, which encourages the deployment of microformats in Misplaced Pages, and documents them in the article space. If you would like to participate, visit the project page.MicroformatsWikipedia:WikiProject MicroformatsTemplate:WikiProject MicroformatsMicroformats

Archiving icon
Archives
Archive 1Archive 2Archive 3
Archive 4Archive 5Archive 6
Archive 7Archive 8Archive 9
Archive 10Archive 11Archive 12
Archive 13Archive 14Archive 15
Archive 16Archive 17Archive 18
Archive 19Archive 20Archive 21
Archive 22Archive 23Archive 24
Archive 25Archive 26Archive 27
Archive 28Archive 29Archive 30
Archive 31


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)

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)

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

It is requested that an edit be made to the template-protected template at Template:Taxobox/core.
(edit · history · last · links · sandbox · edit sandbox · sandbox history · sandbox last edit · sandbox diff · test cases · transclusion count · protection log)

This template must be followed by a complete and specific description of the request, so that an editor unfamiliar with the subject matter could complete the requested edit immediately.

Edit requests to template-protected pages should only be used for edits that are either uncontroversial or supported by consensus. If the proposed edit might be controversial, discuss it on the protected page's talk page before using this template. Consider making changes first to the template's sandbox and test them thoroughly here before submitting an edit request. To request that a page be protected or unprotected, make a protection request. When the request has been completed or denied, please add the |answered=yes parameter to deactivate the template.

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)

Categories: