الگو:GRIN: تفاوت میان نسخه‌ها

محتوای حذف‌شده محتوای افزوده‌شده
جز language
تغییر الگو به انگلیسی بنا بر پیشنهاد Nargess.n
خط ۱:
{{cite web | title = {{{title|{{{1|{{{name}}} }}}}}}| work = بانک اطلاعاتی برخط [[:en:Germplasm Resources Information Network|شبکهGermplasm اطلاعاتResources منابعInformation ژرم پلاسمNetwork]] (GRIN) |language=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 in the {{پیوند الگو|GRIN}}: The ID param is requred!}}
}}
<noinclude>
{{توضیحات| content =
== استفاده ==
* '''name''' - name of the plant, a title to be shown here on WP within the edited article, wiki syntax possible (required)
<nowiki>{{GRIN | name = | id = | accessdate = </nowiki>{{#time: j F Y}}<nowiki>}}</nowiki>
* '''id''' - from the [[نشانی وب]] 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)
 
=== نام‌گذاری پارامترها ===
<nowiki>{{GRIN | name = | id = | accessdate = </nowiki>{{#time: j F Y}}<nowiki> }}</nowiki>
 
<nowiki>* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. &amp; C. A. Mey. | id = 102093 | accessdate = 3 January 2009-01-03 }}</nowiki>
* name (of the plant)
خروجی:
* id (from the url of the GRIN page)
* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. &amp; C. A. Mey. | id = 102093 | accessdate = 3 January 2009-01-03 }}
* accessdate (optional)
 
=== شماره‌بندی پارامترها ===
<nowiki>* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. &amp; C. A. Mey. | id = 102093 | accessdate = 2009-01-03}}</nowiki>
<nowiki>{{GRIN|||</nowiki>{{#time:Y-m-j}}<nowiki>}}</nowiki>
results in:
 
* {{GRIN | name = ''Daucus glochidiatus'' (Labill.) Fisch. &amp; C. A. Mey. | id = 102093 | accessdate = 2009-01-03}}
<nowiki>* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03 }}</nowiki>
خروجی:
* {{GRIN | ''Daucus glochidiatus'' (Labill.) Fisch. & C. A. Mey. | 102093 | 2009-01-03 }}
 
{{Interwikitmp-grp