Difference between revisions of "Template:Avibase"

From blackwiki
Jump to navigation Jump to search
imported>JJMC89
(edit link and tracking)
imported>Elegie
(Use HTTPS for the Avibase link in order to provide increased user privacy/security)
Line 1: Line 1:
 
{{Cite web
 
{{Cite web
|url        = http://avibase.bsc-eoc.org/species.jsp?lang=EN&avibaseid={{{id|{{{1|{{#property:P2026|[[Category:Avibase template with no id set]]}}}}}}}}
+
|url        = https://avibase.bsc-eoc.org/species.jsp?lang=EN&avibaseid={{{id|{{{1|{{#property:P2026|[[Category:Avibase template with no id set]]}}}}}}}}
 
|title      = {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}
 
|title      = {{{name|{{{2|{{PAGENAMEBASE}}}}}}}}
 
|work        = Avibase
 
|work        = Avibase

Revision as of 09:54, 25 May 2017

template with no id set%5d%5d}} "[[:Template:PAGENAMEBASE]]" Check |url= value (help). Avibase. URL–wikilink conflict (help)

Template documentation[view] [edit] [history] [purge]

Template:Uses Wikidata Template:Tracks Wikidata Lua error in Module:Lua_banner at line 113: attempt to index field 'edit' (a nil value).

Purpose

The template is for making external links to the Avibase ornithology taxonomy database.

Format

  1. |id= - slug of Avibase page URL; if no value is entered, the template will attempt to fetch it from Wikidata
  2. |name= - text to display; defaults to page name of no value is entered
{{avibase|id|name}}

The Avibase ID can be found in the search results for that species. (Note this is not the same as the Taxomic Serial Number).

Example of usage

Get data from Wikidata

*{{avibase}}

Use page name

*{{avibase|1BB50DE8362A4963}}

will be displayed as

Full

*{{avibase|1BB50DE8362A4963|Turdus merula}}

will be displayed as

Tracking categories

See also