Template:GRIN/doc

Usage
Use this template to add a reference to a species page on the web site GRIN. At the moment, it cannot link to pages on other taxonomic ranks, such as genera and families.

This template is designed to support WikipediaBioReferences and retrieves Wikidata. Do not edit this template unless you are familiar with these functionalities or are copying updated code from commons.

Syntax
Simply use the tag by itself or leave the id parameter blank to generate a citation/link of Wikidata's corresponding GRIN link for the current plant species. Wikidata: has GRIN links for most of the Wikipedia species on the GRIN database.
 * Simple




 * Example
 * Adding  to the Maize page creates (in the beginning of 2020) the following:   "Zea mays". Germplasm Resources Information Network (GRIN). Agricultural Research Service (ARS), United States Department of Agriculture (USDA).


 * Advanced formatting and parameter options


 * Parameters
 * mode
 * By default Citation Style 1; switch to Citation Style 2 with cs2.


 * id
 * the id of the species on GRIN web site.
 * How to retrieve the id: use the search page to retrieve the correct page.In the url  the id is 3074
 * Sample (for ananas): 3074


 * name (optional)
 * The name of the taxon
 * Sample (for ananas): Ananas comosus


 * authors (optional)
 * The taxon authors
 * Sample (for ananas): (L.) Merr.


 * validity (optional)
 * If the genus is considered as unaccepted or synonym by GRIN, add.
 * Sample (for searching example): nv


 * access-date (optional)
 * Specify the date the article was accessed.

Samples



 * Results

(The last 2 examples would have working links if added to a species article with corresponding "GRIN URL" Wikidata.)