Module:Taxonbar/doc
This is the documentation page for Module:Taxonbar
| This Lua module is used on approximately 434,000 pages. To avoid major disruption and server load, any changes should be tested in the module's /sandbox or /testcases subpages. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
| This module is subject to page protection. It is a highly visible module in use by a very large number of pages, or is substituted very frequently. Because vandalism or mistakes would affect many pages, and even trivial editing might cause substantial load on the servers, it is protected from editing. |
Contents
Usage
At this time we request this module/template not be used on taxon pages until the module is implemented by Template:T through community consensus. The goal is to soon implement this Lua code to replace the existing Template:T template. Parameters and databases are set by Module:Taxonbar/conf.
For testcases use: {{Taxonbar | from=QID}} View testcases at Template:Taxonbar/testcases
Taxon Example:
{{Taxonbar | from=Q243761}}
Result: Template:Taxonbar
Testcases
Rhododendron maximum Template:Taxonbar Asclepias syriaca Template:Taxonbar Peach (Prunus persica) Template:Taxonbar Puma_(genus) Template:Taxonbar Dog (Canis lupus familiaris) Template:Taxonbar Eastern bluebird (Sialia sialis) Template:Taxonbar Honey bee (Apis) Template:Taxonbar Western honey bee (Apis mellifera) Template:Taxonbar Clipper butterfly (Parthenos sylvia) Template:Taxonbar Turkey tail (Trametes versicolor) Template:Taxonbar Button/portobello mushroom (Agaricus bisporus) Template:Taxonbar
Wikidata taxon identifiers
| Parameter | Database | Property ID |
|---|---|---|
| APDB | APDB | p2036 |
| AlgeaBase | AlgaeBase | p1348 |
| Araneae | Araneae | p3594 |
| ARKive | ARKive | p2833 |
| Avibase | Avibase | p2026 |
| BacDive | BacDive | p2946 |
| BHL | BHL | p687 |
| BioLib | BioLib | p838 |
| BugGuide | BugGuide | p2464 |
| ButMoth | ButMoth | p3060 |
| Conifers | Conifers.org | p1940 |
| eBird | eBird | p3444 |
| EoL | EoL | p830 |
| FaunaEuropaea | Fauna Europaea | p1895 |
| FishBase | FishBase | p938 |
| FloraBase | FloraBase | p3101 |
| Fossilworks | Fossilworks | p842 |
| FNA | FNA | p1727 |
| FoAO | FoAO | p3100 |
| FoC | FoC | p1747 |
| Fungorum | Fungorum | p1391 |
| GBIF | GBIF | p846 |
| GrassBase | GrassBase | p1832 |
| GRIN | GRIN | p1421 |
| IBC | IBC | p3099 |
| ICTV | ICTV | p1076 |
| iNaturalist | iNaturalist | p3151 |
| IPNI | IPNI | p961 |
| IPNI2 | IPNI author | p586 |
| ITIS | ITIS | p815 |
| IUCN | IUCN | p227 |
| LepIndex | LepIndex | p3064 |
| LPSN | LPSN | p1991 |
| MSW | MSW | p956 |
| MycoBank | MycoBank | p962 |
| NCBI | NCBI | p685 |
| Panartic | Panartic Flora | p2434 |
| Plantarium | Plantarium | p3102 |
| PlantList | Plant List | p1070 |
| PLANTS | PLANTS | p1772 |
| Plazi | Plazi | p1992 |
| Species+ | Species+ | p2040 |
| SPRAT | SPRAT | p2455 |
| Tropicos | Tropicos | p960 |
| USDAPLANTS | PLANTS | p1772 |
| VASCAN | VASCAN | p1745 |
| Watson | Watson & Dallwitz | p1761 |
| WCSP | WCSP | p3591 |
| WoRMS | WoRMS | p850 |
| WSC | WSC | p3288 |
| Xeno-canto | Xeno-canto | p2426 |
| ZooBank | ZooBank | p1746 |
| Parameter | Database | Property URL/Interwiki link |
|---|---|---|
| eMonocot | eMonocot | http://e-monocot.org/taxon/urn:kew.org:wcs:taxon:$1 |
| emonocotfamily | eMonocot | http://e-monocot.org/taxon/urn:kew.org:wcs:family:$1 |
| uBio | uBio | http://www.ubio.org/browser/details.php?namebankID=$1 |
| WSC species | World Spider Catalog | http://www.wsc.nmbe.ch/search?sFamily=&fMt=begin&sGenus=&gMt=begin&sSpecies=&sMt=begin&mMt=exact&multiPurpose=slsid&sMulti=$1 |
| WSC genus | World Spider Catalog | http://www.wsc.nmbe.ch/search?sFamily=&fMt=begin&sGenus=&gMt=begin&sSpecies=&sMt=begin&mMt=exact&multiPurpose=glsid&sMulti=$1 |
| WSC family | World Spider Catalog | http://www.wsc.nmbe.ch/search?sFamily=&fMt=begin&sGenus=&gMt=begin&sSpecies=&sMt=begin&mMt=exact&multiPurpose=flsid&sMulti=$1 |
| Wikispecies | Wikispecies | Wikispecies:$1 |
Module editing — to-do list
- Improve documentation
Add parameters to remove individual identifiers from taxonbar. This could help the box from becoming two lines when one line is desired.Can be suppressed by setting equal tono(e.g.|eol=no). Should we suppress if set to blank (e.g.|eol=)?Add support for parameters currently supported by Template:T.Someone want to double-check Module:Taxonbar/conf that we got them all?- See {{Taxonbar/testcases}}.
- Add documentation for grinurl=.
- Continue to add support for new, useful parameters.
- 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.
- Switch Template:T to Module:Taxonbar when it's ready and meets all needs.
See also
- Template:T the original template.
- Module:Taxonbar/conf, Configuration of this module (Add or edit sources).
- Template_talk:Taxonbar, Taxonbar discussion.
- Template:Taxonbar/testcases, Taxonbar testcases.
- Template:Taxonbar, Sandbox template implementing this module.
- Module:Authority_control.
- gl:Módulo:Taxonbar, original code source for this template.
