local p = {}
--Database entry format: { 'parameter name', 'label to display', propertyId in Wikidata or 'URL' }
--
-----------------------------------------------------------------------------------------------
--| If propertyId is... | then... |
--|------------------------|------------------------------------------------------------------|
--| a Wikidata property ID | it must be a number without quotes |
--| 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') |
--| an interwiki URL | put the interwiki name, a colon, and $1 in quotes (e.g. 'en:$1') |
--| set to 0 | that database won't show unless forced; taxon link suppressed |
--| set to its negative | that database won't show unless forced; taxon link allowed |
-----------------------------------------------------------------------------------------------
p.databases = {
{ 'Wikidata', '[[Wikidata]]', 'Wikidata:$1' }, --for ordering purposes: 1st
{ 'Wikispecies', '[[Wikispecies]]', 'Wikispecies:$1' }, --for ordering purposes: 2nd (if available)
--Wikidata properties for identifying taxa
{ 'ABA', '{{enUici|American Birding Association|ABA}}', 4526 },
{ 'ADW', '{{enUici|Animal Diversity Web|ADW}}', 4024 },
{ 'AFD', '{{enUici|Australian Faunal Directory|AFD}}', 6039 },
{ 'AfroMoths', 'AfroMoths', 6093 }, ---{{enUici|AfroMoths}} DNE
{ 'AlgaeBase', '{{enUici|AlgaeBase}}', 1348 },
{ 'AmphibiaWeb', '{{enUici|AmphibiaWeb}}', 5036 },
{ 'AntWeb', '{{enUici|AntWeb}}', 5299 },
{ 'AoI', 'AoI', 5003 }, ---{{enUici|Amphibians of India}} DNE
{ 'AoFP', 'AoFP', 6159 }, ---{{enUici|Atlas of Florida Plants}} DNE
{ 'APA', 'APA', 6137 }, ---{{enUici|Alabama Plant Atlas}} DNE
{ 'APDB', 'APDB', 2036 }, ---{{enUici|African Plant Database}} DNE
{ 'APNI', '{{enUici|Australian Plant Name Index|APNI}}', 5984 },
{ 'APSA', 'APSA', 2809 }, ---{{enUici|Australasian Pollen and Spore Atlas}} DNE
{ 'Araneae', 'Araneae', 3594 }, ---{{enUici|}} DNE
{ 'ARKive', '{{enUici|ARKive}}', 2833 },
{ 'ASW', '{{enUici|Amphibian Species of the World|ASW}}', 5354 },
{ 'ATRF', 'ATRF', 6904 }, ---{{enUici|Australian Tropical Rainforest}} DNE
{ 'Avibase', 'Avibase', 2026 }, ---{{enUici|}} DNE
{ 'BacDive', '{{enUici|BacDive}}', 2946 },
{ 'Bamona', 'BAMONA', 3398 }, ---{{enUici|Butterflies and Moths of North America}} DNE
{ 'BHL', '{{enUici|Biodiversity Heritage Library|BHL}}', 687 },
{ 'BioLib', 'BioLib', 838 }, ---{{enUici|}} DNE
{ 'BirdLife', '{{enUici|BirdLife International|BirdLife}}', 5257 },
{ 'BirdLife-Australia', '{{enUici|BirdLife Australia|BirdLife-Australia}}', 6040 },
{ 'BOLD', '{{enUici|Barcode of Life Data System|BOLD}}', 3606 },
{ 'BTO', '{{enUici|British Trust for Ornithology|BTO}}', 4567 },
{ 'BugGuide', '{{enUici|BugGuide}}', 2464 },
{ 'ButMoth', '{{enUici|Natural History Museum#Butterflies and Moths of the World|ButMoth}}', 3060 },
{ 'Calflora', 'Calflora', 3420 }, ---{{enUici|}} DNE
{ 'Cal-IPC', 'Cal-IPC', 6176 }, ---{{enUici|California Invasive Plant Council}} DNE
{ 'Center', '{{enUici|Center for Biological Diversity|Center}}', 6003 },
{ 'CMS', '{{enUici|Convention on the Conservation of Migratory Species of Wild Animals|CMS}}', 6033 },
{ 'CNPS', '{{enUici|California Native Plant Society|CNPS}}', 4194 },
{ 'Cockroach Species File', 'Cockroach Species File', 6052 }, ---{{enUici|}} DNE
{ 'Conifers', 'Conifers.org', 1940 }, ---{{enUici|}} DNE
{ 'Coreoidea Species File', 'Coreoidea Species File', 6053 }, ---{{enUici|}} DNE
{ 'eBird', '{{enUici|eBird}}', 3444 },
{ 'Ecocrop', '{{enUici|Ecocrop}}', 4753 }, ---{{enUici|}} DNE
{ 'ECOS', 'ECOS', 6030 }, ---{{enUici|Environmental Conservation Online System}} DNE
{ 'eFloraSA', '{{enUici|State Herbarium of South Australia|eFloraSA}}', 6933 },
{ 'EoL', '{{enUici|Encyclopedia of Life|EoL}}', 830 },
{ 'EPPO', '{{enUici|EPPO Code|EPPO}}', 3031 },
{ 'EUNIS', '{{enUici|European Nature Information System|EUNIS}}', 6177 },
{ 'Euring', 'Euring', 3459 }, ---{{enUici|Euring number}} DNE
{ 'FaunaEuropaea', '{{enUici|Fauna Europaea}}', 1895 },
{ 'FaunaEuropaeaNew', '{{enUici|Fauna Europaea|Fauna Europaea (new)}}', 4807 },
{ 'FEIS', 'FEIS', 6044 }, ---{{enUici|Fire Effects Information System}} DNE
{ 'FishBase', '{{enUici|FishBase}}', 938 },
{ 'FloraBase', '{{enUici|FloraBase}}', 3101 },
{ 'FLOW', 'FLOW', 6096 }, ---{{enUici|Fulgoromorpha Lists On the Web}} DNE
{ 'FNA', '{{enUici|Flora of North America|FNA}}', 1727 },
{ 'FoAO', '{{enUici|Flora of Australia|FoAO}}', 3100 }, --old
{ 'FoAO2', '{{enUici|Flora of Australia|FoAO2}}', 6756 }, --new
{ 'FoC', '{{enUici|Flora of China|FoC}}', 1747 },
{ 'FoIO', 'FoIO', 3795 }, ---{{enUici|Flora of Israel Online}} DNE, he.wiki link interferes with display
{ 'Fossilworks', '{{enUici|Fossilworks}}', 842 },
{ 'Fungorum', '{{enUici|Index Fungorum|Fungorum}}', 1391 },
{ 'GBIF', '{{enUici|Global Biodiversity Information Facility|GBIF}}', 846 },
{ 'GISD', '{{enUici|:fr:Global Invasive Species Database|GISD}}', 5626 }, ---closest match
{ 'GNAB', 'GNAB', 4715 }, ---{{enUici|Guide to North American Birds}} DNE
{ 'GONIAT', 'GONIAT', 5216 }, ---{{enUici|}} DNE
{ 'GrassBase', '{{enUici|GrassBase}}', 1832 },
{ 'GRIN', '{{enUici|Germplasm Resources Information Network|GRIN}}', 1421 },
{ 'IBC', '{{enUici|Handbook of the Birds of the World|IBC}}', 3099 },
-- { 'ICTV', '{{enUici|International Committee on Taxonomy of Viruses|ICTV}}', 1076 }, ---currently unavailable and a new wididata identifier will be needed for the new taxon id
{ 'iNaturalist', '{{enUici|iNaturalist}}', 3151 },
{ 'IPA', 'IPA', 6161 }, ---{{enUici|Invasive Plant Atlas of the United States}} DNE
{ 'IPNI', '{{enUici|International Plant Names Index|IPNI}}', 961 },
{ 'IRMNG', '{{enUici|Interim Register of Marine and Nonmarine Genera|IRMNG}}', 5055 },
{ 'ISC', '{{enUici|Invasive Species Compendium|ISC}}', 5698 },
{ 'ITIS', '{{enUici|Integrated Taxonomic Information System|ITIS}}', 815 },
{ 'IUCN', '{{enUici|IUCN Red List|IUCN}}', 627 },
{ 'LepIndex', '{{enUici|The Global Lepidoptera Names Index|LepIndex}}', 3064 },
{ 'LoB', 'LoB', 5862 }, ---{{enUici|Catalogue of Lepidoptera of Belgium}} DNE
{ 'LPSN', '{{enUici|List of Prokaryotic names with Standing in Nomenclature|LPSN}}', 1991 },
{ 'Mantodea Species File', 'Mantodea Species File', 6055 }, ---{{enUici|}} DNE
{ 'MichiganFlora', 'MichiganFlora', 6103 }, ---{{enUici|Michigan Flora}} DNE
{ 'MoBotPF', '{{enUici|Missouri Botanical Garden|MoBotPF}}', 6034 },
{ 'MoL', 'MoL', 6092 }, ---{{enUici|Map of Life}} DNE
{ 'MNHN', '{{enUici|National Museum of Natural History, France|MNHN}}', 6046 },
{ 'MONA', '{{enUici|List of moths of North America|MONA}}', 4758 },
{ 'MSW', '{{enUici|Mammal Species of the World|MSW}}', 959 },
{ 'MycoBank', '{{enUici|MycoBank}}', 962 },
{ 'NAS', 'NAS', 6163 }, ---{{enUici|Nonindigenous Aquatic Species}} DNE
{ 'NBN', '{{enUici|National Biodiversity Network|NBN}}', 3240 },
{ 'NCBI', '{{enUici|National Center for Biotechnology Information|NCBI}}', 685 },
{ 'Neotropical', '{{enUici|Neotropical Birds Online|Neotropical}}', 6047 },
{ 'NOAA', '{{enUici|National Marine Fisheries Service|NOAA}}', 6049 },
{ 'NSWFlora', '{{enUici|NSWFlora}}', 3130 }, ---{{enUici|New South Wales Flora}}
{ 'NTFlora', '{{enUici|FloraNT|NTFlora}}', 5953 }, ---inconsistent property name/link
{ 'NZBO', 'NZBO', 6048 }, ---{{enUici|New Zealand Birds Online}} DNE
{ 'NZOR', 'NZOR', 2752 }, ---{{enUici|New Zealand Organisms Register}} DNE
{ 'NZPCN', '{{enUici|New Zealand Plant Conservation Network|NZPCN}}', 7496 },
{ 'ODNR', '{{enUici|Ohio Department of Natural Resources|ODNR}}', 6289 },
{ 'Orthoptera Species File', 'Orthoptera Species File', 6050 }, ---{{enUici|}} DNE
{ 'Paldat', 'PalDat', 4122 }, ---{{enUici|Palynological Database}} DNE
{ 'Panartic', 'Panartic Flora', 2434 }, ---{{enUici|}} DNE
{ 'PfaF', '{{enUici|Plants for a Future|PfaF}}', 4301 },
{ 'PFI', 'PFI', 6114 }, ---{{enUici|Portal to the Flora of Italy}} DNE
{ 'Phasmida Species File', 'Phasmida Species File', 4855 }, ---{{enUici|}} DNE
{ 'PPE', 'PPE', 6061 }, ---{{enUici|Plant Parasites of Europe}} DNE
{ 'PlantList', '{{enUici|The Plant List|Plant List}}', 1070 },
{ 'PLANTS', '{{enUici|Natural Resources Conservation Service#Plants|PLANTS}}', 1772 },
{ 'Plazi', '{{enUici|Plazi}}', 1992 },
{ 'POWO', '{{enUici|Plants of the World Online|POWO}}', 5037 },
{ 'RD', '{{enUici|Reptile Database|RD}}', 5473 },
{ 'SANBI', '{{enUici|South African National Biodiversity Institute|SANBI}}', 6056 },
{ 'SCC', 'SCC', 6057 }, ---{{enUici|Systematic Catalog of Culicidae}} DNE
{ 'SeaLifeBase', '{{enUici|SeaLifeBase}}', 6018 },
{ 'SEINet', 'SEINet', 6209 }, ---{{enUici|}} DNE
{ 'Species+', '{{enUici|CITES|Species+}}', 2040 },
{ 'SPRAT', '{{enUici|Species Profile and Threats Database|SPRAT}}', 2455 },
{ 'Steere', '{{enUici|New York Botanical Garden|Steere}}', 6035 },
{ 'Tree of Life', '{{enUici|Tree of Life Web Project|Tree of Life}}', 5221 },
{ 'Tropicos', '{{enUici|Tropicos}}', 960 },
{ 'TSA', '{{enUici|:de:Tierstimmenarchiv|TSA}}', 5397 }, ---closest match
{ 'uBio', 'uBio', 4728 }, ---{{enUici|Universal Biological Indexer and Organizer}} DNE
{ 'VASCAN', 'VASCAN', 1745 }, ---{{enUici|Vascular Plants of Canada}} DNE
{ 'VicFlora', '{{enUici|National Herbarium of Victoria|VicFlora}}', 5945 }, ---closest match
{ 'Watson', 'Watson & Dallwitz', 1761 }, ---{{enUici|}} DNE
{ 'WCSP', '{{enUici|World Checklist of Selected Plant Families|WCSP}}', 3591 },
{ 'WiO', 'WiO', 6285 }, ---{{enUici|Weeds in Ontario}} DNE
{ 'WisFlora', 'WisFlora', 6227 }, ---{{enUici|Flora of Wisconsin}} DNE
{ 'WoI', 'WoI', 3746 }, ---{{enUici|Wildflowers of Israel}} DNE
{ 'WFO', '{{enUici|World Flora Online|WFO}}', 7715 },
{ 'WoRMS', '{{enUici|World Register of Marine Species|WoRMS}}', 850 },
{ 'WSC', '{{enUici|World Spider Catalog|WSC}}', 3288 },
{ 'Xeno-canto', '{{enUici|Xeno-canto}}', 2426 },
{ 'ZooBank', '{{enUici|ZooBank}}', 1746 },
--URLs (parameter must be manually specified on each Wikipedia article)
{ 'eMonocot', '{{enUici|eMonocot}}', 'http://e-monocot.org/taxon/urn:kew.org:wcs:taxon:$1' },
{ 'emonocotfamily', '{{enUici|eMonocot}}', 'http://e-monocot.org/taxon/urn:kew.org:wcs:family:$1' },
{ 'WSC species', '{{enUici|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', '{{enUici|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', '{{enUici|World Spider Catalog}}', 'http://www.wsc.nmbe.ch/search?sFamily=&fMt=begin&sGenus=&gMt=begin&sSpecies=&sMt=begin&mMt=exact&multiPurpose=flsid&sMulti=$1' },
--hidden by default (usually b/c !English, see Taxonbar/doc#Excluded databases)
{ 'CoL-Taiwan', 'CoL-Taiwan', -3088 }, ---{{enUici|} DNE
{ 'CONABIO', '{{enUici|CONABIO}}', -4902 },
{ 'CzechNDOP', '[[:cs:w:Agentura ochrany přírody a krajiny ČR|CzechNDOP]]', -5263 }, ---closest match
{ 'DFCA', 'DFCA', -6115 }, ---{{enUici|Digital Flora of Central Africa}} DNE
{ 'DORIS', "[[:fr:w:DORIS (FFESSM)|DORIS]]", -4630 }, ---closest match
{ 'Dyntaxa', 'Dyntaxa', -1939 }, ---{{enUici|} DNE
{ 'EEO', 'EEO', -6043 }, ---{{enUici|Espèces Envahissantes Outre-mer}} DNE
{ 'FloraCatalana', 'FloraCatalana', -5179 }, ---{{enUici|} DNE
{ 'FloraWeb', 'FloraWeb', -6094 }, ---{{enUici|} DNE
{ 'FOIH', '{{enUici|Flemish organization for Immovable Heritage|FOIH}}', -4311 },
{ 'GTIBMA', 'GTIBMA', -6054 }, ---{{enUici|Groupe de travail Invasions biologiques en milieux aquatiques}} DNE
{ 'Hepaticarum', 'Index Hepaticarum', -2794 }, ---{{enUici|} DNE
{ 'Oiseaux', '[[:fr:w:Oiseaux.net|Oiseaux]]', -6025 }, ---closest match
{ 'Plantarium', 'Plantarium', -3102 }, ---{{enUici|} DNE
{ 'Soortenregister', '[[:nl:w:Nederlands Soortenregister|Soortenregister]]', -3405 }, ---closest match
{ 'TAXREF', 'TAXREF', -3186 }, ---{{enUici|} DNE
{ 'TelaBotanica', '{{enUici|TelaBotanica}}', -3105 },
{ 'Titan', 'Titan', -4125 }, ---{{enUici|} DNE
{ 'Verspreidingsatlas', 'Verspreidingsatlas', -6142 }, ---{{enUici|} DNE
{ 'Vlinderstichting', 'Vlinderstichting', -3322 }, ---{{enUici|} DNE
{ 'WikiAves', 'WikiAves', -4664 }, ---{{enUici|} DNE
}
--Alias entry format: { 'alias', 'parameter name in p.databases' }
p.aliases = {
{ 'AlgeaBase', 'AlgaeBase' },
{ 'FE', 'FaunaEuropaea' },
{ 'FW', 'Fossilworks' },
{ 'grinurl', 'GRIN' },
{ 'indexfungorum', 'Fungorum' },
{ 'NameBank', 'uBio' },
{ 'PaleoDB', 'Fossilworks' },
{ 'species', 'Species+' },
{ 'TOL', 'Tree of Life'},
{ 'WCSPF', 'WCSP' },
{ 'wsc-gen', 'WSC genus' },
{ 'wsc-fam', 'WSC family' },
{ 'wsc-sp', 'WSC species'},
{ 'Xenocanto', 'Xeno-canto' },
}
return p