模块:Taxonbar/conf

okcih Wikipedia

可在模块:Taxonbar/conf/doc创建此模块的帮助文档

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; without a taxon link     |
--| set to its negative    | that database won't show unless forced; with a taxon link        |
-----------------------------------------------------------------------------------------------
p.databases = {
	{ 'Wikidata', '[[Veizgiek Sugi]]', 'Wikidata:$1' },
	{ 'Wikispecies', '[[Veizgiek Vuzcung]]', 'Wikispecies:$1' },
	
	--Wikidata properties for identifing taxa
	{ 'ABA', '[[美国赏鸟协会|ABA]]', 4526 }, -- DNE: [[美國賞鳥協會/American Birding Association]]
	{ 'ADW', '[[动物多样性网|ADW]]', 4024 },
	{ 'AFD', '[[Australian Faunal Directory|AFD]]', 6039 },
	{ 'AfroMoths', 'AfroMoths', 6093 }, ---[[AfroMoths]] DNE
	{ 'AlgaeBase', '[[AlgaeBase]]', 1348 },
	{ 'AmphibiaWeb', '[[AmphibiaWeb]]', 5036 },
	{ 'AntWeb', '[[AntWeb]]', 5299 },
	{ 'AoI', 'AoI', 5003 }, ---[[Amphibians of India]] DNE
	{ 'AoFP', 'AoFP', 6159 }, ---[[Atlas of Florida Plants]] DNE
	{ 'APA', 'APA', 6137 }, ---[[Alabama Plant Atlas]] DNE
	{ 'APDB', 'APDB', 2036 }, ---[[African Plant Database]] DNE
	{ 'APNI', '[[Australian Plant Name Index|APNI]]', 5984 },
	{ 'APSA', 'APSA', 2809 }, ---[[Australasian Pollen and Spore Atlas]] DNE
	{ 'Araneae', 'Araneae', 3594 }, ---[[]] DNE
	{ 'ARKive', '[[ARKive]]', 2833 },
	{ 'ASW', '[[Amphibian Species of the World|ASW]]', 5354 },
	{ 'ATRF', '[[Australian Tropical Rainforest Plants|ATRF]]', 6904 },
	{ 'AusFungi', '[[Australian online fauna & flora databases|AusFungi]]', 9076 },
	{ 'AusLichen', '[[Australian online fauna & flora databases|AusLichen]]', 9093 },
	{ 'Avibase', 'Avibase', 2026 }, ---[[]] DNE
	{ 'BacDive', '[[BacDive]]', 2946 },
	{ 'Bamona', 'BAMONA', 3398 }, ---[[Butterflies and Moths of North America]] DNE	
	{ 'BHL', '[[生物多样性历史文献图书馆|BHL]]', 687 },
	{ 'BioLib', 'BioLib', 838 }, ---[[]] DNE
	{ 'BirdLife', '[[國際鳥盟|BirdLife]]', 5257 },
	{ 'BirdLife-Australia', '[[BirdLife Australia|BirdLife-Australia]]', 6040 },
	{ 'BOLD', '[[生命条形码数据系统|BOLD]]', 3606 },
	{ 'BTO', '[[British Trust for Ornithology|BTO]]', 4798 }, -- BTO 英国鸟类 ID(链接至包含代码的页面)
--	{ 'BTO', '[[British Trust for Ornithology|BTO]]', 4567 }, -- BTO 五字母代码(无链接)
	{ 'BugGuide', '[[BugGuide]]', 2464 },
	{ 'ButMoth', '[[自然史博物館|ButMoth]]', 3060 },
	{ 'Calflora', 'Calflora', 3420 }, -- DNE: [[Calflora]]
	{ 'Cal-IPC', 'Cal-IPC', 6176 }, ---[[California Invasive Plant Council]] DNE
	{ 'Center', '[[Center for Biological Diversity|Center]]', 6003 },
	{ 'CMS', '[[保護野生動物遷徙物種公約|CMS]]', 6033 },
	{ 'CNPS', '[[California Native Plant Society|CNPS]]', 4194 },
	{ 'Cockroach Species File', 'Cockroach Species File', 6052 }, ---[[]] DNE
	{ 'CoL-Taiwan', '[[臺灣物種名錄]]', 3088 }, -- DNE: [[CoL-Taiwan]]
	{ 'Conifers', 'Conifers.org', 1940 }, -- DNE: [[Conifers.org]]
	{ 'Coreoidea Species File', 'Coreoidea Species File', 6053 }, ---[[]] DNE
    { 'bow', 'BOW', 3444 },  -- 世界鸟类数据库使用的 eBird 识别码(该码为康奈尔鸟类学实验室旗下所有数据库的通用识别码)
	{ 'eBird', '[[eBird]]', 3444 },
	{ 'Ecocrop', '[[Ecocrop]]', 4753 }, ---[[]] DNE
	{ 'ECOS', 'ECOS', 6030 }, ---[[Environmental Conservation Online System]] DNE
	{ 'eFloraSA', '[[State Herbarium of South Australia|eFloraSA]]', 6933 },
	{ 'EoL', '[[网络生命大百科|EoL]]', 830 },
	{ 'EPPO', '[[EPPO代码|EPPO]]', 3031 },
	{ 'EUNIS', '[[European Nature Information System|EUNIS]]', 6177 },
	{ 'Euring', 'Euring', 3459 }, ---[[Euring number]] DNE
	{ 'FaunaEuropaea', '[[Fauna Europaea]]', 1895 }, 
	{ 'FaunaEuropaeaNew', '[[Fauna Europaea|Fauna Europaea (new)]]', 4807 }, 
	{ 'FEIS', 'FEIS', 6044 }, ---[[Fire Effects Information System]] DNE
	{ 'FishBase', '[[世界鱼类数据库|FishBase]]', 938 },
	{ 'FloraBase', '[[FloraBase]]', 3101 },
	{ 'FLOW', 'FLOW', 6096 }, ---[[Fulgoromorpha Lists On the Web]] DNE
	{ 'FNA', '[[北美植物志|FNA]]', 1727 },
	{ 'FoAO', '[[澳洲植物誌|FoAO]]', 3100 }, --old
	{ 'FoAO2', '[[澳洲植物誌|FoAO2]]', 6756 }, --new
	{ 'FoC', '[[Flora of China|FoC]]', 1747 },
	{ 'FoIO', 'FoIO', 3795 }, ---[[Flora of Israel Online]] DNE, he.wiki link interferes with display
	{ 'Fossilworks', '[[Fossilworks]]', 842 },
	{ 'Fungorum', '[[真菌索引]]', 1391 },
	{ 'GBIF', '[[全球生物多樣性資訊機構|GBIF]]', 846 },
	{ 'GISD', '[[全球入侵物種資料庫|GISD]]', 5626 },
	{ 'GNAB', 'GNAB', 4715 }, ---[[Guide to North American Birds]] DNE
	{ 'GONIAT', 'GONIAT', 5216 }, ---[[]] DNE
	{ 'GrassBase', '[[GrassBase]]', 1832 },
	{ 'GRIN', '[[美国种质资源信息网络|GRIN]]', 1421 },
	{ 'IBC', 'IBC', 3099 }, -- DNE: [[Handbook of the Birds of the World]]
	{ 'ICTV', '[[國際病毒分類委員會|ICTV]]', 1076 },
	{ 'iNaturalist', '[[iNaturalist]]', 3151 },
	{ 'IPA', 'IPA', 6161 }, ---[[Invasive Plant Atlas of the United States]] DNE
	{ 'IPNI', '[[国际植物名称索引|IPNI]]', 961 },
	{ 'IRMNG', '[[海洋和非海洋属临时登记册|IRMNG]]', 5055 },
	{ 'ISC', '[[Invasive Species Compendium|ISC]]', 5698 },
	{ 'ITIS', '[[整合分類學資訊系統|ITIS]]', 815 },
	{ 'IUCN', '[[國際自然保護聯盟瀕危物種紅色名錄|IUCN]]', 627 },
	{ 'LepIndex', '[[The Global Lepidoptera Names Index|LepIndex]]', 3064 },
	{ 'LoB', 'LoB', 5862 }, ---[[Catalogue of Lepidoptera of Belgium]] DNE
	{ 'LPSN', '[[List of Prokaryotic names with Standing in Nomenclature|LPSN]]', 1991 },
	{ 'Mantodea Species File', 'Mantodea Species File', 6055 }, ---[[]] DNE
	{ 'MichiganFlora', 'MichiganFlora', 6103 }, ---[[Michigan Flora]] DNE
	{ 'MoBotPF', '[[密蘇里植物園|MoBotPF]]', 6034 },
	{ 'MoL', 'MoL', 6092 }, ---[[Map of Life]] DNE
	{ 'MNHN', '[[国家自然历史博物馆 (法国)|MNHN]]', 6046 },
	{ 'MONA', '[[List of moths of North America|MONA]]', 4758 },
	{ 'MSW', '[[世界哺乳动物物种|MSW]]', 959 },
	{ 'MycoBank', '[[MycoBank]]', 962 },
	{ 'NAS', 'NAS', 6163 }, ---[[Nonindigenous Aquatic Species]] DNE
	{ 'NBN', '[[英国国家生物多样性网络|NBN]]', 3240 },
	{ 'NCBI', '[[美国国家生物技术信息中心|NCBI]]', 685 },
	{ 'Neotropical', '[[Neotropical Birds Online|Neotropical]]', 6047 },
	{ 'NOAA', '[[美国国家海洋渔业局|NOAA]]', 6049 },
	{ 'NSWFlora', '[[NSWFlora]]', 3130 }, ---[[New South Wales Flora]] 
	{ 'NTFlora', '[[FloraNT|NTFlora]]', 5953 }, ---inconsistent property name/link
	{ 'NZBO', 'NZBO', 6048 }, ---[[New Zealand Birds Online]] DNE
	{ 'NZOR', 'NZOR', 2752 }, ---[[New Zealand Organisms Register]] DNE
	{ 'NZPCN', '[[New Zealand Plant Conservation Network|NZPCN]]', 7496 }, 
	{ 'OBIS', '[[海洋生物地理信息系统|OBIS]]', 6754 }, 	
	{ 'ODNR', '[[Ohio Department of Natural Resources|ODNR]]', 6289 },
	{ 'Orthoptera Species File', 'Orthoptera Species File', 6050 }, ---[[]] DNE
	{ 'Paldat', 'PalDat', 4122 }, ---[[Palynological Database]] DNE
	{ 'Panartic', 'Panartic Flora', 2434 }, ---[[]] DNE
	{ 'PfaF', '[[Plants for a Future|PfaF]]', 4301 },
	{ 'PFI', 'PFI', 6114 }, ---[[Portal to the Flora of Italy]] DNE
	{ 'Phasmida Species File', 'Phasmida Species File', 4855 }, ---[[]] DNE
	{ 'PPE', 'PPE', 6061 }, ---[[Plant Parasites of Europe]] DNE
	{ 'PlantList', '[[全球植物名录|TPL]]', 1070 },
	{ 'PLANTS', '[[Natural Resources Conservation Service#Plants|PLANTS]]', 1772 },
	{ 'Plazi', '[[Plazi]]', 1992 },
	{ 'POWO', '[[世界植物在线|POWO]]', 5037 },
	{ 'RD', '[[Reptile Database|RD]]', 5473 },
	{ 'RHS', '[[皇家园艺学会|RHS]]', 8765 },
	{ 'SANBI', '[[South African National Biodiversity Institute|SANBI]]', 6056 },
	{ 'SCC', 'SCC', 6057 }, ---[[Systematic Catalog of Culicidae]] DNE
	{ 'SeaLifeBase', '[[SeaLifeBase]]', 6018 },
	{ 'SEINet', 'SEINet', 6209 }, ---[[]] DNE
	{ 'Species+', '[[瀕危野生動植物種國際貿易公約|Species+]]', 2040 },
	{ 'SPRAT', '[[Species Profile and Threats Database|SPRAT]]', 2455 },
	{ 'Steere', '[[纽约植物园|Steere]]', 6035 },
	{ 'Tree of Life', '[[生命之树网络项目|Tree of Life]]', 5221 },
	{ 'Tropicos', '[[Tropicos]]', 960 },
	{ 'TSA', '[[:de:Tierstimmenarchiv|TSA]]', 5397 }, ---closest match
	{ 'uBio', 'uBio', 4728 }, ---[[Universal Biological Indexer and Organizer]] DNE
	{ 'VASCAN', 'VASCAN', 1745 }, -- DNE: [[Vascular Plants of Canada]]
	{ 'Watson', 'Watson & Dallwitz', 1761 }, -- DNE: [[Watson & Dallwitz]]
	{ 'WCSP', '[[世界選定植物科別目錄|WCSP]]', 3591 }, -- DNE: [[World Checklist of Selected Plant Families]]
	{ 'WiO', 'WiO', 6285 }, ---[[Weeds in Ontario]] DNE
	{ 'WisFlora', 'WisFlora', 6227 }, ---[[Flora of Wisconsin]] DNE
	{ 'WOI', 'WOI', 3746 }, -- DNE: [[Wildflowers of Israel]]
	{ 'WFO', '[[世界在线植物志|WFO]]', 7715 },
	{ 'WoRMS', '[[世界海洋物种目录|WoRMS]]', 850 },
	{ 'WSC', 'WSC', 3288 }, -- DNE: [[World Spider Catalog]]
	{ 'Xeno-canto', 'Xeno-canto', 2426 }, -- DNE: [[Xeno-canto]]
	{ 'ZooBank', '[[ZooBank]]', 1746 }, -- DNE: [[ZooBank]]
	
	--URLs (parameter must be manually specified on each Wikipedia article)
	{ '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' },
	{ '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/doc#Excluded databases)
	{ 'CONABIO', '[[CONABIO]]', -4902 },
	{ 'CzechNDOP', '[[:cs:Agentura ochrany přírody a krajiny ČR|CzechNDOP]]', -5263 }, ---closest match
	{ 'DFCA', 'DFCA', -6115 }, ---[[Digital Flora of Central Africa]] DNE
	{ 'DORIS', "[[:fr:DORIS (FFESSM)|DORIS]]", -4630 }, ---closest match
	{ 'Dyntaxa', 'Dyntaxa', -1939 }, ---[[]] DNE
	{ 'EEO', 'EEO', -6043 }, ---[[Espèces Envahissantes Outre-mer]] DNE
	{ 'FloraCatalana', 'FloraCatalana', -5179 }, ---[[]] DNE
	{ 'FloraWeb', 'FloraWeb', -6094 }, ---[[]] DNE
	{ 'FOIH', '[[Flemish organization for Immovable Heritage|FOIH]]', -4311 },
	{ 'GTIBMA', 'GTIBMA', -6054 }, ---[[Groupe de travail Invasions biologiques en milieux aquatiques]] DNE
	{ 'Hepaticarum', 'Index Hepaticarum', -2794 }, ---[[]] DNE
	{ 'Oiseaux', '[[:fr:Oiseaux.net|Oiseaux]]', -6025 }, ---closest match
	{ 'Plantarium', 'Plantarium', -3102 }, ---[[]] DNE
	{ 'Soortenregister', '[[:nl:Nederlands Soortenregister|Soortenregister]]', -3405 }, ---closest match
	{ 'TAXREF', 'TAXREF', -3186 }, ---[[]] DNE
	{ 'TelaBotanica', '[[TelaBotanica]]', -3105 },
	{ 'Titan', 'Titan', -4125 }, ---[[]] DNE
	{ 'Verspreidingsatlas', 'Verspreidingsatlas', -6142 }, ---[[]] DNE
	{ 'Vlinderstichting', 'Vlinderstichting', -3322 }, ---[[]] DNE
	{ 'WikiAves', 'WikiAves', -4664 }, ---[[]] 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