Mô đun:Taxonbar/conf

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 identifing taxa
{ 'ABA', 'ABA', 4526 },
{ 'ADW', 'ADW', 4024 },
{ 'AFD', 'AFD', 6039 },
{ 'AfroMoths', 'AfroMoths', 6093 }, ---AfroMoths DNE as of 3/2023
{ 'AlgaeBase', 'AlgaeBase', 1348 },
{ 'AmphibiaWeb', 'AmphibiaWeb', 5036 },
{ 'AntWeb', 'AntWeb', 5299 },
{ 'AoI', 'AoI', 5003 }, ---Amphibians of India DNE as of 3/2023
{ 'AoFP', 'AoFP', 6159 }, ---Atlas of Florida Plants DNE as of 3/2023
{ 'APA', 'APA', 6137 }, ---Alabama Plant Atlas DNE as of 3/2023
{ 'APDB', 'APDB', 2036 }, ---African Plant Database DNE as of 3/2023
{ 'Aphid Species File', 'Aphid Species File' , 12767}, --- 'Aphid Species File' DNE as of 6/2024
{ 'APNI', 'APNI', 5984 },
{ 'APSA', 'APSA', 2809 }, ---Australasian Pollen and Spore Atlas DNE as of 3/2023
{ 'Araneae', 'Araneae', 3594 }, ---[[]] DNE as of 3/2023
{ 'ARKive', 'ARKive', 2833 },
{ 'ASW', 'ASW', 5354 },
{ 'ATRF', 'ATRF', 6904 },
{ 'AusFungi', 'AusFungi', 9076 },
{ 'AusLichen', 'AusLichen', 9093 },
{ 'Avibase', 'Avibase', 2026 },
{ 'BacDive', 'BacDive', 2946 },
{ 'Bamona', 'BAMONA', 3398 }, ---Butterflies and Moths of North America DNE as of 3/2023
{ 'BHL', 'BHL', 687 },
{ 'BioLib', 'BioLib', 838 }, ---BioLib DNE as of 3/2023
{ 'BirdLife', 'BirdLife', 5257 },
{ 'BirdLife-Australia', 'BirdLife-Australia', 6040 },
{ 'BOLD', 'BOLD', 3606 },
{ 'bow', 'BOW', 3444 }, -- uses eBird identifier (a common identifier for all Cornell Ornithology Labs databases)
{ 'BTO', 'BTO', 4798 }, -- BTO Birds of Britain ID (links to page that includes the code)
-- { 'BTO', 'BTO', 4567 }, -- BTO five-letter code (no link)
{ 'BugGuide', 'BugGuide', 2464 },
{ 'ButMoth', 'ButMoth', 3060 },
{ 'Calflora', 'Calflora', 3420 }, ---Calflora DNE as of 3/2023
{ 'Cal-IPC', 'Cal-IPC', 6176 }, ---California Invasive Plant Council DNE as of 3/2023
{ 'CoL', 'CoL', 10585 },
{ 'Center', 'Center', 6003 },
{ 'CMS', 'CMS', 6033 },
{ 'CNPS', 'CNPS', 4194 },
{ 'Cockroach Species File', 'Cockroach Species File (old)', 6052 }, ---Cockroach Species File DNE as of 3/2023
{ 'Cockroach Species File New', 'Cockroach Species File (new)', 12817 }, --- 'Cockroach Species File' DNE as of 5/2024
{ 'Coleorrhyncha Species File', 'Coleorrhyncha Species File' , 12771}, --- 'Coleorrhyncha Species File' DNE as of 6/2024
{ 'Conifers', 'Conifers.org', 1940 }, ---Conifers.org DNE as of 3/2023
{ 'COOL', 'COOL', 6408 }, --- COOL DNE as of 2/2024
{ 'Coreoidea Species File', 'Coreoidea Species File', 6053 }, ---Coreoidea Species File DNE as of 3/2023
{ 'Dermaptera Species File', 'Dermaptera Species File', 12750 }, --- 'Dermaptera Species File' DNE as of 5/2024
{ 'eBird', 'eBird', 3444 },
{ 'Ecocrop', 'Ecocrop', 4753 },
{ 'ECOS', 'ECOS', 6030 }, ---Environmental Conservation Online System DNE as of 3/2023
{ 'eFloraSA', 'eFloraSA', 6933 },
{ 'Embioptera Species File', 'Embioptera Species File', 12751 }, --- 'Embioptera Species File' DNE as of 5/2024
{ 'EoL', 'EoL', 830 },
{ 'EPPO', 'EPPO', 3031 },
{ 'EUNIS', 'EUNIS', 6177 },
{ 'EURING', 'EURING', 3459 },
{ 'Euro+Med PlantBase', 'Euro+Med PlantBase', 12380 }, ---Euro+Med PlantBase DNE as of 4/2024
{ 'FaunaEuropaea', 'Fauna Europaea', 1895 },
{ 'FaunaEuropaeaNew', 'Fauna Europaea (new)', 4807 },
{ 'FEIS', 'FEIS', 6044 }, ---Fire Effects Information System DNE as of 3/2023
{ 'Featherbase', 'Featherbase', 12589 }, --- DNE as of 4/2024
{ 'FishBase', 'FishBase', 938 },
{ 'FloraBase', 'FloraBase', 3101 },
{ 'FLOW', 'FLOW', 6096 }, ---Fulgoromorpha Lists On the Web DNE as of 3/2023
{ 'FNA', 'FNA', 1727 },
{ 'FoAO', 'FoAO', 3100 }, --old
{ 'FoAO2', 'FoAO2', 6756 }, --new
{ 'FoC', 'FoC', 1747 },
{ 'FoIO', 'FoIO', 3795 }, ---Flora of Israel Online DNE as of 3/2023, he.wiki link interferes with display
-- { 'Fossilworks', 'Fossilworks', 842 }, -- site dead (on 1 Apr 2024)
-- { 'Freebase', 'Freebase', 646 }, -- closed in 2015
{ 'GBIF', 'GBIF', 846 },
{ 'GISD', 'GISD', 5626 },
{ 'GNAB', 'GNAB', 4715 }, ---Guide to North American Birds DNE as of 3/2023
{ 'GONIAT', 'GONIAT', 5216 }, ---GONIAT DNE as of 3/2023
{ 'GrassBase', 'GrassBase', 1832 },
{ 'GRIN', 'GRIN', 1421 },
{ 'Grylloblattodea Species File', 'Grylloblattodea Species File' , 12768}, --- 'Grylloblattodea Species File' DNE as of 6/2024
{ 'IBC', 'IBC', 3099 },
-- { 'ICTV', 'ICTV', 1076 }, ---currently unavailable and a new wididata identifier will be needed for the new taxon id
{ 'IFPNI', 'IFPNI', 6341 },
{ 'iNaturalist', 'iNaturalist', 3151 },
{ 'IndexFungorum', 'IndexFungorum', 1391 },
{ 'IPA', 'IPA', 6161 }, ---Invasive Plant Atlas of the United States DNE as of 3/2023
{ 'IPNI', 'IPNI', 961 },
{ 'IRMNG', 'IRMNG', 5055 },
{ 'ISC', 'ISC', 5698 },
{ 'Isoptera Species File', 'Isoptera Species File', 12752 }, --- 'Isoptera Species File' DNE as of 5/2024
{ 'ITIS', 'ITIS', 815 },
{ 'IUCN', 'IUCN', 627 },
{ 'LepIndex', 'LepIndex', 3064 },
{ 'LoB', 'LoB', 5862 }, ---Catalogue of Lepidoptera of Belgium DNE as of 3/2023
{ 'LPSN', 'LPSN', 1991 },
{ 'Lygaeoidea Species File', 'Lygaeoidea Species File (old)', 11311 }, ---Lygaeoidea Species File DNE as of 12/2022
{ 'Lygaeoidea Species File New', 'Lygaeoidea Species File (new)', 12818 }, --- 'Lygaeoidea Species File' DNE as of 5/2024
{ 'Mantophasmatodea Species File', 'Mantophasmatodea Species File' , 12769}, --- 'Mantophasmatodea Species File' DNE as of 6/2024
{ 'Mantodea Species File', 'Mantodea Species File', 6055 }, ---Mantodea Species File DNE as of 3/2023
{ 'MDD', 'MDD', 12560 },
{ 'MichiganFlora', 'MichiganFlora', 6103 }, ---Michigan Flora DNE as of 3/2023
{ 'MoBotPF', 'MoBotPF', 6034 },
{ 'MoL', 'MoL', 6092 }, ---Map of Life DNE as of 3/2023
{ 'MNHN', 'MNHN', 6046 },
{ 'MilliBase', 'MilliBase', 12271 },
{ 'MONA', 'MONA', 4758 },
{ 'MaBENA', 'MaBENA', 9608 }, ---Moths and Butterflies of Europe and North Africa DNE as of 10/2023
{ 'MSW', 'MSW', 959 },
{ 'MycoBank', 'MycoBank', 962 },
{ 'NAS', 'NAS', 6163 }, ---Nonindigenous Aquatic Species DNE as of 3/2023
{ 'NatureServe', 'NatureServe', 10243 },
{ 'NBN', 'NBN', 3240 },
{ 'NCBI', 'NCBI', 685 },
{ 'Neotropical', 'Neotropical', 6047 },
{ 'NOAA', 'NOAA', 6049 },
{ 'NSWFlora', 'NSWFlora', 3130 }, ---New South Wales Flora
{ 'NTFlora', 'NTFlora', 5953 }, ---inconsistent property name/link
{ 'NZBO', 'NZBO', 6048 }, ---New Zealand Birds Online DNE
{ 'NZOR', 'NZOR', 2752 }, ---New Zealand Organisms Register DNE as of 3/2023
{ 'NZPCN', 'NZPCN', 7496 },
{ 'Observation.org', 'Observation.org', 6105 },
{ 'OBIS', 'OBIS', 6754 },
{ 'ODNR', 'ODNR', 6289 },
{ 'OTTOL', 'Open Tree of Life', 9157 },
{ 'Orthoptera Species File', 'Orthoptera Species File (old)', 6050 }, ---Orthoptera Species File DNE as of 3/2023
{ 'Orthoptera Species File New', 'Orthoptera Species File (new)', 12785 }, ---Orthoptera Species File DNE as of 6/2024
{ 'Paldat', 'PalDat', 4122 }, ---Palynological Database DNE as of 3/2023
{ 'PaleobioDB', 'Paleobiology Database', 10907 },
{ 'Fossilworks', 'Paleobiology Database', 842 }, -- will use to get identifier for PBDB if not already set
{ 'Panarctic', 'Panarctic Flora', 2434 }, ---Panarctic Flora DNE as of 3/2023
{ 'PfaF', 'PfaF', 4301 },
{ 'PFI', 'PFI', 6114 }, ---Portal to the Flora of Italy DNE as of 3/2023
{ 'Phasmida Species File', 'Phasmida Species File (old)', 4855 }, ---Phasmida Species File DNE as of 3/2023
{ 'Phasmida Species File New', 'Phasmida Species File (new)', 12819 }, --- 'Phasmida Species File' DNE as of 5/2024
{ 'Plecoptera Species File', 'Plecoptera Species File' , 12770}, --- 'Plecoptera Species File' DNE as of 6/2024
{ 'PPE', 'PPE', 6061 }, ---Plant Parasites of Europe DNE as of 3/2023
{ 'PlantList', 'Plant List', 1070 },
{ 'PLANTS', 'PLANTS', 1772 },
{ 'PlantZAfrica', 'PlantZAfrica', 12645 },
{ 'Plazi', 'Plazi', 1992 },
{ 'POWO', 'POWO', 5037 },
{ 'Psocodea Species File', 'Psocodea Species File (old)', 8145 }, ---Psocodea Species File DNE as of 11/2021
{ 'Psocodea Species File New', 'Psocodea Species File (new)', 12820 }, --- 'Psocodea Species File' DNE as of 5/2024
{ "Psyl'list", "Psyl'list", 6376 }, --- Psyl'list DNE as of 2/2024
{ 'RD', 'RD', 5473 },
{ 'RHS', 'RHS', 8765 },
{ 'SANBI', 'SANBI', 6056 },
{ 'ScaleNet', 'ScaleNet', 6516 }, --- 'ScaleNet' DNE as of 5/2024
{ 'SCC', 'SCC', 6057 }, ---Systematic Catalog of Culicidae DNE as of 3/2023
{ 'SeaLifeBase', 'SeaLifeBase', 6018 },
{ 'SEINet', 'SEINet', 6209 }, ---SEINet DNE as of 3/2023
{ 'Species+', 'Species+', 2040 },
{ 'SpeciesFungorum', 'SpeciesFungorum', 1391 },
{ 'SPRAT', 'SPRAT', 2455 },
{ 'Steere', 'Steere', 6035 },
{ 'Tree of Life', 'Tree of Life', 5221 },
{ 'Tropicos', 'Tropicos', 960 },
{ 'TSA', 'TSA', 5397 }, ---closest match as of 3/2023
-- { 'uBio', 'uBio', 4728 }, ---Universal Biological Indexer and Organizer DNE as of 3/2023 -- defunct and dead link
{ 'VASCAN', 'VASCAN', 1745 }, ---Vascular Plants of Canada DNE as of 3/2023
{ 'VicFlora', 'VicFlora', 5945 }, ---closest match as of 3/2023
{ 'Watson', 'Watson & Dallwitz', 1761 }, ---[[]] DNE as of 3/2023
{ 'White-Files', 'White-Files', 6347 }, --- )} [[White-Files DNE as of 2/2024
{ 'World Arachnid Catalog', 'WAC', 11803 }, ---World Arachnid Catalog (Q113675145) DNE as of 9/2023
-- { 'WCSP', 'WCSP', 3591 }, -- defunct and dead link (or redirects to POWO)
{ 'WiO', 'WiO', 6285 }, ---Weeds in Ontario DNE as of 3/2023
{ 'WisFlora', 'WisFlora', 6227 }, ---Flora of Wisconsin DNE as of 3/2023
{ 'WoI', 'WoI', 3746 }, ---Wildflowers of Israel DNE as of 3/2023
{ 'WFO', 'WFO', 7715 },
{ 'World Auchenorrhyncha DB', 'World Auchenorrhyncha DB', 12057 }, ---World Auchenorrhyncha Database DNE as of 11/2023
{ 'WoRMS', 'WoRMS', 850 },
{ 'WSC', 'WSC', 3288 },
{ 'Xeno-canto', 'Xeno-canto', 2426 },
{ 'ZooBank', 'ZooBank', 1746 },
{ 'Zoraptera Species File', 'Zoraptera Species File', 12753 }, --- 'Zoraptera Species File' DNE as of 5/2024

--URLs (parameter must be manually specified on each Wikipedia article)
--{ 'eMonocot', 'eMonocot', 'http://e-monocot.org/taxon/urn:kew.org:wcs:taxon:$1' }, -- defunct and dead link (or redirects to POWO)
--{ 'emonocotfamily', 'eMonocot', 'http://e-monocot.org/taxon/urn:kew.org:wcs:family:$1' }, -- ditto
{ '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' },

--hidden by default (usually b/c !English, see Taxonbar/docExcluded databases)
{ 'CoL-Taiwan', 'CoL-Taiwan', -3088 }, ---[[]] DNE as of 3/2023
{ 'CONABIO', 'CONABIO', -4902 },
{ 'CzechNDOP', 'CzechNDOP', -5263 }, ---closest match
{ 'DFCA', 'DFCA', -6115 }, ---Digital Flora of Central Africa DNE as of 3/2023
{ 'DORIS', "DORIS", -4630 }, ---closest match
{ 'Dyntaxa', 'Dyntaxa', -1939 }, ---Dyntaxa DNE
{ 'EEO', 'EEO', -6043 }, ---Espèces Envahissantes Outre-mer DNE as of 3/2023
{ 'FloraCatalana', 'FloraCatalana', -5179 }, ---FloraCatalana DNE as of 3/2023
{ 'FloraWeb', 'FloraWeb', -6094 }, ---FloraWeb DNE as of 3/2023
{ 'FOIH', 'FOIH', -4311 },
{ 'GTIBMA', 'GTIBMA', -6054 }, ---Groupe de travail Invasions biologiques en milieux aquatiques DNE
{ 'Hepaticarum', 'Index Hepaticarum', -2794 }, ---Index Hepaticarum DNE; redirects to List of E. Schweizerbart serials as of 3/2023
{ 'Oiseaux', 'Oiseaux', -6025 }, ---closest match
{ 'Plantarium', 'Plantarium', -3102 }, ---Plantarium DNE as of 3/2023
{ 'Soortenregister', 'Soortenregister', -3405 }, ---closest match
{ 'TAXREF', 'TAXREF', -3186 }, ---TAXREF DNE as of 3/2023
{ 'TelaBotanica', 'TelaBotanica', -3105 },
{ 'Titan', 'Titan', -4125 }, ---[[]] DNE as of 3/2023
{ 'Verspreidingsatlas', 'Verspreidingsatlas', -6142 }, ---Verspreidingsatlas DNE as of 3/2023
{ 'Vlinderstichting', 'Vlinderstichting', -3322 }, ---Vlinderstichting DNE as of 3/2023
{ 'WikiAves', 'WikiAves', -4664 },
}

--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