Template:Speciesbox/name/doc

< Template:Speciesbox‎ | name
Revision as of 03:37, 28 January 2021 by Santh (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Usage

The template is to be used only from within {{Speciesbox}}. It has two functions: to add {{Italic title}} to the page if appropriate, and to return a name for the taxobox.

Use: {{Speciesbox/name|name|taxon|genus|species|pagenamebase|italic_title}}

If pagenamebase is the full name of the species or the name of the genus (with any disambiguator stripped off) then the page title is italicized (unless italic_title is no).

If name is not specified, pagenamebase is returned as the name, italicized if appropriate.

For examples of use, see Template:Speciesbox/name/testcases.