Jump to content

Module:Taxonbar/conf

Permanently protected module
From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Ahecht (talk | contribs) at 21:01, 28 May 2017 (create conf submodule). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

local p = {}

--In this order: name of the parameter, label, propertyId in Wikidata, formatting function
p.databases = {
    --Biology
    { 'APDB', 'APDB', 2036 },
    { 'AlgeaBase', '[[AlgaeBase]]', 1348 },
    { 'Araneae', 'Araneae', 3594 },
    { 'ARKive', '[[ARKive]]', 2833 },
    { 'Avibase', 'Avibase', 2026 },
    { 'BacDive', '[[BacDive]]', 2946 },
    { 'BHL', '[[Biodiversity Heritage Library|BHL]]', 687 },
    { 'BioLib', 'BioLib', 838 },
    { 'BugGuide', '[[BugGuide]]', 2464 },
    { 'ButMoth', '[[Natural History Museum#Butterflies and Moths of the World|ButMoth]]', 3060 },
    { 'Conifers', 'Conifers.org', 1940 },
    { 'eBird', '[[eBird]]', 3444 },
    { 'EoL', '[[Encyclopedia of Life|EoL]]', 830 },
    { 'EPPO', '[[European and Mediterranean Plant Protection Organization|EPPO]]', 3031 },
    { 'FaunaEuropaea', '[[Fauna Europaea]]', 1895 },
    { 'FishBase', '[[FishBase]]', 938 },
    { 'FloraBase', '[[FloraBase]]', 3101 },
    { 'Fossilworks', '[[Fossilworks]]', 842 },
    { 'FNA', '[[Flora of North America|FNA]]', 1727 },
    { 'FoAO', 'FoAO', 3100 },
    { 'FoC', '[[Flora of China|FoC]]', 1747 },
    { 'Fungorum', '[[Index Fungorum|Fungorum]]', 1391 },
    { 'GBIF', '[[Global Biodiversity Information Facility|GBIF]]', 846 },
    { 'GrassBase', '[[GrassBase]]', 1832 },
    { 'GRIN', '[[Germplasm Resources Information Network|GRIN]]', 1421 },
    { 'IBC', '[[Handbook of the Birds of the World|IBC]]', 3099 },
    { 'ICTV', '[[International Committee on Taxonomy of Viruses|ICTV]]', 1076 },
    { 'iNaturalist', '[[iNaturalist]]', 3151 },
    { 'IPNI', '[[International Plant Names Index|IPNI]]', 961 },
	{ 'IPNI2', '[[International Plant Names Index|IPNI]] author', 586 },
    { 'ITIS', '[[Integrated Taxonomic Information System|ITIS]]', 815 },
    { 'IUCN', '[[IUCN Red List|IUCN]]', 627 },
    { 'LepIndex', '[[Natural History Museum#The Global Lepidoptera Names Index|LepIndex]]', 3064 },
    { 'LPSN', '[[List of Prokaryotic names with Standing in Nomenclature|LPSN]]', 1991 },
	{ 'MSW', '[[Mammal Species of the World|MSW]]', 959 },
    { 'MycoBank', '[[MycoBank]]', 962 },
    { 'NBN', '[[National Biodiversity Network|NBN]]', 3240 },
    { 'NCBI', '[[National Center for Biotechnology Information|NCBI]]', 685 },
	{ 'Panartic', 'Panartic Flora', 2434 },
    { 'Plantarium', 'Plantarium', 3102 },
    { 'PlantList', '[[The Plant List|Plant List]]', 1070 },
	{ 'PLANTS', '[[Natural Resources Conservation Service#Plants|PLANTS]]', 1772 },
    { 'Plazi', '[[Plazi]]', 1992 },
    { 'Species+', '[[CITES|Species+]]', 2040 },
    { 'SPRAT', '[[Species Profile and Threats Database|SPRAT]]', 2455 },
    { 'Tropicos', '[[Tropicos]]', 960 },
    { 'USDAPLANTS', '[[Natural_Resources_Conservation_Service#Plants|PLANTS]]', 1772 },
    { 'VASCAN', 'VASCAN', 1745 },
	{ 'Watson', 'Watson & Dallwitz', 1761 },
    { 'WCSP', '[[World Checklist of Selected Plant Families|WCSP]]', 3591 },
    { 'WoRMS', '[[World Register of Marine Species|WoRMS]]', 850 },
    { 'WSC', '[[World Spider Catalog|WSC]]', 3288 },
    { 'Xeno-canto', 'Xeno-canto', 2426 },
    { 'ZooBank', '[[ZooBank]]', 1746 },
	{ '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|$1]]' },
}

--In this order: alternate name, name of parameter from databases table
p.aliases = {
	{ 'FE', 'FaunaEuropaea' },
	{ 'PaleoDB', 'Fossilworks' },
	{ 'FW', 'Fossilworks' },
	{ 'indexfungorum', 'Fungorum' },
	{ 'species', 'Species+' },
	{ 'WCSPF', 'WCSP' },
	{ 'Xenocanto', 'Xeno-canto' },
	{ 'NameBank', 'uBio' },
	{ 'wsc-sp', 'WSC species'},
	{ 'wsc-gen', 'WSC genus' },
	{ 'wsc-fam', 'WSC family' },
	{ 'grinurl', 'GRIN' }
}

return p