跳转到内容

模板:Taxonbar/doc

维基百科,自由的百科全书

简介

[编辑]

This metadata template links Wikipedia articles to various biological and taxonomic database英语taxonomic databases. Taxonbar displays these links as short strings, indicating the unique identifier each database has assigned the taxon for catalogue purposes.

Taxonomic identifiers of each taxon are stored and retrieved from each taxon's corresponding Wikidata entry, but can be overridden in individual articles with locally entered data. Adding the data to Wikidata is preferable.

This project is based on the work of {{Authority Control}} and Wikidata:WikiProject Taxonomy. If you are a template editor or Wikipedia administrator, you may contribute at Module:Taxonbar. Please discuss ideas/thoughts for improvement or use on Template:Taxonbar/talk英语Template:Taxonbar/talk.

Taxonbar is placed below all navigation templates, except Authority control英语Wikipedia:Authority control (not shown here).

位置

[编辑]

Please place Taxonbar correctly. As a metadata template, Taxonbar should be placed:

使用方法

[编辑]

Add Taxonbar to an article:

  1. In Source editing mode, insert {{Taxonbar}} below all other navigation templates except Authority control.
  2. Click "Show preview" to check placement and to see which Taxon identifiers are automatically pulled from Wikidata.
  3. If you have more identifiers to add, consider adding them to the article's Wikidata item (so that all versions of Wikipedia will automatically benefit). Be careful not to edit the structure or names of Wikidata taxon until you have become familiar with Wikidata:WikiProject Taxonomy and Wikidata:WikiProject Taxonomy/Tutorial.

Basic code:

{{Taxonbar}}

Taxon example

[编辑]
Scarlet macaw (Ara macao)

{{Taxonbar}} when placed in the Scarlet macaw article:

Basic use samples

[编辑]

Taxon identifiers

[编辑]

The template can automatically get its information from the following properties on Wikidata. This is configured in Module:Taxonbar/conf.

按参数名称排列的分类单元识别码
参数维基数据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
bhlP687生物多样性历史文献图书馆生物多样性历史文献图书馆(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数据库中赋予各分类单元的识别码
fungorumP1391Index FungorumIndex Fungorum数据库中赋予各真菌分类单元的识别码(标识符)
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国际自然保护联盟数据库中一个分类单元的标识符; 保护状态来源
lepindexP3064全球鳞翅目名称索引identifier 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 (old version now archived)
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 )上的名称或命名行为的标识符

隐藏特定标识符 (可选)

[编辑]

Individual identifiers listed in the table above can be removed(hidden) from the bar by setting the corresponding parameter to no. This is useful when trying to reduce the number of links within Taxonbar. Spaces are optional. There is no sense in removing too many identifiers, for example: removing plant or fungi identifiers from an animal taxon would have no effect as these parameters will not show up on an animal taxon in the first place. It is best to preview {{Taxonbar}} on the page and decide what entries provide little relevant data. Plant species will have the most entries and are most likely in need of hiding some entries if the goal is to keep the bar on one line.

Example: To remove FOC, IPNI, and AFPD, the code would look like:

{{Taxonbar | foc = no | ipni = no| apdb = no }}

On Coffea arabica, the result is:

Excluded databases

[编辑]

These databases are available at Wikidata, but are excluded by default here (en.wiki) for reasons described below.

Wikidata property name      ID Authority Description Language
Template:Taxonbar/ExcludedProperty Spanish
Template:Taxonbar/ExcludedProperty Czech
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty Swedish
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty Catalan
Template:Taxonbar/ExcludedProperty German
Template:Taxonbar/ExcludedProperty Dutch
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty Russian
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty French
Template:Taxonbar/ExcludedProperty Dutch
Template:Taxonbar/ExcludedProperty Dutch
Template:Taxonbar/ExcludedProperty Portuguese

Additional parameters

[编辑]

Some taxon identifiers not currently in Wikidata can be added via additional parameters, however, adding the data to Wikidata is preferable.

Example:

{{Taxonbar | emonocot = 280381 | Wikispecies = Lilium }}

On Lilium, the result is:

where the taxon identifier in the World Checklist of Selected Plant Families has been added to those picked up from Wikidata.

Parameter Database Property URL/Interwiki link
eMonocot eMonocot英语eMonocot http://e-monocot.org/taxon/urn:kew.org:wcs:taxon:$1
emonocotfamily eMonocot英语eMonocot http://e-monocot.org/taxon/urn:kew.org:wcs:family:$1
wsc-species World Spider Catalog英语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英语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英语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

Multiple Wikidata entries

[编辑]

Some taxa will exist under multiple names (synonyms) on Wikidata. To add these synonyms, you can use the |from2=, |from3=, etc. parameters to specify their Wikidata IDs. The parameter |from= / |from1= will be automatically determined by the associated Wikidata entry. While not required, it is preferable, from a maintenance perspective, to specify the Wikidata entry via the |from= / |from1= parameter. Parameters |from2=, etc., can be specified manually; this can be useful if the associated Wikidata entry differs from the taxon name of the en:Wikipedia article.

If there is more than one row, the taxon name from Wikidata will be shown in the leftmost column — to overwrite this, use the |title= / |title1=, |title2=, |title3=, etc. parameters. You can add taxon identifiers not present in Wikidata by appending the appropriate number to the end of the parameter name — for example, to add emonocot to the second row, use |emonocot2=.

For example, {{Taxonbar|from=Q26972265|from2=Q20717272}}, when placed on the page Dog produces:

The same approach can be used when monotypic taxa have a single article, but there are multiple entries in Wikidata. For example, at Haptanthus英语Haptanthus, which covers the genus and its sole species, {{Taxonbar|from1=Q15715555|from2=Q133951}} produces:

Basionyms

[编辑]

Basionyms英语Basionyms available on Wikidata (via 基名 (P566)) are automatically appended. You may also manually specify the basionym via |from#= to customize its location.

For example, both

{{Taxonbar|from1=Q43372357|from2=Q164254}} and
{{Taxonbar|from1=Q43372357|from2=Q164254|from3=Q21977691}}

would produce identical taxonbars for Ponerorchis cucullata英语Ponerorchis cucullata:

or {{Taxonbar|from1=Q43372357|from2=Q21977691|from3=Q164254}} for a customized location:

More taxon examples

[编辑]

刷新服务器缓存

lthumb Arabica coffee, Coffea arabica

lthumb Common Milkweed, Asclepias syriaca英语Asclepias syriaca

lthumb Monarch butterfly, Danaus plexippus

lthumb Jaguar, Panthera onca

lthumb Eastern bluebird, Sialia sialis

lthumb Firefly, Lampyridae

lthumb fly agaric, Amanita muscaria

lthumb, Saccharomyces cerevisiae

lthumb Lactobacillus acidophilus

lthumb Plasmodium falciparum

Module editing — to-do list

[编辑]
  • Continue to add support for new, useful parameters (search)

Module editing — to-don't list

[编辑]

另请参见

[编辑]
[编辑]

Tracking categories

[编辑]

Maintenance required

[编辑]

Maintenance desired

[编辑]

Tracking only (no error)

[编辑]