Template talk:ASIN

Remove date auto-linking
Editprotect Please remove the set of square brackets around  which I believe is responsible for attempting to autolink the provided date. This will fail in many circumstances, e.g. ->. -- Michael Bednarek (talk) 07:09, 9 April 2009 (UTC)
 * ✅ Peter Symonds ( talk ) 11:47, 9 April 2009 (UTC)

Why advertise Amazon
I don't see why Wikipedia should designate or link to Amazon, or any particular vendor, of a work mentioned in the encyclopedia.—Finell 22:35, 27 January 2010 (UTC)
 * cite also links to Amazon with ASINs..., unlike this template, that one is used directly for references... 70.49.127.65 (talk) 03:14, 27 June 2012 (UTC)


 * I have put this template up fro deletion. See Templates_for_discussion/Log/2012_June_25. -- Alan Liefting (talk - contribs) 03:18, 27 June 2012 (UTC)

Tweak for print
Simply copy paste this.

This will help clean up PDFs and Books. The code has been tested and works. Headbomb {{{sup|ταλκ}}κοντριβς – WP Physics} 22:13, 3 March 2010 (UTC)
 * ✅  Ron h jones (Talk) 22:50, 6 March 2010 (UTC)
 * Many thanks. Headbomb {talk / contribs / physics / books} 22:57, 6 March 2010 (UTC)

blank lines and messed up formatting
editprotected I am trying to use this template in a list but it is messing up the line spacing and more if there is any text after:


 * text text text text text
 * text text text text text
 * test
 * text text text text text
 * text text text text text
 * text text text text text
 * text text text text text

I don't know how to fix it. &mdash;Eekerz (t) 08:23, 22 April 2010 (UTC)
 * Problem solved. Thank you for the report. —Th e DJ (talk • contribs) 10:24, 22 April 2010 (UTC)

Other tweak for print
Could you please replace |ASIN:&amp;nbsp;<!--

with |ASIN:&amp;nbsp;<!--

This would add some missing information in PDFs. Headbomb {talk / contribs / physics / books} 12:26, 20 March 2011 (UTC)
 * Could you give a little more detail about what effect this change will have? &mdash; Martin (MSGJ · talk) 21:32, 21 March 2011 (UTC)


 * It would display as ASIN (amazon.fr): B000F8S4A0 instead of ASIN: B000F8S4A0 (for a link to the French Amazon) in the PDFs. Online output is unaffected. Headbomb {talk / contribs / physics / books} 21:40, 21 March 2011 (UTC)
 * Okay, I don't really understand the benefit or purpose but there is no opposition, so ✅! &mdash; Martin (MSGJ · talk) 16:14, 23 March 2011 (UTC)

When to use this
Is there any guideline as to when using this template is appropriate? Is it meant to be used in the external links section for common items like books and music? I see the old deletion discussion talking about "an ID of last resort". Yet I see this template used in External links sections for albums which are readily available in hundreds of other shops. Is it not promoting Amazon in such a case? It also seems directly against WP:ELNO #5 in this specific case. I have much less problem with it being used to source information, it is External links that bother me. Would there be objection to adding comments about apropriate usage to the documentation? --Muhandes (talk) 15:45, 27 July 2011 (UTC)


 * It is very much an ID of last resort. I'm fine with it if it's used for referencing purposes, but alternatives should be used if available. Headbomb {talk / contribs / physics / books} 15:56, 27 July 2011 (UTC)


 * As I said above, I'm find with its use for references, my concern is with its use for external links, especially when many free alternatives exist (discogs and allmusic to name just two).--Muhandes (talk) 18:25, 27 July 2011 (UTC)


 * Then yeah, it's inappropriate in those cases. Still clue must be exercised. A link to Amazon is better than no link at all. But if there are links to Discogs / Allmusic / other sites, then it should be safe to remove then. Headbomb {talk / contribs / physics / books} 19:13, 27 July 2011 (UTC)

Up for deletion
See Templates_for_discussion/Log/2012_June_25. Not sure if some sort of indication of the discussion can be added to the template. -- Alan Liefting (talk - contribs) 19:55, 26 June 2012 (UTC)
 * &mdash; Martin (MSGJ · talk) 21:50, 29 June 2012 (UTC)

Number of usages for ISBN
If the first digit in the parameter is a numeral the item is a book with an ISBN. Can someone pull out a list of these occurrences? I would like to get them converted to a cite book format. -- Alan Liefting (talk - contribs) 23:02, 28 June 2012 (UTC)

RFCs on citations templates and the flagging free-to-read sources
See
 * Village pump (proposals)
 * Village pump (proposals)

Headbomb {talk / contribs / physics / books} 17:05, 29 October 2016 (UTC)

Proposal: Use HTTPS for links to Amazon
This template generates a link to an Amazon page for a specific ASIN. Using HTTPS instead of HTTP when generating a link to Amazon should provide increased privacy and security to users. If all Amazon sites, regardless of country (such as http://www.amazon.ca/ and http://www.amazon.de/) support HTTPS, then it should be possible to have the template generate an HTTPS link in all cases. If, on the other hand, there are only some specific Amazon sites that support HTTPS, then it might be possible to have a whitelist of HTTPS-supporting domains or country codes stored in the template, and to have the template only generate an HTTPS link when a country code on the whitelist is specified. Thoughts? --Elegie (talk) 10:57, 22 January 2017 (UTC)

In this sandbox revision, I have put together an enhanced version of the template. This enhanced version automatically handles the situation where the  parameter is a two-character country code for one of the country-specific Amazon sites listed under Amazon.com. (Depending on the specific country code, the template may add .co or .com before the country code, so in each case, only the country code needs to be specified.) In addition, for most of the country codes and for the situation where no country code is specified, the enhanced version of the template uses HTTPS for the Amazon link. (The exception is that HTTPS is not used in the case of amazon.in, for India.) By doing this, users get increased privacy and security. Test cases for the original and sandbox versions of the template are available at Template:ASIN/testcases. --Elegie (talk) 08:24, 22 July 2017 (UTC)

Please adjust the template so that its content matches this sandbox revision. (View the diff between the template and the sandbox revision.) The purpose of this edit is to have the template automatically use HTTPS for Amazon links (in most cases) in order to provide increased privacy and security for users, and also to have the template automatically handle two-letter country extensions such as au or de (by adding .co or .com before the country extension as needed) for the country-specific Amazon sites listed under Amazon.com.

Note: When copying material within Wikipedia, the information at WP:Copying within Wikipedia may be relevant, particularly with regard to copyright licensing and attribution requirements. Thanks. Elegie (talk) 08:38, 24 July 2017 (UTC)
 * Yes check.svg Done GeoffreyT2000 (talk, contribs) 01:11, 27 July 2017 (UTC)

Template-protected edit request on 29 May 2024
United Kingdom is not the only Amazon country that precedes its TLD with ".co" (.co.uk), for Japan & South Africa also do the same (".co.jp" & ".co.za" respectively). Also, the current code does not take into account that some countries also precede their TLDs with ".com" (specifically, Australia, Belgium, Brazil, Mexico, & Turkey as ".com.au", ".com.be", ".com.br", ".com.mx", & ".com.tr" respectively). This can be done by changing -->/dp/ ]/dp/ ]it has begun... 03:10, 30 May 2024 (UTC)