Difference between revisions of "Template:Avibase/doc"

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(add links to tracking categories)
imported>Zyxw
m (note modules used)
 
(4 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
{{Uses Wikidata|P2026}}
 
{{Uses Wikidata|P2026}}
 
{{Tracks Wikidata|P2026}}
 
{{Tracks Wikidata|P2026}}
 +
{{Lua|Module:EditAtWikidata|Module:WikidataCheck}}
  
 
==Purpose==
 
==Purpose==
Line 36: Line 37:
  
 
==Tracking categories==
 
==Tracking categories==
* [[:Category:Avibase ID not in Wikidata]] ({{PAGESINCAT:Avibase ID not in Wikidata}} pages)
+
* {{clc|Avibase ID not in Wikidata}}
* [[:Category:Avibase ID different from Wikidata]] ({{PAGESINCAT:Avibase ID different from Wikidata}} pages)
+
* {{clc|Avibase ID different from Wikidata}}
* [[:Category:Avibase ID same as Wikidata]] ({{PAGESINCAT:Avibase ID same as Wikidata}} pages)
+
* {{clc|Avibase ID same as Wikidata}}
* [[:Category:Avibase template with no id set]] (exists in template, not created)
+
* {{cl|Avibase template with no id set}} (exists in template, not created)
  
 
== See also==
 
== See also==
Line 47: Line 48:
 
<includeonly>{{sandbox other||
 
<includeonly>{{sandbox other||
 
<!-- Categories below this line, please; interwikis at Wikidata -->
 
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Biology external link templates]]
+
[[Category:Ornithology external link templates]]
 
[[Category:External link templates]]
 
[[Category:External link templates]]
 
[[Category:Templates that add a tracking category]]
 
[[Category:Templates that add a tracking category]]
  
 +
[[Category:External link templates using Wikidata]]
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 01:33, 10 May 2019

Template:Uses Wikidata Template:Tracks Wikidata

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

  • "[[:Template:PAGENAMEBASE]]". Avibase. URL–wikilink conflict (help)Script error: No such module "EditAtWikidata".Template:WikidataCheck

Full

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

will be displayed as

Tracking categories

See also