Template talk:LepIndex
This template does not require a rating on Wikipedia's content assessment scale. It is of interest to the following WikiProjects: | ||||||||
|
Values from instances of this template have been copied to Wikidata, and transclusions in external links sections have had the migrated values removed. No changes to visible article text were made. If the template has a name parameter, that may also have been removed, making use of {{PAGENAMEBASE}} instead. (24 September 2016) |
Accessdate
editMany 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:
LepIndex taxonid changes on NHM site
editThe 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
editAs 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:
- "Auxacia bilineella". The Global Lepidoptera Names Index. Natural History Museum, London. Retrieved April 19, 2018.
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)
- 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)
- @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)
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)
- @SchreiberBike: I think it should be ok now. Shyamal (talk) 02:26, 29 April 2018 (UTC)
- @Shyamal: That's great. Thanks, SchreiberBike | ⌨ 02:34, 29 April 2018 (UTC)
https:// ?
editThe 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)
Template-protected edit request on 16 August 2019
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
Template-protected edit request on 22 July 2020
editThis edit request has been answered. Set the |answered= or |ans= parameter to no to reactivate your request. |
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)
- 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)