Difference between revisions of "Template:InternetBirdCollection/doc"

From blackwiki
Jump to navigation Jump to search
imported>Pigsonthewing
(Underused external link template)
imported>Pigsonthewing
(ce)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
 +
{{uses Wikidata|P3099}}
 +
{{cs1 wrapper|base=Cite web}}
 
{{Underused external link template|http://www.hbw.com/ibc/species/}}
 
{{Underused external link template|http://www.hbw.com/ibc/species/}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
  
 
==Purpose==
 
==Purpose==
  
The template is for making external links to the [http://ibc.lynxeds.com/ Internet Bird Collection] 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==
The first parameter is required, the second is optional.
 
  
<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==

Revision as of 10:23, 25 August 2016

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