Template:Speciesbox/name/testcases

From IDU Wiki
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}}
Bellis perennis \Italic title\ Speciesbox/name/testcases Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
As above, but nothospecies:
{{Speciesbox/name||Pyrus × bretschneideri|||Pyrus × bretschneideri|test}}
Pyrus × bretschneideri \Italic title\ Speciesbox/name/testcases Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
Genus and species present, together the same as pagenamebase:
{{Speciesbox/name|||Bellis|perennis|Bellis perennis|test}}
Bellis perennis \Italic title\ Speciesbox/name/testcases Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
As above, but nothospecies:
{{Speciesbox/name|||Pyrus|× bretschneideri|Pyrus × bretschneideri|test}}
Pyrus × bretschneideri \Italic title\ Speciesbox/name/testcases Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
As above, but qualified genus name:
{{Speciesbox/name|||Homo/?|rudolfensis|Homo rudolfensis|test}}
Homo rudolfensis \Italic title\ Speciesbox/name/testcases Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
Genus and species present, but monotypic genus so pagenamebase is genus:
{{Speciesbox/name|||× Reyllopia|conollyana|× Reyllopia|test}}
× Reyllopia \Italic title\ Speciesbox/name/testcases Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
As above but with taxon parameter:
{{Speciesbox/name||× Reyllopia conollyana|||× Reyllopia|test}}
× Reyllopia \Italic title\ Speciesbox/name/testcases Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
As above but with {{hybrid}} instead of ×:
{{Speciesbox/name|||{{hybrid}} Reyllopia|conollyana|× Reyllopia|test}}
Template:Hybrid Reyllopia \Italic title\ Speciesbox/name/testcases incorrect Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found. 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 Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
Name supplied, but the page at the binomial
{{Speciesbox/name|Common daisy||Bellis|perennis|Bellis perennis|test}}
Common daisy \Italic title\ Speciesbox/name/testcases Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.
Article at the common name:
{{Speciesbox/name||Bellis perennis|||Common daisy|}}
Common daisy Lua error in package.lua at line 80: module 'Module:Sandbox/trappist the monk/taxonomy' not found.