Jump to content

Module talk:TaxonItalics/testcases

Page contents not supported in other languages.
From Wikipedia, the free encyclopedia

See Module talk:TaxonItalics/moretestcases for more test cases, particularly comparisons of the live and sandbox versions of Module:TaxonItalics.


All 30 tests passed.

testcases for italicizeTaxonName
Text Expected Actual
Below genus
checkY Pinus subg. Pinus Pinus subg. Pinus Pinus subg. Pinus
checkY Pinus subgenus Pinus Pinus subg. Pinus Pinus subg. Pinus
checkY P. subg. Pinus P. subg. Pinus P. subg. Pinus
checkY Passiflora supersect. Tacsonia Passiflora supersect. Tacsonia Passiflora supersect. Tacsonia
checkY Pinus sect. Pinus Pinus sect. Pinus Pinus sect. Pinus
checkY Pinus section Pinus Pinus sect. Pinus Pinus sect. Pinus
checkY P. sect. Pinus P. sect. Pinus P. sect. Pinus
checkY Pinus subsect. Pinus Pinus subsect. Pinus Pinus subsect. Pinus
checkY P. subsect. Pinus P. subsect. Pinus P. subsect. Pinus
checkY Quercus series Virentes Quercus ser. Virentes Quercus ser. Virentes
checkY Banksia subser. Banksia Banksia subser. Banksia Banksia subser. Banksia
checkY Banksia subseries Banksia Banksia subser. Banksia Banksia subser. Banksia
checkY Lyria (Mitraelyria) Lyria (Mitraelyria) Lyria (Mitraelyria)
Below species
checkY Acer tataricum subsp. ginnala Acer tataricum subsp. ginnala Acer tataricum subsp. ginnala
checkY Aster ericoides var. ericoides Aster ericoides var. ericoides Aster ericoides var. ericoides
checkY A. ericoides varietas ericoides A. ericoides var. ericoides A. ericoides var. ericoides
checkY A. e. subvar. ericoides A. e. subvar. ericoides A. e. subvar. ericoides
Hybrid symbol
checkY Fragaria × ananassa Fragaria × ananassa Fragaria × ananassa
checkY Fragaria × ananassa Fragaria × ananassa Fragaria × ananassa
checkY Fragaria × ananassa Fragaria × ananassa Fragaria × ananassa
checkY × Sorbopyrus × Sorbopyrus × Sorbopyrus
checkY × Sorbopyrus auricularis × Sorbopyrus auricularis × Sorbopyrus auricularis
Already italicized
checkY Pinus subsp. Pinus Pinus subsp. Pinus Pinus subsp. Pinus
checkY Pinus subsp. Pinus Pinus subsp. Pinus Pinus subsp. Pinus
checkY Pinus sylvestris Pinus sylvestris Pinus sylvestris
checkY Pinus subsp. Pinus Pinus subsp. Pinus Pinus subsp. Pinus
checkY Pinus sylvestris Pinus sylvestris Pinus sylvestris
Easy examples
checkY Pinus Pinus Pinus
checkY Pinus sylvestris Pinus sylvestris Pinus sylvestris
Incorrect strings
checkY Fragaria vesca subsp. vesca f. semperflorens Fragaria vesca subsp. vesca f. semperflorens Fragaria vesca subsp. vesca f. semperflorens

Start a discussion about improving the Module:TaxonItalics/testcases page

Start a discussion