टेम्पलेट:GRIN: रिवीजन सभ के बीचा में अंतर
Content deleted Content added
imported>MCEllis Should be much more flexible now, with no errors. |
imported>MCEllis Pulls url from Wikidata if not specified. |
||
लाइन 1: | लाइन 1: | ||
{{cite web |
{{cite web |
||
| title = {{#ifexpr: {{str |
| title = {{#ifexpr: {{str len|{{{name|{{{1|}}}}}}}}>({{str number |{{{name|{{{1}}}}}}}}+3)|{{{title|{{{1|{{{name}}}}}}}}}|{{{2|{{PAGENAME}}}}}}} |
||
| work = [[Germplasm Resources Information Network]] (GRIN) |
| work = [[Germplasm Resources Information Network]] (GRIN) |
||
| url = {{#ifexpr: {{str len|{{{name|{{{1}}}}}}}}>({{str number |{{{name|{{{1}}}}}}}}+3)|http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?{{trim|{{#if:{{{code|{{{2|{{{id}}}}}}}}}|{{{code|{{{2|{{{id}}}}}}}}}}}}}|{{#ifexpr: {{str number |{{{1|}}}}}>1|http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?{{trim|{{{1|}}}}}|{{#property:P1421|}}}}}} |
| url = {{#ifexpr: {{str len|{{{name|{{{1|}}}}}}}}>({{str number |{{{name|{{{1}}}}}}}}+3)|http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?{{trim|{{#if:{{{code|{{{2|{{{id}}}}}}}}}|{{{code|{{{2|{{{id}}}}}}}}}}}}}|{{#ifexpr: {{str number |{{{1|}}}}}>1|http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?{{trim|{{{1|}}}}}|{{#property:P1421|}}}}}} |
||
| accessdate = {{{visitdate|{{{accessdate|}}}}}} |
| accessdate = {{{visitdate|{{{accessdate|}}}}}} |
||
}}<noinclude> |
}}<noinclude> |
07:21, 11 फरवरी 2016 तक ले भइल बदलाव
"GRIN". Germplasm Resources Information Network (GRIN). {{cite web}}
: Missing or empty |url=
(help)
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 = 29 मार्च 2024 }}
* {{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|||2024-03-29}}
* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03 }}
results in:
Similar templates on Wikimedia sister projects | |
---|---|
Commons | |
Wikispecies |