Jump to content

Template:Speciesbox/name/testcases

From Wikipedia, the free encyclopedia

The italicization of the page title is suppressed in these test cases by setting the last parameter to test, which causes "\Italic title\" to be appended to the returned taxobox name to show that the page title would otherwise be italicized.

Note: for automatic italicization to work, the hybrid symbol must be input into the taxobox template as "×", not as "×" or "{{hybrid}}".

Parameters: name|taxon|genus|species|BASEPAGENAME|no_italic

{{Speciesbox/name}} {{Speciesbox/name/sandbox}}
Taxon present as binomial, same as pagenamebase:
{{Speciesbox/name||Bellis perennis|||Bellis perennis|test}}
Bellis perennis \Italic title\ Speciesbox/name/testcases Bellis perennis \Italic title\ Speciesbox/name/testcases
As above, but nothospecies:
{{Speciesbox/name||Pyrus × bretschneideri|||Pyrus × bretschneideri|test}}
Pyrus × bretschneideri \Italic title\ Speciesbox/name/testcases Pyrus × bretschneideri \Italic title\ Speciesbox/name/testcases
Genus and species present, together the same as pagenamebase:
{{Speciesbox/name|||Bellis|perennis|Bellis perennis|test}}
Bellis perennis \Italic title\ Speciesbox/name/testcases Bellis perennis \Italic title\ Speciesbox/name/testcases
As above, but nothospecies:
{{Speciesbox/name|||Pyrus|× bretschneideri|Pyrus × bretschneideri|test}}
Pyrus × bretschneideri \Italic title\ Speciesbox/name/testcases Pyrus × bretschneideri \Italic title\ Speciesbox/name/testcases
As above, but qualified genus name:
{{Speciesbox/name|||Homo/?|rudolfensis|Homo rudolfensis|test}}
Homo rudolfensis \Italic title\ Speciesbox/name/testcases Homo rudolfensis \Italic title\ Speciesbox/name/testcases
Genus and species present, but monotypic genus so pagenamebase is genus:
{{Speciesbox/name|||× Reyllopia|conollyana|× Reyllopia|test}}
× Reyllopia \Italic title\ Speciesbox/name/testcases × Reyllopia \Italic title\ Speciesbox/name/testcases
As above but with taxon parameter:
{{Speciesbox/name||× Reyllopia conollyana|||× Reyllopia|test}}
× Reyllopia \Italic title\ Speciesbox/name/testcases × Reyllopia \Italic title\ Speciesbox/name/testcases
As above but with {{hybrid}} instead of ×:
{{Speciesbox/name|||{{hybrid}} Reyllopia|conollyana|× Reyllopia|test}}
× Reyllopia incorrect × Reyllopia incorrect
Genus disambiguated, but without the disambiguation the binomial is the same as the pagenamebase:
{{Speciesbox/name|||Alsophila (plant)|dealbata|Alsophila dealbata|test}}
Alsophila dealbata \Italic title\ Speciesbox/name/testcases Alsophila dealbata \Italic title\ Speciesbox/name/testcases
Name supplied, but the page at the binomial
{{Speciesbox/name|Common daisy||Bellis|perennis|Bellis perennis|test}}
Common daisy \Italic title\ Speciesbox/name/testcases Common daisy \Italic title\ Speciesbox/name/testcases
Article at the common name:
{{Speciesbox/name||Bellis perennis|||Common daisy|}}
Common daisy Common daisy