Module talk:Biota infobox

(Redirected from Module talk:Biota infobox/sandbox)
Latest comment: 45 minutes ago by Jts1882 in topic Extraneous blank line

Disambiguation edit

@Jts1882 This module apparently (the documentation is, shall we say, less than complete) allows for a parameter 'species_link' that allows one to override the default link to an article titled "Genus species"; so if "Genus species" is a disambiguation page we can link to the title of the actual article about the particular species. Great! But this doesn't work for subspecies -- example: Puma concolor couguar is a disambiguation page. It is desired that the link in the infobox on Florida panther, for example, should point to North American cougar, but there is no module parameter that allows doing this. Hope this is clear. --R'n'B (call me Russ) 16:27, 27 March 2024 (UTC)Reply

@R'n'B: Support for |subspecies_link= add for {{Population taxobox}}. —  Jts1882 | talk  17:22, 27 March 2024 (UTC)Reply

Extraneous blank line edit

at the top of Monkey -- could it be a bug in the present module? fgnievinski (talk) 02:37, 5 June 2024 (UTC)Reply

@Fgnievinski: Thanks for pointing this out. It looks like a reemergence of parser bug T18700 after recent changes to the Wikimedia software. This introduces the empty paragraph before the taxobox. The workaround was to precede the taxobox with <nowiki/> or a templatestyles element. However now they produce an empty paragraph or a paragraph with the templatestyles output. This seems to affect all the taxobox templates, including {{automatic taxobox}} and {{speciesbox}}, which don't use this module. @Peter coxhead: have you seen this?
On mobile, the taxoboxes (as well as other the infoboxes) are now pushed down below the first paragraph. The spurious empty paragraph precedes the first paragraph of the lede. On a related note the appearance of the taxoboxes in mobile is horrible after the recent changes. At least this should be something that can be fixed with CSS.  —  Jts1882 | talk  08:13, 5 June 2024 (UTC)Reply
@Jts1882: yes, I saw this. It does look like a bug (re)introduced during recent changes. Sigh... Peter coxhead (talk) 15:58, 5 June 2024 (UTC)Reply
@Peter coxhead: It looks like the empty paragraph can be removed by wrapping the table in {{taxobox/core}} in div tags. I fortuitously stumbled on this solution as the {{clade}} template isn't getting those empty paragraphs (it also needed the nowiki trick). The reason is because I recently wrapped the {{clade}} template in div tags, so that I could add an overflow element in mobile view and Vector 2022, where wide cladograms were overlapping the right hand menus. The Vector 2022 upgrade has broken a lot of stuff.  —  Jts1882 | talk  16:17, 5 June 2024 (UTC)Reply