Module talk:TaxonItalics/moretestcases: Difference between revisions

Content deleted Content added
more logical position for a new test (with dab para)
some comments re new dab parameter
Line 2:
 
;Issues
* ABy default, a parenthesized part of a taxon name is assumed to be a subgenus, and so is italicized. This is correct for {{#invoke:TaxonItalics|main|Mus (Mus)|linked=yes}}, but not for {{#invoke:TaxonItalics|main|CaiaMus (plantsubgenus)|abbreviated=no|linked=yes}}. The disambiguation term can be left unitalicized by using {{para|dab|yes}}. Can these two cases be distinguished automatically?
* "Quoted" genus names are not handled correctly. In {{#invoke:TaxonItalics|main|"Dryosaurus" grandis|abbreviated=no|linked=yes}} and {{#invoke:TaxonItalics|main|"Dryosaurus" grandis|abbreviated=yes|linked=no}}, the double quote marks should ideally not be italicized.
* What about <code><nowiki>{{#invoke:TaxonItalics|main|Felis|abbreviated=yes|linked=no}}</nowiki></code> → {{#invoke:TaxonItalics|main|Felis|abbreviated=yes|linked=no}} – doesn't abbreviate unless it appears to be a binomial.
 
{| class="wikitable"