Difference between revisions of "Template:IUCNlink"

From blackwiki
Jump to navigation Jump to search
imported>Ucucha
(title in italics, as the page title on the Red List is a scientific name)
imported>ThaddeusB
(add rangemap parameter)
Line 1: Line 1:
<onlyinclude>{{#if:{{{2|}}}|[}}http://www.iucnredlist.org/apps/redlist/details/{{{1}}}/0/full {{#if:{{{2|}}}|''{{{2}}}'']}}</onlyinclude>  
+
<onlyinclude>{{#if:{{{2|}}}|[}}http://www.iucnredlist.org/apps/redlist/details/{{{1}}}/0/{{#if:{{{rangemap|}}}|rangemap|full}} {{#if:{{{2|}}}|''{{{2}}}'']}}</onlyinclude>  
  
  
Line 8: Line 8:
 
*<id number> is the internal redlist identification number.  For example, in http://www.iucnredlist.org/apps/redlist/details/12345/0, the id number is 12345.
 
*<id number> is the internal redlist identification number.  For example, in http://www.iucnredlist.org/apps/redlist/details/12345/0, the id number is 12345.
 
*<title> is an optional parameter for that causes the link to display like [http://www.iucnredlist.org/apps/redlist/details/12345/0 ''title''] instead of http://www.iucnredlist.org/apps/redlist/details/12345/0.
 
*<title> is an optional parameter for that causes the link to display like [http://www.iucnredlist.org/apps/redlist/details/12345/0 ''title''] instead of http://www.iucnredlist.org/apps/redlist/details/12345/0.
 +
 +
An optional <code>rangemap=yes</code> parameter may to added to link directly to the range map rather than the general information page for a given species.
  
 
[[Category:Biology external link templates]]
 
[[Category:Biology external link templates]]
 
[[Category:Biology source templates]]
 
[[Category:Biology source templates]]

Revision as of 05:03, 5 November 2009

http://www.iucnredlist.org/apps/redlist/details/{{{1}}}/0/full


This template formats links to the IUCN Red List website.

Usage: {{IUCNlink|<id number>|<title>}} where:

An optional rangemap=yes parameter may to added to link directly to the range map rather than the general information page for a given species.