Difference between revisions of "Template:Avibase/doc"
Jump to navigation
Jump to search
imported>Pigsonthewing ({{cs1 wrapper|base=Cite web}}) |
imported>Pigsonthewing (→Format: ce) |
||
| Line 9: | Line 9: | ||
==Format== | ==Format== | ||
| − | |||
| − | <nowiki>{{</nowiki>avibase| | + | # {{Para|id}} - slug of Avibase page URL; if no value is entered, the template will attempt to fetch it from [[Wikidata]] |
| + | # {{Para|name}} - text to display; defaults to page name of no value is entered | ||
| + | |||
| + | <nowiki>{{</nowiki>avibase|id|name<nowiki>}}</nowiki> | ||
The Avibase ID can be found in the search results for that species. (Note this is ''not'' the same as the Taxomic Serial Number). | 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== | ==Example of usage== | ||
Revision as of 10:27, 25 August 2016
| This is a documentation subpage for Template:Avibase. It contains usage information, categories and other content that is not part of the original template page. |
| This template is a Citation Style 1 wrapper template based on {{Cite web}}. For centralised Citation Style 1 discussions, see Help talk:Citation Style 1. |
Contents
Purpose
The template is for making external links to the Avibase ornithology taxonomy database.
Format
|id=- slug of Avibase page URL; if no value is entered, the template will attempt to fetch it from Wikidata|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
- "Turdus merula". Avibase.Script error: No such module "EditAtWikidata".Template:WikidataCheck