Difference between revisions of "Module:Taxonbar/conf"

From Eat Every Plant
Jump to navigation Jump to search
m (1 revision: Hyptis emoryi)
 
m (1 revision: Viola tricolor)
(One intermediate revision by the same user not shown)
Line 15: Line 15:
 
-----------------------------------------------------------------------------------------------
 
-----------------------------------------------------------------------------------------------
 
p.databases = {
 
p.databases = {
{ 'Wikidata', '[[Wikidata]]', 'Wikidata:$1' },
+
{ 'Wikidata', '[[Wikidata]]', 'Wikidata:$1' }, --for ordering purposes: 1st
 +
{ 'Wikispecies', '[[Wikispecies]]', 'Wikispecies:$1' }, --for ordering purposes: 2nd (if available)
 
 
 
--Wikidata properties for identifing taxa
 
--Wikidata properties for identifing taxa
Line 98: Line 99:
 
{ '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 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' },
 
{ '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' },
 
 
 
 
--hidden by default (usually b/c !English, see Taxonbar/doc#Excluded databases)
 
--hidden by default (usually b/c !English, see Taxonbar/doc#Excluded databases)
Line 113: Line 113:
 
--Alias entry format: { alias, parameter name in p.databases }
 
--Alias entry format: { alias, parameter name in p.databases }
 
p.aliases = {
 
p.aliases = {
{ 'Wd', 'Wikidata' },
 
 
{ 'AlgeaBase', 'AlgaeBase' },
 
{ 'AlgeaBase', 'AlgaeBase' },
 
{ 'FE', 'FaunaEuropaea' },
 
{ 'FE', 'FaunaEuropaea' },

Revision as of 09:03, 24 June 2018

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', '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 }, { 'AlgaeBase', 'AlgaeBase', 1348 }, { 'AmphibiaWeb', 'AmphibiaWeb', 5036 }, { 'AntWeb', 'AntWeb', 5299 }, { 'APDB', 'APDB', 2036 }, ---African Plant Database DNE { 'Araneae', 'Araneae', 3594 }, ---[[]] DNE { 'ARKive', 'ARKive', 2833 }, { '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 }, { 'BOLD', 'BOLD', 3606 }, { 'BTO', 'BTO', 4567 }, { 'BugGuide', 'BugGuide', 2464 }, { 'ButMoth', 'ButMoth', 3060 }, { 'Calflora', 'Calflora', 3420 }, ---[[]] DNE { 'CNPS', 'CNPS', 4194 }, { 'Conifers', 'Conifers.org', 1940 }, ---[[]] DNE { 'eBird', 'eBird', 3444 }, { 'EoL', 'EoL', 830 }, { 'EPPO', 'EPPO', 3031 }, { 'FaunaEuropaea', 'Fauna Europaea', 1895 }, { 'FishBase', 'FishBase', 938 }, { 'FloraBase', 'FloraBase', 3101 }, { 'FNA', 'FNA', 1727 }, { 'FoAO', 'FoAO', 3100 }, { 'FoC', 'FoC', 1747 }, { 'Fossilworks', 'Fossilworks', 842 }, { 'Fungorum', 'Fungorum', 1391 }, { 'GBIF', 'GBIF', 846 }, { 'GONIAT', 'GONIAT', 5216 }, ---[[]] DNE { 'GrassBase', 'GrassBase', 1832 }, { 'GRIN', 'GRIN', 1421 }, { 'IBC', 'IBC', 3099 }, { 'ICTV', 'ICTV', 1076 }, { 'iNaturalist', 'iNaturalist', 3151 }, { 'IPNI', 'IPNI', 961 }, { 'IRMNG', 'IRMNG', 5055 }, ---Interim Register of Marine and Nonmarine Genera DNE { 'ITIS', 'ITIS', 815 }, { 'IUCN', 'IUCN', 627 }, { 'LepIndex', 'LepIndex', 3064 }, { 'LPSN', 'LPSN', 1991 }, { 'MONA', 'MONA', 4758 }, { 'MSW', 'MSW', 959 }, { 'MycoBank', 'MycoBank', 962 }, { 'NBN', 'NBN', 3240 }, { 'NCBI', 'NCBI', 685 }, { 'NZOR', 'NZOR', 2752 }, ---New Zealand Organisms Register DNE { 'Paldat', 'PalDat', 4122 }, ---Palynological Database DNE { 'Panartic', 'Panartic Flora', 2434 }, ---[[]] DNE { 'PfaF', 'PfaF', 4301 }, { 'PSF', 'PSF', 4855 }, ---Phasmida Species File DNE { 'Plantarium', 'Plantarium', 3102 }, ---[[]] DNE { 'PlantList', 'Plant List', 1070 }, { 'PLANTS', 'PLANTS', 1772 }, { 'Plazi', 'Plazi', 1992 }, { 'POWO', 'POWO', 5037 }, { 'Species+', 'Species+', 2040 }, { 'SPRAT', 'SPRAT', 2455 }, { 'Tropicos', 'Tropicos', 960 }, { 'Tree of Life', 'Tree of Life', 5221 }, { 'uBio', 'uBio', 4728 }, ---Universal Biological Indexer and Organizer DNE { 'VASCAN', 'VASCAN', 1745 }, ---Vascular Plants of Canada DNE { 'Watson', 'Watson & Dallwitz', 1761 }, ---[[]] DNE { 'WCSP', 'WCSP', 3591 }, { 'WOI', 'WOI', 3746 }, ---Wildflowers of Israel DNE { 'WoRMS', 'WoRMS', 850 }, { 'WSC', 'WSC', 3288 }, { 'Xeno-canto', 'Xeno-canto', 2426 }, { 'ZooBank', 'ZooBank', 1746 },

--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) { 'CoL-Taiwan', 'CoL-Taiwan', -3088 }, ---[[]] DNE { 'CONABIO', 'CONABIO', -4902 }, { 'Dyntaxa', 'Dyntaxa', -1939 }, ---[[]] DNE { 'FOIH', 'FOIH', -4311 }, { 'Hepaticarum', 'Index Hepaticarum', -2794 }, ---[[]] DNE { 'TAXREF', 'TAXREF', -3186 }, ---[[]] DNE { 'Titan', 'Titan', -4125 }, ---[[]] DNE { 'Vlinderstichting', 'Vlinderstichting', -3322 }, ---[[]] 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