Gebruiker:Kweetal nl/Kladblok/Sjabloon:Taxonbar/doc

Uit Wikipedia, de vrije encyclopedie

Description[bewerken | brontekst bewerken]

Dit metadata sjabloon linkt Wikipedia artikelen aan biologische en taxonomische databases. Taxonbar laat die links zien als korte 'strings': de zogenaamde identifiers die iedere database aan het onderhavige taxon heeft toegekend.

De identifiers voor ieder taxon zijn opgeslagen in het wikidata entry van dat taxon. Het kan in het artikel worden 'overruled' met daar ingebrachte data, maar het verdient de voorkeur om Wikidata te updaten.

Dit project is gebaseerd op het werk aan {{Bibliografische informatie}} en Wikidata:WikiProject Taxonomy. Als je sjabloon editor of Wikipedia administrator bent, kun je bijdragen aan Module:Taxonbar. Opper je ideeen/gedachten voor verbetering of gebruik hier: [[Overleg sjabloon::Taxonbar]].

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

Position[bewerken | brontekst bewerken]

Zet de Taxonbar op de juiste plaats. Als metadata-sjabloon hoort Taxonbar:

Gebruik[bewerken | brontekst bewerken]

Om Taxonbar aan een artikel toe te voegen:

  1. In 'brontekst bewerken' mode: plaats {{Taxonbar|from=}} onder alle andere navigatie sjablonen behalve Authority control — het verdient de voorkeur de from = QID parameter toe te voegen, zelfs al is er maar een enkel Wikidata item.
  2. Klik "Toon bewerking ter controle" om de plaatsing te controleren, en om te zien welke identifiers er inderdaad van Wikidata opgehaald zijn.
  3. Als je meer identifiers wil toevoegen, overweeg dan ze aan het Wikidata item van het artikel toe te voegen, zodat alle versies van Wikipedia ervan profiteren. Wees voorzichtig met de struktuur of de namen van Wikidata taxa tot je goed bekend bent met Wikidata:WikiProject Taxonomy en Wikidata:WikiProject Taxonomy/Tutorial.

Simpele code:

{{Taxonbar|from=}}

Taxon voorbeeld[bewerken | brontekst bewerken]

Pileated woodpecker (Dryocopus pileatus), syn. Picus pileatus

{{Taxonbar|from=Q930712}} indien geplaatst in het Noord-Amerikaanse helmspecht artikel:


Basic use samples[bewerken | brontekst bewerken]

Module:Taxonbar/sandbox

List of taxon identifiers[bewerken | brontekst bewerken]

Scriptfout: de module "Taxonbar/confdoc" bestaat niet.

Manual identifiers[bewerken | brontekst bewerken]

Some taxon identifiers not currently in Wikidata can be added via additional parameters listed above; however, adding the data to Wikidata is preferable, so that all versions of Wikipedia automatically benefit.

Example:

{{Taxonbar | powo = urn:lsid:ipni.org:names:30009317-2 }}

On Lilium, the result is the following, where the taxon identifier in the Plants of the World Online has been added to those picked up from Wikidata:

Luafout in Module:Taxonbalk op regel 624: table index is nil

A Wikispecies page can be also added manually, although, as with taxon identifiers, it is preferable to link it to the Wikidata item. This can be done within the "Multilingual sites" section, entering "species" as the "wiki".

Parameter Database Property URL/Interwiki link
Wikispecies Wikispecies Wikispecies:$1

Hide specific identifier (optional)[bewerken | brontekst bewerken]

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

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:


Displaying excluded databases (optional)[bewerken | brontekst bewerken]

These databases are available at Wikidata, but are excluded by default here (en.wiki) for being in a non-English language. They can be included in the {{taxonbar}} by setting the corresponding parameter to yes (e.g. |CoL-Taiwan=yes), which will then retrieve the value from Wikidata, or by setting the value of parameter manually (e.g. |CoL-Taiwan=395235).

Wikidata property name      ID Authority Description Language
TaiBNET-identificatiecode (oude versie) P3088 identifier (name code) for a taxon in the Catalogue of Life in Taiwan Taiwanese
CONABIO-identificatiecode P4902 identifier for a taxon, issued by the National Commission for the Knowledge and Use of Biodiversity (aka CONABIO), a Federal Agency of the Mexican Government Spanish
NDOP-identificatiecode voor taxon P5263 nummer van een taxon in de Tsjechische natuurbeschermingsdatabase Czech
Central African Plants-identificatiecode P6115 identifier for a species on the Central African Plants website French
DORIS-identificatiecode P4630 identifier of an underwater animal or plant species from French metropolitan and overseas waters on the participatory site DORIS French
Dyntaxa-identificatiecode P1939 identifier for a taxon in the Swedish Taxonomic Database Swedish
Espèces Envahissantes Outre-mer-identificatiecode P6043 identifier for a species on the Espèces Envahissantes Outre-mer website French
FloraCatalana-identificatiecode P5179 identifier for a plant taxon in the FloraCatalana database Catalan
FloraWeb-identificatiecode P6094 identifier for a species on the FloraWeb website German
Onroerend Erfgoed-identificatiecode voor taxon P4311 identificatiecode voor een soort in de thesaurus van het Agentschap Onroerend Erfgoed Dutch
GT IBMA-identificatiecode P6054 identifier for a species on the Groupe de travail Invasions biologiques en milieux aquatiques website French
Index Hepaticarum-identificatiecode P2794 identifier in the Index Hepaticarum, a nomenclatural database French
Oiseaux.net-identificatiecode P6025 identifier for a bird taxon on the Oiseaux.net website French
Plantarium-identificatiecode P3102 identifier for a plant taxon, in the Plantarium database Russian
TAXREF-identificatiecode P3186 identifier for a biological taxon in TAXREF, the national taxonomic reference for fauna, flora and Fungi of metropolitan France and overseas developed by the National Museum of Natural History French
Tela Botanica-identificatiecode P3105 identifier for a plant taxon in Tela Botanica's 'base des trachéophytes de France métropolitaine' - BDTFX - (Metropolitan France Tracheophyte Database) French
Titan-identificatiecode P4125 identifier for a taxon (Cerambycidae) in the Titan database French
Verspreidingsatlas.nl-identificatiecode P6142 identifier for a species on the verspreidingsatlas.nl website Dutch
Vlinderstichting-identificatiecode P3322 identificatiecode voor vlindersoorten in Nederland in de vlinderdatabase van de Vlinderstichting Dutch
Wiki Aves-identificatiecode voor vogel P4664 identifier for a bird species on Wiki Aves is a Brazilian catalogue website Portuguese

Multiple Wikidata entries[bewerken | brontekst bewerken]

Some taxa will exist under multiple names (synonyms) on Wikidata. To add these synonyms, use the |from2=, |from3=, etc., parameters to specify their Wikidata IDs. The parameter |from= / |from1= will be implicitly determined by the Wikidata item linked to the article. While not required, it is preferable to explicitly store the linked Wikidata item in the |from= / |from1= parameter, for maintenance purposes. Parameters |from2=, |from3=, etc., can also be added, for example, if the linked Wikidata item 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, which covers the genus and its sole species, {{Taxonbar|from1=Q15715555|from2=Q133951}} produces:


Basionyms[bewerken | brontekst bewerken]

Basionyms available on Wikidata (via basioniem (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:


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


More taxon examples[bewerken | brontekst bewerken]

lthumb Arabica coffee, Coffea arabica

lthumb Common milkweed, Asclepias syriaca

lthumb Monarch butterfly, Danaus plexippus

lthumb Bobcat, Lynx rufus

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[bewerken | brontekst bewerken]

  • Continue to add support for new, useful parameters (search)

Module editing — to-don't list[bewerken | brontekst bewerken]

See also[bewerken | brontekst bewerken]

Other links[bewerken | brontekst bewerken]

Tracking categories[bewerken | brontekst bewerken]

Category:Taxonbar cleanup

Maintenance required[bewerken | brontekst bewerken]

Maintenance desired[bewerken | brontekst bewerken]

Tracking only (no error)[bewerken | brontekst bewerken]


TemplateData[bewerken | brontekst bewerken]

Links to taxonomic databases via Wikidata

Sjabloonparameters

Voor dit sjabloon heeft het de voorkeur alle parameters op dezelfde regel te zetten.

ParameterBeschrijvingTypeStatus
Wikidata itemfrom

geen beschrijving

Voorbeeld
Q1
Onbekendvoorgesteld