Template:Speciesbox/name/doc: Difference between revisions

Jump to navigation Jump to search
(revised documentation)
 
m (1 revision imported)
 
(No difference)

Latest revision as of 03:37, 28 January 2021

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.