Template:AlgaeBase genus/doc

The template creates a citation to the information webpage for a genus in the AlgaeBase taxonomic database.

To create a citation to the taxonomy browser webpage for a genus in AlgaeBase, use AlgaeBase taxon.

Usage


The name parameter should give the genus name (without italics). The id parameter should be the number at the end of the url for the genus information webpage, often a 4 or 5 digit number. For example, if the url is https://www.algaebase.org/search/genus/detail/?genus_id= 52021, the highlighted number, 52021, would be put into the id field to create a citation with a link to the AlgaeBase page on Actinodontum. 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:

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

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": "Genus name", "description": "The name of the genus (without italics).", "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 }		}	} 