Template:Taxon list/sandbox
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Taxon list (diff). See also the companion subpage for test cases. |

![]() | This template is used on many pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
![]() | This template uses Lua: |
Usage
This template is one of a number intended for use in taxoboxes under the |subdivision=
or |synonyms=
parameters, to produce a list of taxa in a consistent format. The table below shows the behaviour of the available templates.
Taxon name | Template | ||
---|---|---|---|
Italicized | Linked | Bold | |
no | no | no | {{Taxon list}} |
no | yes | no | {{Linked taxon list}} |
yes | no | no | {{Species list}}, alias {{Genus list}} |
yes | yes | no | {{Linked species list}}, alias {{Linked genus list}} |
yes | no | yes | {{Bold species list}}, alias {{Bold genus list}} |
Use like this:
<syntaxhighlight lang="wikitext">- Describer Authority
- Jonesiaceae †Smithiaceae
- Junkiaceae
Both the taxon name and authority will be automatically formatted to produce:
- Describer Authority
- Jonesiaceae †Smithiaceae
- Junkiaceae
Note that if the authority is not known, the "|" must still be present after the taxon name.
Mark incomplete lists using |incomplete=yes
, which will add "(incomplete)" to the end of the list.
Variations
To automatically link the content of every taxon name, use {{Linked taxon list}}.
For example:
{{#ifeq:Taxonlist|Specieslist|<syntaxhighlight lang="wikitext">{{Linked species list /- S. dubia Spexia speciosa
- Authority, 2003 Others et al., 2002
- Puma
- Spexia typa Jardine, 1834
- †Spexia additiona Describer, 1888 (type)
- Describer Authority
- Jardine, 1834 Jonesiaceae
- †Smithiaceae
- Junkiaceae Puma
produces
- Describer Authority
- Jonesiaceae †Smithiaceae
- [[]] Junk flowers | Junkiaceae
Extinct taxa
The name of an extinct taxon can be preceded by one of the following markers: † † {{extinct}}
. Any of them will appear as † in the output. The † will not be italicized and will not be included in a wikilink.
See also
- {{Genus list}}, {{Linked genus list}} and {{Bold genus list}} are aliases for the equivalent "Species list" templates.
- {{Species list}} – creates a list for taxon names which should be italicized, i.e. taxa at ranks of genus or lower, not just species
- {{Linked species list}} – as {{Species list}} but the taxon names are wikilinked
- {{Bold species list}} – as {{Species list}} but the taxon names are in bold