From Wikispecies
Jump to navigation Jump to search
Taxonbar - Taxon identifiers on external data bases
Template documentation[view] [edit] [history] [purge]
France road sign A14.svg
This template is banned from use on Wikispecies, following Vote ending 13:50, 17 May 2020 (UTC).

This is a template that connects through a Lua module to Wikidata to gather the identifiers of a taxon on different databases.


As of 4 May 2020 (UTC), the template is displayed in a one cell table. It is composed of two lines of text.

The first line is the title. It has a light blue background (HEX color: #EEEEFF). The title is composed of the name of the page in bold with a "identifiers" second part of text. This second part is managed in the template itself to allow the translation in several languages.

The second line is for the data. It has a light grey background (HEX color: #F8F9FA). The content of that line is the result from the Lua main module.

See also:

  • Module:Taxonbar (main Lua module with code for reading entries in Wikidata)
  • Module:Taxonbar/conf (secondary Lua module with code for configuration of sites available as items in Wikidata)


Taxonbar links to external databases, but it does not cite them. Databases used for the preparation of the article have to be included as "Source" at the end of the taxonavigation section or in the "cited sources" subsection in the Reference section, even if they are listed in Taxonbar.


Without parameter, Taxonbar lists the Taxon identifiers from the linked Wikidata object, if there is any. If a basionym is given in the object, its identifiers are also listed.

For Wikidata objects not linked to the Wikispecies article, use the parameter "from=" with the Q-number of the taxon on Wikidata.

For multiple objects on Wikidata, "from1=", "from2=" and "from3=" parameters can be used.

An unnamed parameter can be used to change the name of the taxon presented in the tile of the template.


As a metadata template arranged horizontally, the Taxonbar template should be placed with other horizontally displayed templates at the bottom of the article.

It is typically placed under the "Vernacular names" template if it exists, above the "commons" template or right before the categories.


Simple one parameter example:

Caenorhabditis elegans (Q91703 on Wikidata)

In the animal model page, {{taxonbar|from=Q91703}} would give:

Caenorhabditis elegans - Taxon identifiers on external data bases

Example with two parameters:

Arabidopsis thaliana (Q158695 for Arabidopsis thaliana, Q21870722 for Arabis thaliana on Wikidata)

In the plant model page, {{Taxonbar|from1=Q158695|from2=Q21870722}} would give:

Arabidopsis thaliana - Taxon identifiers on external data bases

Use of the unamed parameter to change taxon name in the displayed title:

Saccharomyces cerevisiae (Q719725 on Wikidata)

Compare, for the fungal model, the title rendered in this documentation page by the syntax {{taxonbar|from=Q719725}}:

Taxonbar - Taxon identifiers on external data bases

with the one piped with the text "Saccharomyces cerevisiae":
{{taxonbar|from=Q719725|Saccharomyces cerevisiae}}

Saccharomyces cerevisiae - Taxon identifiers on external data bases