Template talk:LepIndex

Latest comment: 4 years ago by Jonesey95 in topic Template-protected edit request on 22 July 2020

Accessdate

edit

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) @Pigsonthewing:Reply

LepIndex taxonid changes on NHM site

edit

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)Reply

Format changes to template

edit

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#LepIndex Pigsonthewing said "Make {{LepIndex}} a wrapper for {{cite web}}, 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:

  • Beccaloni, George; et al., eds. (January 2018). "Auxacia bilineella Ragonot, 1887". The Global Lepidoptera Names Index. Natural History Museum, London. Retrieved April 19, 2018.

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:"

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 {{LepIndex |id=9219 |name=Auxacia bilineella}} Retrieved April 19, 2018. 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 | ⌨  19:15, 19 April 2018 (UTC)Reply

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 | ⌨  05:30, 21 April 2018 (UTC)Reply
@SchreiberBike: - 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)Reply

An extra line feed?

edit

@Shyamal: Please take a look at Fire grid burnet and Chrostosoma haematica. It seems like when the template is used outside of ref tags ("<ref></ref>"), 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 | ⌨  02:21, 29 April 2018 (UTC)Reply

@SchreiberBike: I think it should be ok now. Shyamal (talk) 02:26, 29 April 2018 (UTC)Reply
@Shyamal: That's great. Thanks,  SchreiberBike | ⌨  02:34, 29 April 2018 (UTC)Reply

https:// ?

edit

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

Template-protected edit request on 16 August 2019

edit

As described in the section above, "http://" should be changed to "https://" because the targeted site is now using HTTPS. Thank you. SchreiberBike | ⌨  04:55, 16 August 2019 (UTC)  SchreiberBike | ⌨  04:55, 16 August 2019 (UTC)Reply

  Done DannyS712 (talk) 05:26, 16 August 2019 (UTC)Reply

Template-protected edit request on 22 July 2020

edit

I've noticed that this template does not have the ampersand between the penultimate and last editors. Please insert "| last-author-amp=yes" after the last editor and before the year. Thank you,  SchreiberBike | ⌨  19:13, 22 July 2020 (UTC)Reply

  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)Reply