Content deleted Content added
another example |
No edit summary |
||
Line 1:
See also [[Module talk:TaxonItalics/testcases]].
;Issues
* 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|Caia (plant)|abbreviated=no|linked=yes}}. Can these be distinguished automatically?
* "Quoted" genus names are not handled correctly. In {{#invoke:TaxonItalics|main|"Dryosaurus" grandis|abbreviated=no|linked=yes}}, the double quote marks should ideally not be italicized. In {{#invoke:TaxonItalics|main|"Dryosaurus" grandis|abbreviated=yes|linked=no}} and {{#invoke:TaxonItalics|main|"Dryosaurus"|abbreviated=yes|linked=no}}, the abbreviation should be done.
{| class="wikitable"
Line 52 ⟶ 56:
|-
|<nowiki>{{#invoke:TaxonItalics|main|Acer tataricum subsp. ginnala|abbreviated=yes|linked=yes}}</nowiki> || {{#invoke:TaxonItalics|main|Acer tataricum subsp. ginnala|abbreviated=yes|linked=yes}}|| {{#invoke:TaxonItalics/sandbox|main|Acer tataricum subsp. ginnala|abbreviated=yes|linked=yes}}
|-
|<nowiki>{{#invoke:TaxonItalics|main|Caia (plant)|abbreviated=no|linked=yes}}</nowiki> || {{#invoke:TaxonItalics|main|Caia (plant)|abbreviated=no|linked=yes}}|| {{#invoke:TaxonItalics/sandbox|main|Caia (plant)|abbreviated=no|linked=yes}}
|}
|