Template:Linked taxon list/sandbox
This is the template sandbox page for Template:Linked 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
[edit]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:
{{Taxon list
| †Smithiaceae | Authority
| Jonesiaceae |
| Junkiaceae | Describer
}}
Both the taxon name and authority will be automatically formatted to produce:
- †Smithiaceae Authority
- Jonesiaceae
- Junkiaceae Describer
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
[edit]To automatically link the content of every taxon name, use {{Linked taxon list}}.
For example:
{{Linked taxon list
| †Smithiaceae | Authority
| Jonesiaceae |
| Junk flowers {{!}} Junkiaceae | Describer <!--creates a piped link-->
| ''[[Puma (genus) {{!}} Puma ]]'' | Jardine, 1834 <!--handles a disambiguated genus name-->
}}
produces
- †Smithiaceae Authority
- Jonesiaceae
- Junkiaceae Describer
Extinct taxa
[edit]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
[edit]- {{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