Difference between revisions of "Template:GRIN"
Jump to navigation
Jump to search
imported>Oashi (→Usage: alternative prefilled example to be copypasted, unnumbered) |
imported>Mellis (Unnecessary "online database") |
||
| Line 1: | Line 1: | ||
| − | {{cite web | title = {{{title|{{{1|{{{name}}}}}}}}}| work = [[Germplasm Resources Information Network]] (GRIN) | + | {{cite web | title = {{{title|{{{1|{{{name}}}}}}}}}| work = [[Germplasm Resources Information Network]] (GRIN)| url = http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?{{#if:{{{code|{{{2|{{{id}}}}}}}}}|{{{code|{{{2|{{{id}}}}}}}}}<!-- nothing but to prevent spaces, to trim the ID string to be appended to the URL -->}}| accessdate = {{{visitdate|{{{3|{{{accessdate|}}}}}}}}}}}{{ |
#if:{{{code|{{{2|{{{id|<noinclude>suppress the test by default</noinclude>}}}}}}}}}|<!-- ok -->|{{error|Error in the {{tl|GRIN}}: The ID param is requred!}} | #if:{{{code|{{{2|{{{id|<noinclude>suppress the test by default</noinclude>}}}}}}}}}|<!-- ok -->|{{error|Error in the {{tl|GRIN}}: The ID param is requred!}} | ||
}}<noinclude> | }}<noinclude> | ||
Revision as of 06:15, 3 February 2016
"{{{name}}}". Germplasm Resources Information Network (GRIN).
Usage
- name - name of the plant, a title to be shown here on WP within the edited article, wiki syntax possible (required)
- id - from the URL of the GRIN page, must be the real ID number of the cited article on the GRIN site (required)
- accessdate - when was the referred page seen really (optional, prefilled here for copypaste)
Named parameters
{{GRIN | name = | id = | accessdate = 19 January 2026 }}
* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | id = 102093 | accessdate = 3 January 2009 }}
results in:
- "Daucus glochidiatus (Labill.) Fisch. & C. A. Mey". Germplasm Resources Information Network (GRIN). Retrieved 3 January 2009.
Numbered parameters
{{GRIN|||2026-01-19}}
* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03 }}
results in:
- "Daucus glochidiatus (Labill.) Fisch. & C. A. Mey". Germplasm Resources Information Network (GRIN). Retrieved 2009-01-03.