模組:Taxonbar/confdoc

维基百科,自由的百科全书
文档图示 模块文档[查看] [编辑] [历史] [清除缓存]

About[编辑]

This module allows Module:Taxonbar/conf to automatically update its own documentation table of Wikidata taxon ID properties on Template:Taxonbar/doc.

Usage[编辑]

{{#invoke:Taxonbar/confdoc|confdoc}}

Output[编辑]

{{#invoke:Taxonbar/confdoc|confdoc}}
按参数名称排列的分类单元识别码
参数维基数据ID数据库说明
abaP4526identifier for a bird taxon, issued by the American Birding Association
adwP4024动物多样性网(ADW)上赋予各动物分类单元的识别码(标识符)
afdP6039澳大利亞動物名錄網站中賦予各動物分類單元的識別碼(標識符)
afromothsP6093identifier for a species on the AfroMoths website
algaebaseP1348網站AlgaeBase的連結網址
amphibiawebP5036两栖动物网数据库中赋予某个物种的识别码
antwebP5299AntWeb生物分类标识符
aoiP5003在“印度两栖动物”数据库中,一种两栖类物种的标识符
aofpP6159identifier for a species on the Atlas of Florida Plants website
apaP6137identifier for a species on the Alabama Plant Atlas website
apdbP2036identifier for a plant taxon, in the Conservatoire et Jardin botaniques de Genève's African Plant Database of scientific names
apniP5984澳大利亚植物名称索引(APNI)中的植物标识符
apsaP2809identifier for a pollen or spore in the Australasian Pollen and Spore Atlas, managed by the Australian National University
araneaeP3594identifier for a taxon in araneae.nmbe.ch
arkiveP2833ARKive 数据库中分类单元的标识符
aswP5354identifier for a taxon in the Amphibian Species of the World database
atrfP6904Australian Tropical Rainforest Plantsidentifier for a plant taxon, in the Australian Tropical Rainforest plants database
ausfungiP9076identifier for a taxon (a fungus), in the Australian 'Fungi' database
auslichenP9093identifier for a taxon (a lichen), in the Australian Lichen database
avibaseP2026identifier for a species, subspecies, or genus in the global bird database Avibase
bacdiveP2946identifier for a microorganism, in the BacDive database
bamonaP3398identifier for taxa in the "Butterflies and Moths of North America" database
bhlP687identifier for a page in the Biodiversity Heritage Library (BHL)
biolibP838生物分类学数据库BioLib中赋予各分类单元的识别码
birdlifeP5257国际鸟盟数据库为该鸟类分配的标识符
birdlife-australiaP6040identifier for a species on the BirdLife Australia website
boldP3606在boldsystems.org 中分类单元的标识符
btoP4798identifier for a bird species or sub-species in the BTO Birds of Britain/ BirdFacts database
bugguideP2464BugGuide数据库中赋予各分类单元的识别码
butmothP3060identifier for a butterfly or moth genus in the UK Natural History Museum's 'Butterflies and Moths of the World' database
calfloraP3420identifier for a taxon in Calflora
cal-ipcP6176identifier for a species on the California Invasive Plant Council website
centerP6003identifier for a taxon on the Center for Biological Diversity website
cmsP6033identifier for a taxon on the 'Convention on the Conservation of Migratory Species of Wild Animals' website
cnpsP4194identifier in the California Native Plant Society database
cockroach species fileP6052identifier for a taxon on the Cockroach Species File website (old archived version)
col-taiwanP3088臺灣物種名錄中賦予每個物種及種下分類單元的編號(舊版,taibnet.sinica.edu.tw)
conifersP1940identifier for a taxon in the conifers.org database
coreoidea species fileP6053identifier for a taxon on the Coreoidea Species File website
bowP3444identifier for a species or subspecies, in the eBird database
ebirdP3444identifier for a species or subspecies, in the eBird database
ecocropP4753identifier of a plant used as an agricultural crop in the Ecocrop database
ecosP6030identifier for a taxon on the United States' 'Environmental Conservation Online System' website
eflorasaP6933identifier for a plant taxon, in the Australian 'South Australian electronic Flora' database
eolP830网络生命大百科项目参考编号
eppoP3031identifier for a taxon in the EPPO Global Database
eunisP6177identifier for a species on the European Nature Information System website
euringP3459此物種或亞種在Euring數據庫的編號
faunaeuropaeaP1895identifier for a taxon in Fauna Europaea
faunaeuropaeanewP4807identifier for a taxon at the Fauna Europaea portal launched end of 2016
feisP6044identifier for a taxon on the Fire Effects Information System website
fishbaseP938世界鱼类数据库(FishBase)中赋予每个物种的识别码
florabaseP3101identifier for a plant taxon, in the Government of Western Australia's FloraBase database
flowP6096identifier for a species on the Fulgoromorpha Lists On the Web website
fnaP1727identifier for a taxon in the Flora of North America database
foaoP3100identifier for a plant taxon, in the Flora of Australia Online
foao2P6756identifier for a plant taxon, in an Australian Commonwealth database
focP1747中国植物志英文版(Flora of China)中分类单元的标识符
foioP3795identifier for a plant taxon or cultivar in the Flora of Israel Online database
fossilworksP842Fossilworks数据库中赋予各分类单元的识别码
fungorumP1391真菌索引中真菌分類單位的標識符
gbifP846全球生物多样性信息网络(GBIF)中赋予各分类单元的识别码(标识符)
gisdP5626identifier for a taxon in the IUCN's Global Invasive Species Database
gnabP4715identifier for a bird taxon in the Guide to North American Birds on the National Audubon Society website
goniatP5216在古生代菊石在线数据库系统中,一个分类群的标识符
grassbaseP1832草基地中的標識符 - 在線世界草地植物群
grinP1421GRIN 植物分类学網站美國種質資源信息網絡的網址
ibcP3099identifier for a species of bird, in the Internet Bird Collection database
ictvP1076
inaturalistP3151iNaturalist数据库中赋予各分类单元的识别码(标识符)
ipaP6161identifier for a species on the Invasive Plant Atlas of the United States website
ipniP961国际植物名称索引数据库(IPNI)中赋予各植物分类单元的识别码
irmngP5055海洋和非海洋属临时登记簿 (IRMNG) 数据库中的学名标识符
iscP5698identifier for a taxon datasheet in the Invasive Species Compendium, produced by the Centre for Agriculture and Bioscience International
itisP815整合分类学信息系统(ITIS)中赋予某个分类单元的识别码
iucnP627國際自然保護聯盟數據庫中一個分類單元的標識符; 保護狀態來源
lepindexP3064identifier for a Lepidoptera taxon, in the UK Natural History Museum's 'Global Lepidoptera Names Index'
lobP5862identifier in the Catalogue of Lepidoptera of Belgium
lpsnP1991原核生物标准命名列表URL for the website List of Prokaryotic names with Standing in Nomenclature (LPSN)
mantodea species fileP6055identifier for a taxon on the Mantodea Species File website
michiganfloraP6103密歇根州植物園網站上物種的標識符
mobotpfP6034identifier for a taxon in Plant Finder, on the Missouri Botanical Garden website
molP6092identifier for a taxon on the Map of Life website
mnhnP6046identifier for a taxon on the Muséum national d'histoire naturelle website
monaP4758霍奇斯名录(即“墨西哥以北美洲鳞翅目核对名录”,以及随后的修订版)中的鳞翅目物种的标识符
mswP959来自世界哺乳动物物种数据库的标识符
mycobankP962提供权威和全面的真菌名称列表的 MycoBank 数据库给予的编号
nasP6163identifier for a species in the Nonindigenous Aquatic Species database, on the U.S. Geological Survey website
nbnP3240identifier of a taxon in the National Biodiversity Network (UK)
ncbiP685美国国家生物技术信息中心生物分类编号
neotropicalP6047identifier for a taxon on the Neotropical Birds website
noaaP6049identifier for a species on the NOAA Fisheries website
nswfloraP3130identifier for a plant taxon, in the NSW Flora Online
ntfloraP5953identifier for a plant taxon, in the Northern Territory (Australia) 'NT Flora' database
nzboP6048identifier for a species on the New Zealand Birds Online website
nzorP2752identifier for a taxon names in the New Zealand Organisms Register
nzpcnP7496ID of a plant taxon held by the New Zealand Plant Conservation Network
obisP6754identifier for a taxon, in the Ocean Biogeographic Information System
odnrP6289identifier for a taxon in the Species Guide Index of the Ohio Department of Natural Resources website
orthoptera species fileP6050identifier for a taxon on the Orthoptera Species File Online website
paldatP4122identifier for a plant species in the Palynological Database (PalDat) for pollen of the University of Vienna
panarticP2434identifier for a taxon in the Panarctic Flora
pfafP4301identifier for a plant taxon, in the Plants For A Future database of uses of plants and their parts
pfiP6114identifier for a species on the Portal to the Flora of Italy website
phasmida species fileP4855identifier for a Phasmida taxon, in the Phasmida SpeciesFile website
ppeP6061identifier for a taxon at the Plant Parasites of Europe database
plantlistP1070全球植物名录数据库(The Plant List)中赋予每个物种及种下分类单元的标识符(识别码)
plantsP1772美国农业部植物数据库中的标识符
plaziP1992identifier for a taxon treatment at Plazi.org
powoP5037世界植物在线数据库(Plants of the World online)中赋予各植物分类单元的标识符(识别码)
rdP5473爬行动物数据库中所有现存爬行动物物种的标识符
rhsP8765identifier for plants listed on the Royal Horticultural Society website
sanbiP6056identifier for a species on the Red List of South African Plants website
sccP6057identifier for a taxon at the Systematic Catalog of Culicidae
sealifebaseP6018identifier for a taxon on the SeaLifeBase website
seinetP6209identifier for a species on the SEINet website
species+P2040Species+ 数据库中赋予某个分类单元的识别码
spratP2455澳大利亚政府环境部管理的物种概况和威胁数据库的标识符
steereP6035identifier for a taxon on the Steere Herbarium website
tree of lifeP5221生命之树网络项目赋予某个分类单元的识别码
tropicosP960identifier for a taxon name in the Tropicos database
tsaP5397identifier for a species in the Animal Sound Archive Berlin
ubioP4728在uBio“Namebank”数据库中的分类群的标识符
vascanP1745identifier for a taxon in the Database of Vascular Plants of Canada
watsonP1761familyID in Watson & Dallwitz: The families of flowering plants
wcspP3591世界选定植物科别目录中赋予某个分类单元的识别码
wioP6285identifier for a taxon on the Weeds in Ontario website
wisfloraP6227identifier for a taxon on the Flora of Wisconsin website
woiP3746identifier of a taxon in the Wildflowers of Israel database
wfoP7715世界在线植物志(World Flora Online)中赋予每个植物分类单元的标识符(识别码)
wormsP850世界海洋物种目录数据库(WoRMS)中赋予各分类单元的标识符
wscP3288identifier of a taxon in the World Spider Catalog
xeno-cantoP2426identifier of a bird species in the Xeno-canto database
zoobankP1746動物園銀行(ZooBank )上的名稱或命名行為的標識符

Wikidata link information[编辑]

{{#invoke:Taxonbar/confdoc|wikidataInfo
参数 维基数据ID 数据库 示例 数据类型 格式化URL(或等效字符串)及示例
aba P4526 ABA external-id 无格式化URL(P1630)。或该属性(P1629)的官方网站(P856)或第三方格式化URL(P3459)

{{smalldiv|1=

  • }}
adw P4024 ADW external-id https://animaldiversity.org/accounts/$1/

{{smalldiv|1=

afd P6039 AFD external-id https://biodiversity.org.au/afd/taxa/$1

{{smalldiv|1=

afromoths P6093 AfroMoths external-id http://www.afromoths.net/species_by_code/$1

{{smalldiv|1=

algaebase P1348 AlgaeBase url 无格式化URL(P1630)。外部数据库的ID即为URL。或该属性(P1629)的官方网站(P856)或第三方格式化URL(P3459)

{{smalldiv|1=

amphibiaweb P5036 AmphibiaWeb external-id https://amphibiaweb.org/species/$1

{{smalldiv|1=

antweb P5299 AntWeb external-id https://www.antweb.org/description.do?taxonName=$1

{{smalldiv|1=

aoi P5003 AoI external-id http://www.indianamphibians.org/#!/sp/$1

{{smalldiv|1=

aofp P6159 AoFP external-id https://florida.plantatlas.usf.edu/Plant.aspx?id=$1

{{smalldiv|1=

apa P6137 APA external-id http://floraofalabama.org/Plant.aspx?id=$1

{{smalldiv|1=

apdb P2036 APDB external-id https://africanplantdatabase.ch/en/nomen/$1

{{smalldiv|1=

apni P5984 APNI external-id https://id.biodiversity.org.au/name/apni/$1

{{smalldiv|1=

apsa P2809 APSA external-id https://web.archive.org/web/*/http://apsa.anu.edu.au/sample/$1

{{smalldiv|1=

araneae P3594 Araneae external-id https://araneae.nmbe.ch/data/$1

{{smalldiv|1=

arkive P2833 ARKive external-id https://web.archive.org/web/*/http://www.arkive.org/wd/$1/

{{smalldiv|1=

asw P5354 ASW external-id https://amphibiansoftheworld.amnh.org/Amphibia/$1

{{smalldiv|1=

atrf P6904 ATRF external-id https://apps.lucidcentral.org/rainforest/text/entities/$1.htm

{{smalldiv|1=

ausfungi P9076 AusFungi external-id https://id.biodiversity.org.au/name/fungi/$1

{{smalldiv|1=

auslichen P9093 AusLichen external-id https://id.biodiversity.org.au/name/lichen/$1

{{smalldiv|1=

avibase P2026 Avibase external-id https://avibase.bsc-eoc.org/species.jsp?avibaseid=$1

{{smalldiv|1=

bacdive P2946 BacDive external-id https://bacdive.dsmz.de/strain/$1

{{smalldiv|1=

bamona P3398 BAMONA external-id https://www.butterfliesandmoths.org/$1

{{smalldiv|1=

bhl P687 BHL external-id https://biodiversitylibrary.org/page/$1

{{smalldiv|1=

biolib P838 BioLib external-id https://www.biolib.cz/en/taxon/id$1

{{smalldiv|1=

birdlife P5257 BirdLife external-id https://datazone.birdlife.org/species/factsheet/$1

{{smalldiv|1=

birdlife-australia P6040 BirdLife-Australia external-id http://birdlife.org.au/bird-profile/$1

{{smalldiv|1=

bold P3606 BOLD external-id http://www.boldsystems.org/index.php/TaxBrowser_TaxonPage?taxid=$1

{{smalldiv|1=

bto P4798 BTO external-id https://app.bto.org/birdfacts/results/$1.htm

{{smalldiv|1=

bugguide P2464 BugGuide external-id https://bugguide.net/node/view/$1

{{smalldiv|1=

butmoth P3060 ButMoth external-id https://www.nhm.ac.uk/our-science/data/butmoth/search/GenusDetails.dsml?NUMBER=$1

{{smalldiv|1=

calflora P3420 Calflora external-id https://www.calflora.org/cgi-bin/species_query.cgi?where-calrecnum=$1

{{smalldiv|1=

cal-ipc P6176 Cal-IPC external-id https://www.cal-ipc.org/plants/profile/$1-profile/

{{smalldiv|1=

center P6003 Center external-id https://www.biologicaldiversity.org/species/$1/index.html

{{smalldiv|1=

cms P6033 CMS external-id https://www.cms.int/en/species/$1

{{smalldiv|1=

cnps P4194 CNPS external-id https://rareplants.cnps.org/Plants/ODetails/$1

{{smalldiv|1=

cockroach species file P6052 Cockroach Species File external-id http://cockroach.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1

{{smalldiv|1=

col-taiwan P3088 臺灣物種名錄 external-id https://taibnet.sinica.edu.tw/chi/taibnet_species_detail.php?name_code=$1

{{smalldiv|1=

conifers P1940 Conifers.org external-id https://conifers.org/$1.php

{{smalldiv|1=

coreoidea species file P6053 Coreoidea Species File external-id http://coreoidea.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1

{{smalldiv|1=

bow P3444 BOW external-id https://ebird.org/species/$1

{{smalldiv|1=

ebird P3444 eBird external-id https://ebird.org/species/$1

{{smalldiv|1=

ecocrop P4753 Ecocrop external-id https://ecocrop.review.fao.org/ecocrop/srv/en/cropView?id=$1

{{smalldiv|1=

ecos P6030 ECOS external-id https://ecos.fws.gov/ecp/species/$1

{{smalldiv|1=

eflorasa P6933 eFloraSA external-id http://www.flora.sa.gov.au/cgi-bin/speciesfacts_display.cgi?form=speciesfacts&name=$1

{{smalldiv|1=

eol P830 EoL external-id https://eol.org/pages/$1

{{smalldiv|1=

eppo P3031 EPPO external-id https://gd.eppo.int/taxon/$1

{{smalldiv|1=

eunis P6177 EUNIS external-id https://eunis.eea.europa.eu/species/$1

{{smalldiv|1=

euring P3459 Euring external-id https://euring.org/edb/species-maps/sp$1.htm

{{smalldiv|1=

faunaeuropaea P1895 Fauna Europaea external-id http://www.eu-nomen.eu/portal/taxon.php?GUID=urn:lsid:faunaeur.org:taxname:$1

{{smalldiv|1=

faunaeuropaeanew P4807 Fauna Europaea (new) external-id https://fauna-eu.org/cdm_dataportal/taxon/$1

{{smalldiv|1=

feis P6044 FEIS external-id https://www.fs.usda.gov/database/feis/$1/all.html

{{smalldiv|1=

fishbase P938 FishBase external-id https://www.fishbase.ca/summary/$1

{{smalldiv|1=

florabase P3101 FloraBase external-id https://florabase.dpaw.wa.gov.au/browse/profile/$1

{{smalldiv|1=

flow P6096 FLOW external-id https://flow.hemiptera-databases.org/flow/?page=explorer&db=flow&lang=en&card=taxon&rank=species&id=$1

{{smalldiv|1=

fna P1727 FNA external-id http://www.efloras.org/florataxon.aspx?flora_id=1&taxon_id=$1

{{smalldiv|1=

foao P3100 FoAO external-id https://web.archive.org/web/*/https://www.anbg.gov.au/abrs/online-resources/flora/stddisplay.xsql?pnid=$1

{{smalldiv|1=

foao2 P6756 FoAO2 external-id https://profiles.ala.org.au/opus/foa/profile/$1

{{smalldiv|1=

foc P1747 FoC external-id http://www.efloras.org/florataxon.aspx?flora_id=2&taxon_id=$1

{{smalldiv|1=

foio P3795 FoIO external-id https://flora.org.il/en/plants/$1

{{smalldiv|1=

fossilworks P842 Fossilworks external-id http://www.fossilworks.org/cgi-bin/bridge.pl?a=taxonInfo&taxon_no=$1

{{smalldiv|1=

fungorum P1391 真菌索引 external-id http://www.indexfungorum.org/names/NamesRecord.asp?RecordID=$1

{{smalldiv|1=

gbif P846 GBIF external-id https://www.gbif.org/species/$1

{{smalldiv|1=

gisd P5626 GISD external-id http://www.iucngisd.org/gisd/species.php?sc=$1

{{smalldiv|1=

gnab P4715 GNAB external-id https://www.audubon.org/field-guide/bird/$1

{{smalldiv|1=

goniat P5216 GONIAT external-id https://www.goniat.org/showTax.html?TaxId=$1

{{smalldiv|1=

grassbase P1832 GrassBase external-id http://www.kew.org/data/grasses-db/www/$1

{{smalldiv|1=

grin P1421 GRIN url 无格式化URL(P1630)。外部数据库的ID即为URL。
网站:http://www.ars-grin.gov/cgi-bin/npgs/html/taxgenform.pl?language=en

{{smalldiv|1=

ibc P3099 IBC external-id https://birdsoftheworld.org/bow/species/$1

{{smalldiv|1=

ictv P1076 ICTV url

{{smalldiv|1=}}

inaturalist P3151 iNaturalist external-id https://inaturalist.org/taxa/$1

{{smalldiv|1=

ipa P6161 IPA external-id https://www.invasiveplantatlas.org/subject.html?sub=$1

{{smalldiv|1=

ipni P961 IPNI external-id https://www.ipni.org/n/$1

{{smalldiv|1=

irmng P5055 IRMNG external-id https://www.irmng.org/aphia.php?p=taxdetails&id=$1

{{smalldiv|1=

isc P5698 ISC external-id https://www.cabi.org/isc/datasheet/$1

{{smalldiv|1=

itis P815 ITIS external-id https://www.itis.gov/servlet/SingleRpt/SingleRpt?search_topic=TSN&search_value=$1

{{smalldiv|1=

iucn P627 IUCN external-id https://apiv3.iucnredlist.org/api/v3/taxonredirect/$1

{{smalldiv|1=

lepindex P3064 LepIndex external-id https://www.nhm.ac.uk/our-science/data/lepindex/detail/?taxonno=$1

{{smalldiv|1=

lob P5862 LoB external-id https://projects.biodiversity.be/lepidoptera/species/$1/

{{smalldiv|1=

lpsn P1991 LPSN url 无格式化URL(P1630)。外部数据库的ID即为URL。
网站:https://www.bacterio.net

{{smalldiv|1=

mantodea species file P6055 Mantodea Species File external-id http://mantodea.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1

{{smalldiv|1=

michiganflora P6103 MichiganFlora external-id https://michiganflora.net/species.aspx?id=$1

{{smalldiv|1=

mobotpf P6034 MoBotPF external-id https://www.missouribotanicalgarden.org/PlantFinder/PlantFinderDetails.aspx?taxonid=$1

{{smalldiv|1=

mol P6092 MoL external-id https://mol.org/species/$1

{{smalldiv|1=

mnhn P6046 MNHN external-id https://science.mnhn.fr/taxon/$1

{{smalldiv|1=

mona P4758 MONA external-id https://mothphotographersgroup.msstate.edu/species.php?hodges=$1

{{smalldiv|1=

msw P959 MSW external-id https://www.departments.bucknell.edu/biology/resources/msw3/browse.asp?s=y&id=$1

{{smalldiv|1=

mycobank P962 MycoBank external-id https://www.mycobank.org/MB/$1

{{smalldiv|1=

nas P6163 NAS external-id https://nas.er.usgs.gov/queries/FactSheet.aspx?speciesID=$1

{{smalldiv|1=

nbn P3240 NBN external-id https://data.nbn.org.uk/Taxa/$1

{{smalldiv|1=

ncbi P685 NCBI external-id https://www.ncbi.nlm.nih.gov/Taxonomy/Browser/wwwtax.cgi?mode=Info&id=$1

{{smalldiv|1=

neotropical P6047 Neotropical external-id https://neotropical.birds.cornell.edu/Species-Account/nb/species/$1

{{smalldiv|1=

noaa P6049 NOAA external-id https://www.fisheries.noaa.gov/species/$1

{{smalldiv|1=

nswflora P3130 NSWFlora external-id https://plantnet.rbgsyd.nsw.gov.au/cgi-bin/NSWfl.pl?page=nswfl&lvl=sp&name=$1

{{smalldiv|1=

ntflora P5953 NTFlora external-id http://eflora.nt.gov.au/factsheet?id=$1

{{smalldiv|1=

nzbo P6048 NZBO external-id https://nzbirdsonline.org.nz/species/$1

{{smalldiv|1=

nzor P2752 NZOR external-id https://www.nzor.org.nz/names/$1

{{smalldiv|1=

nzpcn P7496 NZPCN external-id https://web.archive.org/web/*/http://nzpcn.org.nz/flora_details.aspx?ID=$1

{{smalldiv|1=

obis P6754 OBIS external-id https://obis.org/taxon/$1

{{smalldiv|1=

odnr P6289 ODNR external-id https://web.archive.org/web/http://wildlife.ohiodnr.gov/species-and-habitats/species-guide-index/$1

{{smalldiv|1=

orthoptera species file P6050 Orthoptera Species File external-id http://orthoptera.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1

{{smalldiv|1=

paldat P4122 PalDat external-id https://www.paldat.org/pub/$1

{{smalldiv|1=

panartic P2434 Panartic Flora external-id http://panarcticflora.org/results?name=#paf-$1

{{smalldiv|1=

pfaf P4301 PfaF external-id https://pfaf.org/user/Plant.aspx?LatinName=$1

{{smalldiv|1=

pfi P6114 PFI external-id http://dryades.units.it/floritaly/index.php?procedure=taxon_page&tipo=all&id=$1

{{smalldiv|1=

phasmida species file P4855 Phasmida Species File external-id http://phasmida.speciesfile.org/Common/basic/Taxa.aspx?TaxonNameID=$1

{{smalldiv|1=

ppe P6061 PPE external-id https://bladmineerders.nl/$1/

{{smalldiv|1=

plantlist P1070 TPL external-id http://www.theplantlist.org/tpl1.1/record/$1

{{smalldiv|1=

plants P1772 PLANTS external-id https://plants.sc.egov.usda.gov/home/plantProfile?symbol=$1

{{smalldiv|1=

plazi P1992 Plazi external-id https://treatment.plazi.org/id/$1

{{smalldiv|1=

powo P5037 POWO external-id https://powo.science.kew.org/taxon/$1

{{smalldiv|1=

rd P5473 RD external-id https://wikidata-externalid-url.toolforge.org/?url_prefix=https%3A%2F%2Freptile-database.reptarium.cz%2Fspecies%3F&id=$1

{{smalldiv|1=

rhs P8765 RHS external-id https://www.rhs.org.uk/Plants/$1/wd/Details

{{smalldiv|1=

sanbi P6056 SANBI external-id http://redlist.sanbi.org/species.php?species=$1

{{smalldiv|1=

scc P6057 SCC external-id http://www.mosquitocatalog.org/taxon_descr.aspx?ID=$1

{{smalldiv|1=

sealifebase P6018 SeaLifeBase external-id https://www.sealifebase.ca/Summary/SpeciesSummary.php?id=$1

{{smalldiv|1=

seinet P6209 SEINet external-id http://swbiodiversity.org/seinet/taxa/index.php?taxon=$1

{{smalldiv|1=

species+ P2040 Species+ external-id https://speciesplus.net/#/taxon_concepts/$1

{{smalldiv|1=

sprat P2455 SPRAT external-id https://www.environment.gov.au/cgi-bin/sprat/public/publicspecies.pl?taxon_id=$1

{{smalldiv|1=

steere P6035 Steere external-id https://sweetgum.nybg.org/science/vh/taxon-details/?irn=$1

{{smalldiv|1=

tree of life P5221 Tree of Life external-id http://tolweb.org/$1

{{smalldiv|1=

tropicos P960 Tropicos external-id http://legacy.tropicos.org/Name/$1

{{smalldiv|1=

tsa P5397 TSA external-id http://www.tierstimmen.org/de/Datenbank?field_spec_species_target_id_selective=$1

{{smalldiv|1=

ubio P4728 uBio external-id http://www.ubio.org/browser/details.php?namebankID=$1

{{smalldiv|1=

vascan P1745 VASCAN external-id https://data.canadensys.net/vascan/taxon/$1

{{smalldiv|1=

watson P1761 Watson & Dallwitz external-id http://delta-intkey.com/angio/www/$1.htm

{{smalldiv|1=

wcsp P3591 WCSP external-id https://powo.science.kew.org/?name_id=$1

{{smalldiv|1=

wio P6285 WiO external-id https://www.ontario.ca/document/weed-identification-guide-ontario-crops/$1

{{smalldiv|1=

wisflora P6227 WisFlora external-id https://wisflora.herbarium.wisc.edu/taxa/index.php?taxon=$1

{{smalldiv|1=

woi P3746 WOI external-id https://www.wildflowers.co.il/english/plant.asp?ID=$1

{{smalldiv|1=

wfo P7715 WFO external-id https://list.worldfloraonline.org/$1

{{smalldiv|1=

worms P850 WoRMS external-id https://www.marinespecies.org/aphia.php?p=taxdetails&id=$1

{{smalldiv|1=

wsc P3288 WSC external-id https://www.wsc.nmbe.ch/lsid/$1

{{smalldiv|1=

xeno-canto P2426 Xeno-canto external-id https://xeno-canto.org/species/$1

{{smalldiv|1=

zoobank P1746 ZooBank external-id https://zoobank.org/NomenclaturalActs/$1

{{smalldiv|1=

require('strict')

local conf = require( "Module:Taxonbar/conf" ) -- configuration module

local p = {}
	
function p.confdoc( frame )
	local wikitable = mw.html.create('table')
	wikitable:addClass('wikitable sortable')
		:tag('caption')
			:wikitext('按参数名称排列的分类单元识别码')
			:done()
		:tag('tr')
			:tag('th')
				:wikitext('参数')
			:tag('th')
				:attr('data-sort-type', 'number')
				:css('white-space', 'nowrap')
				:wikitext('维基数据ID')
			:tag('th')
				:wikitext('数据库')
			:tag('th')
				:wikitext('说明')
				
				
				
				
	local format = string.format
	
	for _, db in pairs( conf.databases ) do
		local prop = db[3]
		if type(prop) == 'number' and prop > 0 then
			local param = mw.ustring.lower(db[1])
			local row = mw.html.create('tr')
			row
				:tag('td')
					:wikitext(param)
				:tag('td')
					:attr('data-sort-value', prop)
					:wikitext(format('[[d:Property:P%d|P%d]]', prop, prop))
				-- {{#statements:P1629|from=P{{{1|}}}}}
				:tag('td')
					:wikitext(frame:callParserFunction{
						name = '#statements:P1629',
						args = { from = 'P' .. prop }
					})
				:tag('td')
					:wikitext(mw.wikibase.getDescription('P' .. prop))
			wikitable:node(row)
		end
	end
	
	return wikitable
end
--[[ p.wikidataInfo( frame )
    -function to show formatURL and id for taxonomic databases
]]
local COUNTER_MAX = 390
local counter = 0    --expensive parser function counter

function p.wikidataInfo( frame )
	counter = frame.args['counter']  or COUNTER_MAX  -- prevent too many expensive calls
	local start = frame.args['start'] or "a"
	local finish = frame.args['finish'] or "zzz"
	
	local wikitable = '{| class="wikitable sortable"\n' .. 
					  '|-\n' .. 
					  '! 参数 !! 维基数据ID !! 数据库 !! 示例 !! 数据类型 !! 格式化URL(或等效字符串)及示例'
	
	for _, db in pairs( conf.databases ) do
		local param = mw.ustring.lower(db[1])
		local link = db[2]
		local prop = db[3]
		local id = 'id'
		local url = 'url'
		local datatype = ""
		local examples = ""
		local links = ""
		local formatterURL = ""
		
		if type(prop) == 'number' and prop > 0 and param > start and param < finish then
			local item = mw.wikibase.getEntity('P'..prop)  --('P5354')
			counter = counter - 1
			
			if item and item ~= "" then
				datatype = item.datatype
				local statements = item:getBestStatements('P1630')[1] 
				if statements and statements.mainsnak and statements.mainsnak.datavalue and statements.mainsnak.datavalue.value then
					formatterURL = statements.mainsnak.datavalue.value
					url = formatterURL
				else
					url = "无格式化URL(P1630)。"
					if datatype == "url" then url = url .. "外部数据库的ID即为URL。" end
					local subjectItem = item:getBestStatements('P1629')[1]
					if subjectItem then
						local officialWebsite = mw.wikibase.getEntity(subjectItem.mainsnak.datavalue.value.id):getBestStatements('P856')[1]
						counter = counter - 1
						if officialWebsite then	
							url = url .. '<br/>网站:' ..  officialWebsite.mainsnak.datavalue.value
						end
					else
						url = url .. '或该属性(P1629)的官方网站(P856)'
						-- use third-party formatter URL. e.g for  Euring number (P3459) 
						local statements = item:getBestStatements('P3459')[1] 
						if statements and statements.mainsnak and statements.mainsnak.datavalue and statements.mainsnak.datavalue.value then
				   			local thirdPartyURL = statements.mainsnak.datavalue.value
							url = url ..'<br/>使用第三方URL:' .. thirdPartyURL
						else
							url = url .. '或第三方格式化URL(P3459)'
						end
					end
				end
                examples, links =  p.getExamples( item, prop, formatterURL, datatype )
			end

		
			wikitable = wikitable .. '\n' .. '|-' 
					    .. '\n|' .. param 
					    .. '\n|' .. '[[:d:Property:P' .. prop .. '|P' .. prop .. ']]' 
					    .. '\n|' .. link
					    .. '\n|' .. examples
					    .. '\n|' .. datatype
					    .. '\n|' .. url  .. '\n{{smalldiv|1=' .. links  .. '}}'
		end
	end
	
	return wikitable .. '\n|}'
end

function p.getExamples( propItem , prop, formatterURL, datatype)
	
	
	if counter < 0 then return "超出计数" end
	
	local examples	= ""	
	local links	= ""	
	local exampleStatements = propItem:getBestStatements('P1855')
	local nExamples = 0
	
	--local statement = statements[1]
	for _, statement in pairs( exampleStatements ) do
		
		if nExamples == 3 then break end -- don't show more than 3 examples
			
		if statement.mainsnak and statement.mainsnak.datavalue and statement.mainsnak.datavalue.value then
			local examplesValue = statement.mainsnak.datavalue.value
			if examplesValue and examplesValue.id then
				local exampleID = examplesValue.id
				--examples = examples .. '\n*[[:d:' .. exampleID  .. '|' .. exampleID ..']] '
				local label = mw.wikibase.getLabel( exampleID )
				examples = examples .. '\n*[[' .. label .. ']] ([[:d:' .. exampleID  .. '|' .. exampleID ..']])'

                -- get information form qualifiers
                if statement.qualifiers then
                   local qualifiers = statement['qualifiers']  
                   local value = qualifiers['P'..prop][1] --['datavalue']['value']
                   --mw.addWarning (mw.wikibase.formatValues( qualifiers ))
                   --mw.addWarning (mw.wikibase.renderSnaks( qualifiers ))
                   -- mw.addWarning (mw.wikibase.formatValue( value ))
                   --mw.addWarning ( mw.wikibase.renderSnak( value ))
                   local id = mw.wikibase.renderSnak( value )
                   examples = examples .. '<br/><small>id=<code>' .. id .. '</code></small>'
                   local link = formatterURL:gsub('$1', id)
                   if (datatype == "url") then link = id end
                   links = links .. '\n*' .. link .. ''
                end


--[==[		    -- this method is expensive as it calls getEntity

		        local item = mw.wikibase.getEntity(exampleID)
		        counter = counter - 1
		        nExamples = nExamples + 1
		        
		        
		        if item and item ~= "" then
					--datatype = item.datatype
					local statements = item:getBestStatements('P225')[1] -- taxon name
					if statements and statements.mainsnak and statements.mainsnak.datavalue and statements.mainsnak.datavalue.value then
						local taxon = statements.mainsnak.datavalue.value
						examples = examples .. ' [[' .. taxon .. ']]'
					end
					local statements = item:getBestStatements('P'..prop)[1] -- the databas property
					if statements and statements.mainsnak and statements.mainsnak.datavalue and statements.mainsnak.datavalue.value then
						local id = statements.mainsnak.datavalue.value
						local link = formatterURL:gsub('$1', id)
						if (datatype == "url") then link = id end
						examples = examples .. ' (' .. id .. ')'  
						links = links .. '\n*' .. link .. ''
					end
		end
]==]
		    else
		    	examples = examples .. "无示例"
		    end
		else
			examples = examples .. "无示例陈述"
		end
	end

    return examples, links
end
return p