Template:Speciesbox/name/testcases

Jump to navigation Jump to search

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}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
As above, but nothospecies:
{{Speciesbox/name||Pyrus × bretschneideri|||Pyrus × bretschneideri|test}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
Genus and species present, together the same as pagenamebase:
{{Speciesbox/name|||Bellis|perennis|Bellis perennis|test}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
As above, but nothospecies:
{{Speciesbox/name|||Pyrus|× bretschneideri|Pyrus × bretschneideri|test}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
As above, but qualified genus name:
{{Speciesbox/name|||Homo/?|rudolfensis|Homo rudolfensis|test}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
Genus and species present, but monotypic genus so pagenamebase is genus:
{{Speciesbox/name|||× Reyllopia|conollyana|× Reyllopia|test}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
As above but with taxon parameter:
{{Speciesbox/name||× Reyllopia conollyana|||× Reyllopia|test}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
As above but with {{hybrid}} instead of ×:
{{Speciesbox/name|||{{hybrid}} Reyllopia|conollyana|× Reyllopia|test}}
Script error: The function "speciesboxName" does not exist. incorrect Script error: No such module "Automated taxobox/sandbox". incorrect
Genus disambiguated, but without the disambiguation the binomial is the same as the pagenamebase:
{{Speciesbox/name|||Alsophila (plant)|dealbata|Alsophila dealbata|test}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
Name supplied, but the page at the binomial
{{Speciesbox/name|Common daisy||Bellis|perennis|Bellis perennis|test}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".
Article at the common name:
{{Speciesbox/name||Bellis perennis|||Common daisy|}}
Script error: The function "speciesboxName" does not exist. Script error: No such module "Automated taxobox/sandbox".