![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
![]() | Text and/or other creative content from Template:GRIN_species was copied or moved into Template:GRIN on 11 February 2016. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
@ Oashi: The error check you just added has found three articles with errors:
Can you fix these? Thanks, Wbm1058 ( talk) 15:48, 16 December 2014 (UTC)
GRIN URLs of the template's form:
http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?<id>
currently redirect to the form
https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=<id>
So I'm wondering if the base URL needs to be updated to the new form. Not urgently as I'm sure the redirect will work for some time. But perhaps not indefinitely. Thanks Declangi ( talk) 02:54, 8 March 2016 (UTC)
If I use the template with ID only, e.g. {{GRIN | 405245}}
, I get a result with the species name, which is fine. But it would be great if the species were italicised, as for e.g. {{WCSP | 405245}}
. Many thanks if easily doable.
Declangi (
talk)
20:59, 4 August 2017 (UTC)
{{GRIN}}
, sufficient for many articles. I've been updating direct GRIN URLs to use this template and in the cases of using the concise forms of the template it would be nice to have italics output for species names. Many thanks again,
Declangi (
talk)
09:27, 11 January 2018 (UTC)
What is the if-statement that determines whether the |name=
parameter is displayed meant to do? It takes the value of the |name=
parameter (or the id in parameter 1), and then checks whether the value converted to a number plus 3 is less than the length of the value; if so, the value is displayed as the link text. So if I use |name=''Andromeda polifolia'' L. var. ''latifolia'' Aiton
, its length is 51, but its number value is 0, so it is not displayed. I don't know why that would be desirable. I would make an edit request to fix this, but I have no idea what the if-statement is meant to do, so I don't know how to change it to make it work properly. —
Eru·
tuon
17:22, 18 July 2018 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Recently, a warning appears when using this template (or viewing the template page itself), regarding mode = CS1. I believe using lowercase will fix it:
| mode = {{{mode|cs1}}}
Declangi (
talk)
09:59, 4 September 2019 (UTC)
Adding {{GRIN}}
to the
Iris lortetii page creates the following:
NOT:
Something (code and/or documentation, should be both) needs to change. I agree that "Cite as: USDA, Agricultural Research Service, National Plant Germplasm System. 2019. Germplasm Resources Information Network (GRIN-Taxonomy). National Germplasm Resources Laboratory, Beltsville, Maryland. URL: https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=20350. Accessed 7 November 2019." is ridiculous, but it provides a start. Cite should have the name/title and it should link to the web page. The ARS and USDA links may be fluff. -- User-duck ( talk) 00:13, 8 November 2019 (UTC)
Please add a noinclude
-d hatnote with a message like
CiaPan ( talk) 10:06, 31 December 2019 (UTC)
Done: I hope editors realize this is a noinclude hatnote. —
hike395 (
talk)
07:48, 27 January 2020 (UTC)
Section Template:GRIN/doc#Syntax, the Example says:
{{GRIN}}
to the
Maize page creates the following: "
Maize".
Germplasm Resources Information Network (GRIN).whilst it actually creates something close to
CiaPan ( talk) 07:13, 2 January 2020 (UTC)
Done
Did it myself, hopefully didn't break it. --
CiaPan (
talk)
07:35, 27 January 2020 (UTC)
The GRIN template appears to be building an incorrect url. The examples on the template documentation page, when clicked, go to a blank GRIN page.
Example, click on this:
However, on the GRIN website, if you search for the taxon (Anasus comosus) and click in the result you want (the first in the list), you are sent to this URL:
current GRIN template URL: https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?3074 proposed GRIN template URL: https://npgsweb.ars-grin.gov/gringlobal/taxon/taxonomydetail?id=3074
The .aspx has been removed, an id= has been added, and a /taxon now exists before the taxonomydetail.
The documentation page will need to be corrected as well. I don't have the knowledge on how to do templates, only to report what appears to be bugs in them. -- Eewilson ( talk) 17:46, 3 February 2021 (UTC)
Can someone modify this template enable the ability to use sfn? Ideally, to be able to be used as
{{sfn|GRIN|<<year>>}}
. Or something like that. Thanks. — Eewilson ( talk) 03:47, 26 July 2021 (UTC)
It looks like they have updated their URL format again, without redirecting. Our current template format:
https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=1234
Their new format:
https://npgsweb.ars-grin.gov/gringlobal/taxon/taxonomydetail?id=1234
It looks like they have dropped the .aspx
part of the URL and added a /taxon
component. Thanks,
Declangi (
talk)
22:52, 16 September 2022 (UTC)
![]() | This template does not require a rating on Wikipedia's
content assessment scale. It is of interest to the following WikiProjects: | |||||||
|
![]() | Text and/or other creative content from Template:GRIN_species was copied or moved into Template:GRIN on 11 February 2016. The former page's history now serves to provide attribution for that content in the latter page, and it must not be deleted as long as the latter page exists. |
@ Oashi: The error check you just added has found three articles with errors:
Can you fix these? Thanks, Wbm1058 ( talk) 15:48, 16 December 2014 (UTC)
GRIN URLs of the template's form:
http://www.ars-grin.gov/cgi-bin/npgs/html/taxon.pl?<id>
currently redirect to the form
https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=<id>
So I'm wondering if the base URL needs to be updated to the new form. Not urgently as I'm sure the redirect will work for some time. But perhaps not indefinitely. Thanks Declangi ( talk) 02:54, 8 March 2016 (UTC)
If I use the template with ID only, e.g. {{GRIN | 405245}}
, I get a result with the species name, which is fine. But it would be great if the species were italicised, as for e.g. {{WCSP | 405245}}
. Many thanks if easily doable.
Declangi (
talk)
20:59, 4 August 2017 (UTC)
{{GRIN}}
, sufficient for many articles. I've been updating direct GRIN URLs to use this template and in the cases of using the concise forms of the template it would be nice to have italics output for species names. Many thanks again,
Declangi (
talk)
09:27, 11 January 2018 (UTC)
What is the if-statement that determines whether the |name=
parameter is displayed meant to do? It takes the value of the |name=
parameter (or the id in parameter 1), and then checks whether the value converted to a number plus 3 is less than the length of the value; if so, the value is displayed as the link text. So if I use |name=''Andromeda polifolia'' L. var. ''latifolia'' Aiton
, its length is 51, but its number value is 0, so it is not displayed. I don't know why that would be desirable. I would make an edit request to fix this, but I have no idea what the if-statement is meant to do, so I don't know how to change it to make it work properly. —
Eru·
tuon
17:22, 18 July 2018 (UTC)
![]() | This
edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
Recently, a warning appears when using this template (or viewing the template page itself), regarding mode = CS1. I believe using lowercase will fix it:
| mode = {{{mode|cs1}}}
Declangi (
talk)
09:59, 4 September 2019 (UTC)
Adding {{GRIN}}
to the
Iris lortetii page creates the following:
NOT:
Something (code and/or documentation, should be both) needs to change. I agree that "Cite as: USDA, Agricultural Research Service, National Plant Germplasm System. 2019. Germplasm Resources Information Network (GRIN-Taxonomy). National Germplasm Resources Laboratory, Beltsville, Maryland. URL: https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=20350. Accessed 7 November 2019." is ridiculous, but it provides a start. Cite should have the name/title and it should link to the web page. The ARS and USDA links may be fluff. -- User-duck ( talk) 00:13, 8 November 2019 (UTC)
Please add a noinclude
-d hatnote with a message like
CiaPan ( talk) 10:06, 31 December 2019 (UTC)
Done: I hope editors realize this is a noinclude hatnote. —
hike395 (
talk)
07:48, 27 January 2020 (UTC)
Section Template:GRIN/doc#Syntax, the Example says:
{{GRIN}}
to the
Maize page creates the following: "
Maize".
Germplasm Resources Information Network (GRIN).whilst it actually creates something close to
CiaPan ( talk) 07:13, 2 January 2020 (UTC)
Done
Did it myself, hopefully didn't break it. --
CiaPan (
talk)
07:35, 27 January 2020 (UTC)
The GRIN template appears to be building an incorrect url. The examples on the template documentation page, when clicked, go to a blank GRIN page.
Example, click on this:
However, on the GRIN website, if you search for the taxon (Anasus comosus) and click in the result you want (the first in the list), you are sent to this URL:
current GRIN template URL: https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?3074 proposed GRIN template URL: https://npgsweb.ars-grin.gov/gringlobal/taxon/taxonomydetail?id=3074
The .aspx has been removed, an id= has been added, and a /taxon now exists before the taxonomydetail.
The documentation page will need to be corrected as well. I don't have the knowledge on how to do templates, only to report what appears to be bugs in them. -- Eewilson ( talk) 17:46, 3 February 2021 (UTC)
Can someone modify this template enable the ability to use sfn? Ideally, to be able to be used as
{{sfn|GRIN|<<year>>}}
. Or something like that. Thanks. — Eewilson ( talk) 03:47, 26 July 2021 (UTC)
It looks like they have updated their URL format again, without redirecting. Our current template format:
https://npgsweb.ars-grin.gov/gringlobal/taxonomydetail.aspx?id=1234
Their new format:
https://npgsweb.ars-grin.gov/gringlobal/taxon/taxonomydetail?id=1234
It looks like they have dropped the .aspx
part of the URL and added a /taxon
component. Thanks,
Declangi (
talk)
22:52, 16 September 2022 (UTC)