Template talk:LepIndex

Accessdate
Many of the calls to this template include accessdate but this parameter is not handled in the template. It would be good if this template can make use of the citation templates so that it is more standard while also generating COinS metadata. Shyamal (talk) 11:57, 15 April 2018 (UTC)

LepIndex taxonid changes on NHM site
The NHM site has moved from the old format with a decimal place and a zero to complete integer taxonids and to allow the old ones to work, I have added a truncation expression to the template. It may perhaps be rolled back once all the template usages move to Wikidata and have the data corrected there. Shyamal (talk) 13:41, 16 April 2018 (UTC)

Format changes to template
As the format of the URLs at LepIndex changed, it has been apparent that this template is very useful and I've been using it to fix the links in references that no longer work. At Wikipedia talk:WikiProject Lepidoptera said "Make a wrapper for, you mean?" and if I understand that right, that sounds like a great idea. I'd love to see a change from its

current form: to: or even the format I've been using in the past to link to LepIndex: though I don't think it would be possible to pull up the current date of the database (found at http://www.nhm.ac.uk/our-science/data/lepindex/lepindex/) or the full "Current Comb:"
 * Auxacia bilineella at The Global Lepidoptera Names Index, Natural History Museum
 * "Auxacia bilineella". The Global Lepidoptera Names Index. Natural History Museum, London. Retrieved April 19, 2018.

Like I said, I've been using this template a lot of late and would love to see improvements to it. I've been formatting references as  In light of the post above about accessdate, would it be possible to quick code an access date into the template so those dates would carry over to any new format?

I'm open to any new ideas and appreciative of any help we can get. Thanks, SchreiberBike &#124; ⌨   19:15, 19 April 2018 (UTC)


 * Because I've been thinking and don't know how hard these things would be, I'd like to put them out there for future thought:
 * Sometimes the title of the target page is a subspecies like Choaspes hemixanthus ssp. furcata where "ssp." would not be italicized. I could provide a list of such abbreviations (but so far, the only one I've seen in LepIndex is "ssp.").
 * The form of the binomials in LepIndex is "AUXACIA bilineella" with the generic name in capital letters. If the template could change that automagically to sentence case, that would save a bunch of time.
 * Thanks, SchreiberBike &#124; ⌨   05:30, 21 April 2018 (UTC)
 * - I have gone ahead and made this utilize the cite web template wrapper. Let me know if it needs further changes. Shyamal (talk) 10:26, 25 April 2018 (UTC)

An extra line feed?
Please take a look at Fire grid burnet and Chrostosoma haematica. It seems like when the template is used outside of ref tags (" "), it adds an extra carriage return or line feed or something. I could fix it for those two by moving the text after the template into the template as an accessdate, but I don't think it should be adding the line feed. Thanks, SchreiberBike &#124; ⌨   02:21, 29 April 2018 (UTC)
 * I think it should be ok now. Shyamal (talk) 02:26, 29 April 2018 (UTC)
 * That's great. Thanks, SchreiberBike &#124; ⌨   02:34, 29 April 2018 (UTC)

https:// ?
The Natural History Museum is now using HTTPS. Should we change the template link from "http://" to "https://"? Thanks, SchreiberBike &#124; ⌨ 22:27, 9 August 2019 (UTC)

Template-protected edit request on 16 August 2019
As described in the section above, "http://" should be changed to "https://" because the targeted site is now using HTTPS. Thank you. SchreiberBike &#124; ⌨ 04:55, 16 August 2019 (UTC)  SchreiberBike &#124; ⌨  04:55, 16 August 2019 (UTC)
 * Yes check.svg Done DannyS712 (talk) 05:26, 16 August 2019 (UTC)

Template-protected edit request on 22 July 2020
I've noticed that this template does not have the ampersand between the penultimate and last editors. Please insert " " after the last editor and before the year. Thank you, SchreiberBike &#124; ⌨  19:13, 22 July 2020 (UTC)
 * Red information icon with gradient background.svg Not done: That would violate WP:CITEVAR at many, if not the vast majority, of the articles in which this template is used. I clicked on the first couple of articles in the What Links Here list, and I see this template used in Myrrha and Morpho, for example. Adding an ampersand would break CITEVAR in those articles. – Jonesey95 (talk) 19:50, 22 July 2020 (UTC)