Inspired by Wikidata:Wikidata:WikiProject Taxonomy and {{Authority Control}}. If you can optimize the code or improve the template please contribute.

Please discuss ideas/thoughts for improvement or use on Template:Taxonbar/talk


Basic usage

This template can be used to add a bar of identifiers and links to other taxonomic databases where information regarding a particular taxon can be found. Much of the information is stored on the Wikidata entry for the taxon.

Often there is nothing to configure. Simply add this to the bottom of the taxon article:


On Sequoiadendron giganteum, the result is:


As a metadata template, the Taxonbar template should be placed after the external links section and navigation templates, right before the Authority control template.

Basic use samples

Blue jay, Agaricus bisporus, Quercus alba, Rudbeckia hirta, Chinchilla, Chinchilla chinchilla

Wikidata taxon identifiers

The template can automatically get its information from the following properties on Wikidata:

ParameterDatabaseProperty ID
plantlistPlant Listp1070
ipniIPNI authorp586
indexfungorumIndex Fungorump1391
watsonWatson & Dallwitzp1761
faunaeuropaeaFauna Europaeap1895
panarticPanarctic Florap2434

To remove a Wikidata taxon identifier (optional)

The identifiers listed in the table above can be removed from the bar by setting the corresponding parameter to no. This is useful when trying to keep the taxonbar on one line. Spaces are optional. There is no sense in removing too many identifiers, for example: removing plant or fungi identifiers from an animal taxon would have no effect as these parameters will not show up on an animal taxon in the first place. It is best to preview {{Taxonbar}} on the page and decide what entries provide little relevant data. Plant species will have the most entries and are most likely in need of some entries being removed if the goal is to keep the bar on one line.

Example: To remove FOC, IPNI, and AFPD, the code would look like:

{{taxonbar | foc = no | ipni = no| afpd = no }}

On Sequoiadendron giganteum, the result is:

Taxon identifiers not in Wikidata

Some taxon identifiers not at present in Wikidata can be added via extra parameters.


{{taxonbar | wcsp = 280381}}

On Lilium, the result is:

where the taxon identifier in the World Checklist of Selected Plant Families has been added to those picked up from Wikidata.

Database Parameter name Parameter value
eMonocot taxon emonocot Number following in the URL of the taxon page
eMonocot family emonocotfamily Number following in the URL of the taxon page
uBio ubio or namebank to be completed
World Checklist of Selected Plant Families wcsp Value of name_id from the URL of the taxon page
World Spider Catalog species wsc species or wsc-sp Number following of the LSID on the taxon page – not the number in the URL
World Spider Catalog genus wsc genus or wsc-gen Number following on the taxon page – not the number in the URL
World Spider Catalog family wsc family or wsc-fam Number following on the taxon page – not the number in the URL

Template editing—to-do list

  • Add parameters to remove individual identifiers from taxonbar. This could help the box from becoming two lines when one line is desired.
  • Pull the formatter URLs from Wikidata.
  • Add ability to add identifiers not listed on Wikidata.
  • Add support for from= to show taxonbox as an example on pages without data, such as template documentation and userpages.
  • Hide taxonbar if empty.
  • Add support for other parameters.
    • See {{Taxonbar/testcases}}.
      • Add support for entering missing data with listed parameters above. Add documentation.
      • Add support for wcsp= Add documentation.
      • Add support for namebank= aka uBio Add documentation.
      • Add support for emonocot= Add documentation.
      • Add support for others=?
      • Add support forgrinurl= Add documentation that a URL must be entered for GRIN rather than ID.
  • Change "taxon identifiers" link to the Wikidata entry link.
  • Add tracking for entries not on Wikidata. Suggest differences be resolved.

See also

Community content is available under CC-BY-SA unless otherwise noted.