There are a few taxonomic reference templates that need italicization functionality added:
{{R:AlgaeBasetax}}
- noi{{R:AmphibiaWebsp}}
- always italics{{R:Animal Diversity Web}}
- noi{{R:AviBase}}
- noi{{R:Brassibase}}
- i{{R:BugGuide}}
- i{{R:EPPO}}
- noi{{R:Fishbase}}
- noi{{R:FNA}}
- i{{R:Fossilworks}}
- i{{R:GRIN species}}
- always italics{{R:Gymnosperms}}
- noi{{R:ION}}
- noi{{R:IONq}}
- noi{{R:IUCN}}
- noi{{R:LPSN}}
- always italics{{R:PaleoDB}}
- iI don't know about other errors that may also lurk in usage of these templates. DCDuring (talk) 18:16, 20 February 2024 (UTC)
{{R:Animal Diversity Web}}
), some never italacize ({{R:ION}}
), and others always italacize unless |noi=
is used ({{R:AviBase}}
, only used on goldcrest). If these are italacized much more often that they're not italacized, should they just default to using italics unless |noi=1
instead of requiring |i=
everywhere? Or, even easier, just let them all be italacized all of the time and remove all of the existing |i=
and |noi=
params? JeffDoozan (talk) 14:01, 13 March 2024 (UTC)
Templates that only italicize with |i=
(usually i=)
{{R:ITIS}}
- i= used on 1,972 of 2,811 pages{{R:COL}}
- i= used on 437 of 527 pages{{R:EOL}}
- i= used on 2234 of 3223 pages{{R:NCBI}}
- i= used on 2436 of 3471 pages{{R:GRIN}}
- i= used on 920 of 975 pages{{R:TPL}}
- i= used on 1420 of 1464 pages{{R:Animal Diversity Web}}
- i= used on 192 of 208 pagesTemplates that only italicize with |i=
{{R:Fossilworks}}
- i= used on 452 of 948 pages{{R:PaleoDB}}
- i= used on 50 of 1032 pagesTemplates that always italicize
{{R:Brassibase}}
- always i, 90{{R:LPSN}}
- always i, 142{{R:USDA Plants}}
- always i, 1924Templates that never italicize
|noi=
{{R:AlgaeBasetax}}
- never i, 127{{R:AmphibiaWebsp}}
- never i, 3{{R:BugGuide}}
- never i, 83{{R:EPPO}}
- never i, 4{{R:FNA}}
- never i, 5{{R:GRIN species}}
- never i, 5{{R:Gymnosperms}}
- never i, 49{{R:ION}}
- never i, 28{{R:IONq}}
- never i, 31{{R:IUCN}}
- never i, 1Templates that italicize unless |noi=
{{R:AviBase}}
{{R:Fishbase}}
@DCDuring For simplicity, I think we should pick one system and apply it to all of the taxon reference templates (let me know if there are more that aren't on the above list). Looking at the current use of the templates, most of the existing calls include |i=
so the links are already italicized most of the time. Since they're usually italicized, I propose that we make them italacize by default unless |noi=
is specified and use the bot to add/remove the noi/i as needed. What do you think? The only sticking point I see to this is JeffDoozan/lists/template params/errors at Paleobiology Database, which is overwhelmingly not-italacized, even though calls to JeffDoozan/lists/template params/errors at Paleobiology Database, which is a redirect to JeffDoozan/lists/template params/errors at Paleobiology Database, are italacized a little more than half of the time. JeffDoozan (talk) 18:26, 20 March 2024 (UTC)
|i=1
to italicize now italicize by default and use |noi=1
to disable italicization, so no more typing |i=1
manually on every template - in fact, the templates will now warn you if you apply the wrong parameter. I've added/removed the necessary params with the bot and updated the documentation on each of the templates accordingly. JeffDoozan (talk) 22:57, 24 March 2024 (UTC)
{{vern}}
etc.I would love to have the complete list of entries with errors in {{vern}}
, sorted by type of error, if that is easy to do. I would be happy to do the less-frequent ones manually.
I have stricken through taxon-related templates where I have corrected all errors (ie, those with 10 or fewer, but more than one). DCDuring (talk) 18:16, 20 February 2024 (UTC)
|pedia=1
, which is the default, so I removed that with the bot earlier today. I adjusted the report to include up to 20 bad entries, so the remaining vern errors now all fit on the page. JeffDoozan 19:37, 20 February 2024 (UTC)
|dis=
: should that functionality that should be added to the template, should the param be removed from template calls, should it be preserved but flagged in some way as "collected but unused data"? I have no idea, and I suspect the answer for {{vern}}
is different than the answer of other templates. I hope that through this effort the community can find some easy spots to improve templates to match user expectations, like what you listed above with |i=
and come to some consensus on what should be done with the remaining data. In the future, I'd love to have support for generating a warning that editors can see when previewing the page so that they, who are in the best position to know their intentions, can make the decision themselves. JeffDoozan (talk) 15:50, 21 February 2024 (UTC)
{{vern}}
: the disease names that interested me are those that are caused by specific organisms and can rarely be called 'vernacular'.There are some 6,700 pages that have {{taxlink}}
and have 'noshow=1'. 'Noshow' has not been used for quite some time (several years) and does not appear in the template's code. I was surprised that it did not come up in your run. Perhaps you only went after templates that used code in module space?
In any event, I would be obliged if you could remove all instances of 'noshow' appearing as a parameter in {{taxlink}}
. I have been removing instances in the course of other corrections to taxonomic and other entries, but it may be years before I find them all. DCDuring (talk) 20:02, 22 February 2024 (UTC)
|noshow=1
from {{taxlink}}
, which wasn't included in the list because it called Module:italics. Modules invoked by templates can access all of the parameters passed to the template, so it's impossible to know if a param is "ununused" without manually checking verifying that the module doesn't use it. It looks like Module:italics does not make use of any parameters, so I added it to the list of allowed invocations and {{taxlink}}
is now included in on the page (I configured it to ignore noshow, since the bot is fixing that and not to truncate taxlink, so you can see all of the errors). The bot can fix parameter typos easily so if you see multiple typos it might be faster to add them here instead of fixing them manually. JeffDoozan (talk) 22:55, 22 February 2024 (UTC)