Template:Speciesbox/name/sandbox
Appearance
This is the template sandbox page for Template:Speciesbox/name (diff). See also the companion subpage for test cases. |
This template is used on approximately 340,000 pages, or roughly 1% of all 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
[edit]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.