Template:AlgaeBase taxon/doc

The template creates a citation to the taxonomy browser webpage for a genus or higher ranked taxon in the AlgaeBase taxonomic database. Normally, AlgaeBase genus would be used for a genus; it creates a citation to the information webpage.

Usage


The name parameter should give the taxon name (with italic markup if a genus). The id parameter should be the number at the end of the url, often a 4 or 5 digit number. For example, if the url is http://www.algaebase.org/browse/taxonomy/detail/?taxonid= 4937, the highlighted number, 4937, would be put into the id field if you wanted to include a link to the AlgaeBase page on Closteriaceae). The mode parameter with a value of "cs2" can be used to generate a cs2 style citation; the default is cs1. The access-date parameter gives the date on which AlgaeBase was accessed.

Examples:

The template can be used for genera, provided the ID is taken from the same form of URL. It links to the taxonomy browser webpage for a genus rather than the information webpage. Thus:

AlgaeBase uses different urls for genera, species, and higher taxa. Use the following templates for genera and species:
 * Template:AlgaeBase genus
 * Template:AlgaeBase species

TemplateData
 {	"description": "A template used for the reference of AlgaeBase.org, which can take a specific ID of an alga and create a citation.", "params": { "mode": { "label": "Citation style", "description": "The style (mode) of the generated citation, cs1 or cs2.", "type": "string", "default": "cs1", "required": false },		"name": { "label": "Taxon name", "description": "The name of the taxon (with italics if required).", "type": "string", "default": "", "required": true },		"id": { "label": "ID", "description": "The id parameter should be the number at the end of the url, often a 4 or 5 digit number.", "type": "number", "default": "", "required": true },		"access-date": { "label": "Access date", "description": "The date the database was accessed.", "type": "string", "required": false }		}	} 