User:Peter coxhead/Autotaxobox italicization cases

Automatic taxobox

edit
Possible cases
Page title Name value present Page title action Name value action Examples
Uninomial, above genus no No italics No italics Apocynaceae, Ecdysozoa
Uninomial, above genus yes No italics Use value Carnivora
Uninomial disambiguated, above genus no No italics No italics Ponerinae (plant)
Uninomial disambiguated, above genus yes No italics Use value ??
Uninomial, genus or below no Italicize Italicize Araneus, Brodiaea, Nannomys
Uninomial, genus or below yes Italicize Use value Taraxacum
Uninomial disambiguated, genus or below no Italicize but not dab term Italicize taxon name omitting dab term Semele (plant), Arachosia (spider), Mus (subgenus)
Uninomial disambiguated, genus or below yes Italicize but not dab term Use value ??
Two word animal subgenus no Italicize both parts Italicize both parts
using |italic_title=taxon
Varanus (Odatria), Camponotus (Dendromyrmex)
Two word animal subgenus yes Italicize both parts Use value ??
Botanical connecting term no Italicize but not connecting term Italicize but not connecting term Aechmea subg. Chevaliera, Banksia ser. Banksia
Botanical connecting term yes Italicize but not connecting term Use value Prunus subg. Cerasus
Not scientific name no No italics No italics Cactus, Fangtooth, Velvet spider
Not scientific name yes No italics Use value ??

Speciesbox

edit

All tested with 5 October 2021‎ version of Automated taxobox.speciesboxName().

Possible cases
Page title Name value present Page title action Name value action Examples
Species no Apply taxon italics Set to species Eucrosia aurantiaca, Grevillea × gaudichaudii
Species yes Apply taxon italics Use value Alsophila manniana, Helianthus × laetiflorus, Polygonia c-aureum
Species (disambiguated no Apply taxon italics Set to species Ficus variegata (plant)
Genus (monotypic) no Apply taxon italics Set to genus Agdestis, × Astrolista
Genus (monotypic) yes Apply taxon italics Use value × Reyllopia
Genus (monotypic, disambiguated) no Apply taxon italics Set to undisambiguated genus Should not occur, but there are cases as of 5 Oct 2021, e.g. Tristania (plant), Bromius (beetle)
Genus (monotypic, disambiguated) yes Apply taxon italics Use value (should not occur, but might be cases)
Not species or genus no No action Set to page title Borage, Brant (goose)
Not species or genus yes No action Use value Dragon's mouth (?should be moved to "Dragon's mouth orchid")
Manual formatting of page title needed Mispila (Dryusa) coomani, Mispila (Mispila) coomani – but both shouldn't exist