Difference between revisions of "Template:GRIN"

From blackwiki
Jump to navigation Jump to search
imported>Oashi
m (→‎Usage: URL link)
imported>Oashi
(→‎Usage: alternative prefilled example to be copypasted, unnumbered)
Line 9: Line 9:
  
 
=== Named parameters ===
 
=== Named parameters ===
  <nowiki>{{GRIN | name = | id = | accessdate = </nowiki>{{#time: j F Y}}<nowiki>}}</nowiki>
+
  <nowiki>{{GRIN | name = | id = | accessdate = </nowiki>{{#time: j F Y}}<nowiki> }}</nowiki>
  
  <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 = 3 January 2009 }}</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 = 3 January 2009 }}
  
 
=== Numbered parameters ===
 
=== Numbered parameters ===
  <nowiki>* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03}}</nowiki>
+
<nowiki>{{GRIN|||</nowiki>{{#time:Y-m-j}}<nowiki>}}</nowiki>
 +
 
 +
  <nowiki>* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03 }}</nowiki>
 
results in:
 
results in:
* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03}}
+
* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03 }}
  
 
{{Interwikitmp-grp
 
{{Interwikitmp-grp

Revision as of 00:13, 15 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 = 20 January 2026 }}
* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | id = 102093 | accessdate = 3 January 2009 }}

results in:

Numbered parameters

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

results in:

Template:Interwikitmp-grp