Module:Taxonbar/conf

From Eat Every Plant
< Module:Taxonbar
Revision as of 19:50, 14 September 2017 by KeenanBot (talk | contribs) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

local p = {}

--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', 'Wd', 'Wikidata:$1' }, { 'ADW', 'ADW', 4024 }, { 'AlgeaBase', 'AlgaeBase', 1348 }, { 'APDB', 'APDB', 2036 }, { 'Araneae', 'Araneae', 3594 }, { 'ARKive', 'ARKive', 2833 }, { 'Avibase', 'Avibase', 2026 }, { 'BacDive', 'BacDive', 2946 }, { 'BHL', 'BHL', 687 }, { 'BioLib', 'BioLib', 838 }, { 'BugGuide', 'BugGuide', 2464 }, { 'ButMoth', 'ButMoth', 3060 }, { 'Conifers', 'Conifers.org', 1940 }, { 'eBird', 'eBird', 3444 }, { 'EoL', 'EoL', 830 }, { 'FaunaEuropaea', 'Fauna Europaea', 0 }, --Disabled wikidata lookup because website is down, property ID was 1895 { 'FishBase', 'FishBase', 938 }, { 'FloraBase', 'FloraBase', 3101 }, { 'Fossilworks', 'Fossilworks', 842 }, { 'FNA', 'FNA', 1727 }, { 'FoAO', 'FoAO', 3100 }, { 'FoC', 'FoC', 1747 }, { 'Fungorum', 'Fungorum', 1391 }, { 'GBIF', 'GBIF', 846 }, { 'GrassBase', 'GrassBase', 1832 }, { 'GRIN', 'GRIN', 1421 }, { 'IBC', 'IBC', 3099 }, { 'ICTV', 'ICTV', 1076 }, { 'iNaturalist', 'iNaturalist', 3151 }, { 'IPNI', 'IPNI', 961 }, { 'ITIS', 'ITIS', 815 }, { 'IUCN', 'IUCN', 627 }, { 'LepIndex', 'LepIndex', 3064 }, { 'LPSN', 'LPSN', 1991 }, { 'MSW', 'MSW', 959 }, { 'MycoBank', 'MycoBank', 962 }, { 'NCBI', 'NCBI', 685 }, { 'Panartic', 'Panartic Flora', 2434 }, { 'Plantarium', 'Plantarium', 3102 }, { 'PlantList', 'Plant List', 1070 }, { 'PLANTS', 'PLANTS', 1772 }, { 'Plazi', 'Plazi', 1992 }, { 'Species+', 'Species+', 2040 }, { 'SPRAT', 'SPRAT', 2455 }, { 'Tropicos', 'Tropicos', 960 }, { 'VASCAN', 'VASCAN', 1745 }, { 'Watson', 'Watson & Dallwitz', 1761 }, { 'WCSP', 'WCSP', 3591 }, { 'WoRMS', 'WoRMS', 850 }, { 'WSC', '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' } }

--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' }, }

return p