टेम्पलेट:GRIN: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
imported>Oashi ++ === Numbered parameters === |
imported>Oashi ++IF - to prevent spaces, to trim the ID string to be appended to the URL; ++error: teh ID value validation, as that value is required. |
||
लाइन 1: | लाइन 1: | ||
{{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|}}}}}}}}}}} |
{{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?{{#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!}} |
|||
}}<noinclude> |
|||
== Usage == |
== Usage == |
00:02, 15 दिसंबर 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 = 10 मई 2024}}
* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | id = 102093 | accessdate = 2009-01-03}}
results in:
- "Daucus glochidiatus (Labill.) Fisch. & C. A. Mey". Germplasm Resources Information Network (GRIN) online database. Retrieved 2009-01-03.
Numbered parameters
* {{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) online database. Retrieved 2009-01-03.
Similar templates on Wikimedia sister projects | |
---|---|
Commons | |
Wikispecies |