Jump to content

Module:Taxonbar/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Mellis (talk | contribs) at 22:42, 24 July 2017 (Testcases: link update). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Usage

At this time we request this module/template not be implemented on taxon pages until links are cleaned up and the module fulfills the needs of the community. Parameters will be added with time in Module:Taxonbar/conf. The goal is to eventually update and implement this Lua code to replace the existing {{Taxonbar}} template.

For testcases use: {{Taxonbar/sandbox2 | from=QID}} View testcases at Template:Taxonbar/testcases

Taxon Example:

Scarlet macaw (Ara macao)

{{Taxonbar/sandbox2 | from=Q243761}}

Result:

Testcases

Purge server cache

Rhododendron maximum

Asclepias syriaca

Peach (Prunus persica)

Puma_(genus)

Dog (Canis lupus familiaris)

Eastern bluebird (Sialia sialis) Lua error in Module:Taxonbar/sandbox2 at line 28: attempt to index field 'datavalue' (a nil value). Honey bee (Apis)

Western honey bee (Apis mellifera)

Clipper butterfly (Parthenos sylvia)

Turkey tail (Trametes versicolor)

Button/portobello mushroom (Agaricus bisporus)

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 1940
eBird eBird p3444
EoL EoL p830
EPPO EPPO p3031
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
NBN NBN p3240
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 to no (e.g. |eol=no). Should we suppress if set to blank (e.g. |eol=)?
  • 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 parameters currently supported by {{Taxonbar}}. Someone want to double-check Module:Taxonbar/conf that we got them all?
    • 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=?
      • Disable certain non research-grade databases by default? EOL?
      • Add support for grin and grinurl= Add documentation that a URL must be entered for GRIN rather than ID.
  • Add tracking for entries not on Wikidata. Suggest differences be resolved.

See also