Difference between revisions of "Template:GRIN"

From blackwiki
Jump to navigation Jump to search
imported>Plantdrew
imported>Oashi
(++ === Numbered parameters ===)
Line 1: Line 1:
{{cite web | title = {{{name}}} | work = [[Germplasm Resources Information Network]] (GRIN) online database | url = http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?{{{id}}} | accessdate = {{{accessdate|}}}}}<noinclude>
+
{{cite web | title = {{{title|{{{1|{{{name}}}}}}}}}| work = [[Germplasm Resources Information Network]] (GRIN) online database| url = http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?{{{code|{{{2|{{{id}}}}}}}}}| accessdate = {{{visitdate|{{{3|{{{accessdate|}}}}}}}}}}}<noinclude>
  
==Usage==
+
== Usage ==
<nowiki>{{GRIN | name = | id = | accessdate = </nowiki>{{#time: j F Y}}<nowiki>}}</nowiki>
+
* '''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 ===
* name (of the plant)
+
<nowiki>{{GRIN | name = | id = | accessdate = </nowiki>{{#time: j F Y}}<nowiki>}}</nowiki>
* id (from the url of the GRIN page)
 
* accessdate (optional)
 
  
 
  <nowiki>* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | id = 102093 | accessdate = 2009-01-03}}</nowiki>
 
  <nowiki>* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | id = 102093 | accessdate = 2009-01-03}}</nowiki>
 
results in:
 
results in:
 
* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | id = 102093 | accessdate = 2009-01-03}}
 
* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | id = 102093 | accessdate = 2009-01-03}}
 +
 +
=== Numbered parameters ===
 +
<nowiki>* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03}}</nowiki>
 +
results in:
 +
* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03}}
  
 
{{Interwikitmp-grp
 
{{Interwikitmp-grp
Line 20: Line 25:
 
[[Category:Biology external link templates]]
 
[[Category:Biology external link templates]]
 
[[Category:Flora external link templates]]
 
[[Category:Flora external link templates]]
 
 
</noinclude>
 
</noinclude>

Revision as of 22:59, 14 December 2014

"{{{name}}}". Germplasm Resources Information Network (GRIN) online database.

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 = 21 January 2026}}
* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | id = 102093 | accessdate = 2009-01-03}}

results in:

Numbered parameters

* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03}}

results in:

Template:Interwikitmp-grp