Gaan na inhoud

Module:Taxonbar/conf

in Wikipedia, die vrye ensiklopedie

Dokumentasie vir hierdie module kan geskep word by:Module:Taxonbar/conf/doc

localp={}

--In this order: name of the parameter, label, propertyId in Wikidata or URL
--If propertyId is a Wikidata property ID, it must be a number without quotes
--If propertyId is an external URL, it must be in quotes and begin with http://, https://, or //. The ID should be represented by $1 (e.g. 'https://en.wikipedia.org/wiki/$1')
--If propertyId is an interwiki URL, put the interwiki name, a colon, and $1 in quotes (e.g. 'en:$1')
--If propertyId is set to 0 that database will be hidden in the template but will not display an error message if used
p.databases={
--Biology
{'Wikidata','[[Wikidata|Wd]]','Wikidata:$1'},
{'ADW','[[Animal Diversity Web|ADW]]',4024},
{'AlgeaBase','[[AlgaeBase]]',1348},
{'APDB','APDB',2036},
{'Araneae','Araneae',3594},
{'ARKive','[[ARKive]]',2833},
{'Avibase','Avibase',2026},
{'BacDive','[[BacDive]]',2946},
{'Bamona','BAMONA',3398},
{'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','[[EPPO Code|EPPO]]',3031},
{'FaunaEuropaea','[[Fauna Europaea]]',1895},
{'FishBase','[[FishBase]]',938},
{'FloraBase','[[FloraBase]]',3101},
{'FNA','[[Flora of North America|FNA]]',1727},
{'FoAO','FoAO',3100},
{'FoC','[[Flora of China|FoC]]',1747},
{'Fossilworks','[[Fossilworks]]',842},
{'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},
{'ITIS','[[Integrated Taxonomic Information System|ITIS]]',815},
{'IUCN','[[IUCN Red List|IUCN]]',627},
{'LepIndex','[[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},
{'NCBI','[[National Center for Biotechnology Information|NCBI]]',685},
{'Paldat','PalDat',4122},
{'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},
{'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'},
{'POWO','[[Plants of the World Online]]','http://www.plantsoftheworldonline.org/taxon/urn:lsid:ipni.org:names:$1'}
}

--In this order: alternate name, name of parameter from databases table
p.aliases={
{'Wd','Wikidata'},
{'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'},
}

returnp