टेम्पलेट:Taxonbar
Inspired by Wikidata:Wikidata:WikiProject Taxonomy and {{Authority Control}}. If you can optimize the code or improve the template please contribute.
Please discuss ideas/thoughts for improvement or use on Template:Taxonbar/talk
This template uses one or more Wikidata properties; see § Wikidata for details. |
Usage
संपादन करींThis can be used to add a bar of identifiers and links to other taxonomic databases where information regarding that taxon can be found. This information is all stored on the Wikidata entry for that species.
Nothing to configure unless some identifiers are to be removed. Simply add this to the bottom of the taxon article:
{{Taxonbar}}
Which on Sequoiadendron giganteum looks like:
To remove a taxon identifier (optional):
संपादन करींBelow is a list of parameters to choose from to remove any identifier from the bar. This is useful when trying to keep the taxonbar on one line. 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 affect 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 some entries being removed if the goal is to keep the bar on one line.
Full list of available parameters to remove individual identifiers:
| bhl = no | biolib = no | eol = no | gbif = no | plantlist = no | tropicos = no | itis = no | iucn = no | ncbi = no | grin = no | fossilworks = no | worms = no | fishbase = no | msw = no | ipni = no | mycobank = no | algaebase = no | indexfungorum = no | fna = no | foc = no | vascan = no | zoobank = no | watson = no | plants = no | grassbase = no | faunaeuropaea = no | conifers = no | lpsn = no | plazi = no | avibase = no | afpd = no | species = no | xeno-canto = no | panartic = no |
Example: To remove FOC, IPNI, and AFPD, the code would look like:
{{taxonbar | foc = no | ipni = no| afpd = no }}
And on Sequoiadendron giganteum, the result:
Position
संपादन करींAs a metadata template, the Taxonbar template should be placed after the external links section and navigation templates, right before the Authority control template.
Use samples
संपादन करींBlue jay, Agaricus bisporus, Quercus alba, Rudbeckia hirta, Chinchilla, Chinchilla chinchilla
Wikidata
संपादन करींThe template can get its information from the following properties on Wikidata:
Parameter | Type | Property ID |
---|---|---|
bhl | BHL | p687 |
biolib | BioLib | p838 |
eol | EoL | p830 |
gbif | GBIF | p846 |
plantlist | PlantList | p1070 |
tropicos | Tropicos | p960 |
itis | ITIS | p815 |
iucn | IUCN | p627 |
ncbi | NCBI | p685 |
grin | GRIN | p1421 |
fossilworks | Fossilworks | p842 |
worms | WoRMS | p850 |
fishbase | FishBase | p938 |
msw | MSW | p959 |
ipni | IPNI author | p586 |
ipni | IPNI | p961 |
mycobank | MycoBank | p962 |
algaebase | AlgaeBase | P1348 |
indexfungorum | Index Fungorum | p1391 |
fna | FNA | p1727 |
foc | FOC | p1747 |
zoobank | ZooBank | p1746 |
watson | Watson & Dallwitz | p1761 |
plants | PLANTS | p1772 |
grassbase | GrassBase | p1832 |
faunaeuropaea | Fauna Europaea | 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 |
Template editing - Todo List:
संपादन करींAdd parameters to remove individual identifiers from taxonbar. This could help the box from becoming two lines when one line is desired.Pull the formatter URLs from wikidata.Add ability to add identifiers not listed on wikidata.Add support forfrom=
to show taxonbox as an example on pages without data, such as template documentation and userpages.- Hide taxonbar if empty.
- Add support for other parameters.
- See {{Taxonbar/testcases}}.
Add support for entering missing data with listed parameters above.Add documentation.Add support forAdd documentation.wcsp=
Add support forAdd documentation.namebank=
aka uBioAdd support forAdd documentation.emonocot=
- Add support for
others=
? Add support forAdd documentation that a URL must be entered for GRIN rather than ID.grinurl=
- See {{Taxonbar/testcases}}.
- Change "taxon identifiers" link to the wikidata entry link.
- Add tracking for entries not on wikidata. Suggest differences be resolved.
इहो देखल जाय
संपादन करीं- {{EOL}}
- {{Taxon}}
- {{Taxonids}}
- {{ThePlantList}}
- {{Authority Control}}
- {{Automatic Taxobox}}
- Other templates in Category:Biology external link templates
- Other templates in Category:Flora external link templates
परिचय खातिर ऊपर दिहल गइल बिबरनलेख के टेम्पलेट:Taxonbar/doc से ट्रांसक्लूड क के इहाँ देखावल जा रहल बाटे। (संपादन करीं | इतिहास देखीं) संपादक लोग एह टेम्पलेट के अभ्यासपन्ना (सैंडबाक्स) (बनाईं | मिरर करीं) आ टेस्टकेस (बनाईं) पन्ना सभ पर अभ्यास आ प्रयोग (टेस्टिंग) क सकत बाटे। अनुरोध बा कि अगर श्रेणी जोड़े के होखे तब /doc उपपन्ना (सबपेज) पर जोड़ल जाय। एह टेम्पलेट के उपपन्ना (सबपेज) देखीं। |