Template:Speciesbox/name/doc: Difference between revisions
< Template:Speciesbox | name
Jump to navigation
Jump to search
(revised documentation) |
m (1 revision imported) |
Latest revision as of 03:37, 28 January 2021
This is a documentation subpage for Template:Speciesbox/name. It contains usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 223,000 pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
This template uses Lua: |
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.