# வார்ப்புரு:Taxonbar/doc



This metadata template links Wikipedia articles to various biological and taxonomic databases. Taxonbar displays these links as short strings, indicating the unique identifier each database has assigned the taxon for catalogue purposes. Taxonomic identifiers of each taxon are stored and retrieved from the taxon's corresponding Wikidata entry, but can be overridden in individual articles with locally entered data. Adding the data to Wikidata is preferable.  

This template was inspired by and the work of Wikidata:Wikidata:WikiProject Taxonomy. If you can optimize the code or improve the template please contribute to the next phase of this project at **Module:Taxonbar**. Please discuss ideas/thoughts for improvement or use on Template:Taxonbar/talk.  

, except (not shown here).]]  

## Position

**Please place this template correctly**. As a metadata template, Taxonbar should be placed:  

- Below all , , and .
- Below all —except Authority control.
- Above the template (if present).
- Above the [[Wikipedia:Categories|]] codes in the editor.

## Usage
To add Taxonbar to a page:  
1. Insert the <code></code> code below other navigation templates.
1. Click "Show preview" to check placement and to see which Taxon identifiers are automatically pulled from Wikidata.
1. If you have more identifiers to add, consider adding them to the article's Wikidata item (so that all versions of Wikipedia will automatically benefit). Be careful not to edit the structure or names of Wikidata taxon until you have become familiar with Wikidata:WikiProject Taxonomy and Wikidata:WikiProject Taxonomy/Tutorial.

**Basic code:**  
<pre></pre>  
On *Sequoiadendron giganteum*, the result is:  

## 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:  
| Parameter | Database | Property ID |  |
| --- | --- | --- | --- |
| ipni | IPNI author | p586 |  |
| iucn | IUCN | p627 |  |
| ncbi | NCBI | p685 |  |
| bhl | BHL | p687 |  |
| itis | ITIS | p815 |  |
| eol | EoL | p830 |  |
| biolib | BioLib | p838 |  |
| fossilworks | Fossilworks | p842 |  |
| gbif | GBIF | p846 |  |
| worms | WoRMS | p850 |  |
| fishbase | FishBase | p938 |  |
| msw | MSW | p959 |  |
| tropicos | Tropicos | p960 |  |
| ipni | IPNI | p961 |  |
| mycobank | MycoBank | p962 |  |
| plantlist | Plant List | p1070 |  |
| ictv | ICTV | p1076 |  |
| algaebase | AlgaeBase | P1348 |  |
| indexfungorum | Index Fungorum | p1391 |  |
| grin | GRIN | p1421 |  |
| fna | FNA | p1727 |  |
| vascan | VASCAN | p1745 |  |
| zoobank | ZooBank | p1746 |  |
| foc | FOC | p1747 |  |
| watson | Watson & Dallwitz | p1761 |  |
| plants | PLANTS | p1772 |  |
| grassbase | GrassBase | p1832 |  |
| faunaeuropaea | Fauna Europaea (currently disabled) | p1895 |  |
| conifers | Conifers.org | p1940 |  |
| lpsn | LPSN | p1991 |  |
| plazi | Plazi | p1992 |  |
| avibase | Avibase | p2026 |  |
| afpd | AFPD | p2036 |  |
| species | Species+ | p2040 |  |
| xeno-canto | Xeno-canto | p2426 |  |
| panartic | Panarctic Flora | p2434 |  |
| sprat | Species Profiles and Threats | p2455 |  |
| bugguide | BugGuide | p2464 |  |
| bacdive | BacDive | P2946 |  |
| butmoth | ButMoth | p3060 |  |
| lepindex | LepIndex | p3064 |  |
| ibc | Internet Bird Collection | p3099 |  |
| foao | Flora of Australia Online | p3100 |  |
| florabase | FloraBase | p3101 |  |
| plantarium | Plantarium | p3102 |  |
| inaturalist | iNaturalist | p3151 |  |
| wsc | World Spider Catalog | p3288 |  |
| bamona | Butterflies and Moths of North America | p3398 |  |
| ebird | eBird | p3444 |  |
| araneae | Araneae: Spiders of Europe | p3594 |  |
| adw | Animal Diversity Web | p4024 |  |
| arkive | ARKive | p2833 | } |

### To hide a Wikidata taxon identifier (optional)
Individual identifiers listed in the table above can be removed(hidden) from the bar by setting the corresponding parameter to <code>no</code>. This is useful when trying to reduce the number of links within Taxonbar. 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 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 hiding some entries if the goal is to keep the bar on one line.  

Example:  
To remove FOC, IPNI, and AFPD, the code would look like:  
<pre></pre>  

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, however adding the data to Wikidata is preferable.  

Example:  
<pre></pre>  

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 | <code>emonocot</code> | Number following <code></code> in the URL of the taxon page |  |
| eMonocot family | <code>emonocotfamily</code> | Number following <code></code> in the URL of the taxon page |  |
| uBio | <code>ubio</code> *or* <code>namebank</code> | *to be completed* |  |
| World Checklist of Selected Plant Families | <code>wcsp</code> | Value of <code>name_id</code> from the URL of the taxon page |  |
| World Spider Catalog species | <code>wsc species</code> *or* <code>wsc-sp</code> | Number following <code></code> of the LSID on the taxon page – <em>not</em> the number in the URL |  |
| World Spider Catalog genus | <code>wsc genus</code> *or* <code>wsc-gen</code> | Number following <code></code> on the taxon page – <em>not</em> the number in the URL |  |
| World Spider Catalog family | <code>wsc family</code> *or* <code>wsc-fam</code> | Number following <code></code> on the taxon page – <em>not</em> the number in the URL | } |

## Template editing—to-do list
- Switch to Module:Taxonbar when it's ready and meets our needs.
- Continue to add support for new, useful parameters.
- Program Module:Taxonbar to add tracking for entries not on Wikidata? Suggest differences be resolved.
- Program Module:Taxonbar to create it's own documentation table of parameters.
- Program Module:Taxonbar to support disabled(hidden) databases which can shown when called.