Template:Taxon link: Difference between revisions
Jump to navigation
Jump to search
(make use of rank parameter if passed in) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 17:51, 12 June 2021
This template uses Lua: |
This template is no longer used within the automated taxobox system; its functions are performed within Module:Autotaxobox. It is left available for testing purposes only.
It creates a wikilinked taxon name for use in a taxobox or other listing of taxa, dealing appropriately with italicization, the extinct indication "†" and the query indication "(?)".
The necessary information is obtained from "Template:Taxonomy/taxon", which must exist.
Usage
{{Taxon link|taxon|italic=yes|bold=yes|virus=yes}}
taxon
is a string (a taxon name or a qualified taxon name) for which there is a taxonomy template "Template:Taxonomy/taxon"|italic=yes
forces an italic taxon name; if omitted altogether, the taxon's rank will be used to determine whether it should it italicized|bold=yes
produces an emboldened taxon name instead of a wikilink; it may be omitted altogether.|virus=yes
italicizes using the standard for virus taxa; it may be omitted altogether.
- Examples
{{taxon link|Pterodactylus}}
→ [[Template:Taxonomy/Pterodactylus]] – an extinct genus{{taxon link|Pterodactylus|bold=yes}}
→ Template:Taxonomy/Pterodactylus – emboldened rather than wikilinked{{taxon link|Cambroernida/?}}
→ [[Template:Taxonomy/Cambroernida/?]] – a queried extinct clade{{taxon link|Incertae sedis/Arthropoda}}
→ [[Template:Taxonomy/Incertae sedis/Arthropoda]] – an unknown class within phylum Arthropoda{{taxon link|Hypoviridae|virus=yes}}
→ [[Template:Taxonomy/Hypoviridae]] – most virus taxa names are italicized