Template:Speciesbox/name
< Template:Speciesbox
Revision as of 04:19, 4 October 2020 by Wikipedia>Peter coxhead (updated to tested sandbox version; uses Lua code in Module:Automated taxobox)
This template is used on approximately 242,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. |
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.