Difference between revisions of "Template:Avibase"

From blackwiki
Jump to navigation Jump to search
imported>Stongey
(Most latin names I've seen on Wikipedia are italicized, so it seems that they should be here too)
imported>Pigsonthewing
(options to use Wikidata; PAGENAMEBASE)
Line 1: Line 1:
[http://avibase.bsc-eoc.org/species.jsp?lang=EN&avibaseid={{{1}}} ''{{{2}}}''] on [http://avibase.bsc-eoc.org Avibase]<noinclude>
+
[http://avibase.bsc-eoc.org/species.jsp?lang=EN&avibaseid={{{1|{{{id|{{#property:P2026|[[Category:Avibase template with no id set]]}}}}}}}} {{#if:{{{2|}}}|''{{{2}}}''|{{PAGENAMEBASE}}}}] on [http://avibase.bsc-eoc.org Avibase]<noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Revision as of 13:54, 25 July 2016

Template:PAGENAMEBASE on Avibase

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