Difference between revisions of "Template:InternetBirdCollection/doc"

From blackwiki
Jump to navigation Jump to search
imported>Sardanaphalus
m (template name update)
imported>Thierry Caro
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- Place categories where indicated at the bottom of this page and interwikis at Wikidata -->
 +
{{Uses Wikidata|P3099}}
 +
{{cs1 wrapper|base=Cite web}}
 +
{{Underused external link template|http://www.hbw.com/ibc/species/}}
  
 
==Purpose==
 
==Purpose==
  
The template is for making external links to the [http://www.birdlife.org/datazone/species BirdLife Data Zone] species pages.
+
The template is for making an external link to a page on the [http://ibc.lynxeds.com/ Internet Bird Collection] website.
  
==Format==
+
==Usage==
All parameters are '''required.'''
 
  
<nowiki>{{</nowiki>InternetBirdCollection|IBC Page Name|free text<nowiki>}}</nowiki>
+
# {{Para|id}} - slug of IBC 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
  
The Internet Bird Collection Page Name can be found in the URL of the search results for that species. It is usually the common English name followed by the scientific name, with all words separated by hyphens. e.g. - white-tipped-quetzal-pharomachrus-fulgidus
+
<nowiki>{{</nowiki>InternetBirdCollection|id|name<nowiki>}}</nowiki>
 +
 
 +
The ID can be found in the URL of the search results for that species. It is usually the common English name followed by the scientific name, with all words separated by hyphens. e.g. - white-tipped-quetzal-pharomachrus-fulgidus
  
 
==Example of usage==
 
==Example of usage==
Line 22: Line 27:
  
 
== See also==
 
== See also==
*{{tl|Field guide birds of the world}}
+
* {{tl|Field guide birds of the world}}
*{{tl|Avibase}}
+
* {{tl|Avibase}}
*{{tl|BirdLife}}
+
* {{tl|BirdLife}}
  
<includeonly>
+
<includeonly>{{sandbox other||
[[Category:Biology external link templates]]
+
<!-- Categories below this line; interwikis at Wikidata -->
[[Category:External link templates]]
+
[[Category:Ornithology external link templates]]
</includeonly>
+
[[Category:External link templates using Wikidata]]
 +
}}</includeonly>

Latest revision as of 02:50, 24 October 2018

Template:Uses Wikidata

Template:Underused external link template

Purpose

The template is for making an external link to a page on the Internet Bird Collection website.

Usage

  1. |id= - slug of IBC 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
{{InternetBirdCollection|id|name}}

The ID can be found in the URL of the search results for that species. It is usually the common English name followed by the scientific name, with all words separated by hyphens. e.g. - white-tipped-quetzal-pharomachrus-fulgidus

Example of usage

*{{InternetBirdCollection|white-tipped-quetzal-pharomachrus-fulgidus|White-tipped Quetzal}}

will be displayed as

  • "White-tipped Quetzal media". Internet Bird Collection.

See also