வார்ப்புரு: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 {{Authority Control}} 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.

Taxonbar is placed below all navigation templates, except Authority control (not shown here).

Position[தொகு]

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

Usage[தொகு]

To add Taxonbar to a page:

  1. Insert the {{Taxonbar}} code below other navigation templates.
  2. Click "Show preview" to check placement and to see which Taxon identifiers are automatically pulled from Wikidata.
  3. 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:

{{Taxonbar}}

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 no. 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 {{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 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:

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

Example:

{{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 urn:kew.org:wcs:taxon: in the URL of the taxon page
eMonocot family emonocotfamily Number following urn:kew.org:wcs:family: 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 urn:lsid:nmbe.ch:spidersp: of the LSID on the taxon page – not the number in the URL
World Spider Catalog genus wsc genus or wsc-gen Number following urn:lsid:nmbe.ch:spidergen: on the taxon page – not the number in the URL
World Spider Catalog family wsc family or wsc-fam Number following urn:lsid:nmbe.ch:spiderfam: on the taxon page – not 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.

See also[தொகு]

Other Links[தொகு]


"https://ta.wikipedia.org/w/index.php?title=வார்ப்புரு:Taxonbar/doc&oldid=2449600" இலிருந்து மீள்விக்கப்பட்டது