Template:ASIN/doc

When to use

This is "an identifier of last resort". Almost any other identifier, such as {{ISBN}}, {{doi}}, {{OCLC}}, {{LCCN}}, etc., is a better choice and should be used instead of this one.

If the ASIN begins with a number, it is a standard ISBN; please use {{ISBN|xxxxxxxxxx}} and remove {{ASIN|xxxxxxxxxx}}, as this will allow us to link to other sites as well as Amazon.

Maintenance categories

After conversion, always check the resulting link to ensure that it links to the intended item.

How to use

{{ASIN
| asin_id_from_Amazon
| country=
| title=
| date=
}}

The usage structure above is written for easy reading. You must not have linebreaks or spaces between the parameters.

Examples

  • {{ASIN|B00086U61Y}}
ASIN B00086U61Y
(note it uses amazon.com by default)
  • Add country=uk/de/fr/etc., in order to use their local Amazon sites (the template adds .co or .com before the country code as needed, so only the country code itself needs to be specified):
    • {{ASIN|B000F8S4A0|country=uk}}
    ASIN B000F8S4A0
    (note this time it uses amazon.co.uk)
    • {{ASIN|B00M262M1A|country=fr}}
    ASIN B00M262M1A
    (note this time it uses amazon.fr)
  • And here's an item with a supplied title:
{{ASIN|B00086U61Y|title=Item's Title}}
ASIN B00086U61Y, Item's Title
  • Here's an item with a supplied date:
{{ASIN|B00086U61Y|date=2000-12-24}}
ASIN B00086U61Y (2000-12-24)
  • Here's an item with a supplied title and date:
{{ASIN| B00086U61Y|title=Item's Title|date=2000-12-24}}
ASIN B00086U61Y, Item's Title (2000-12-24)
  • Here's an item from the UK with a supplied title and date:
{{ASIN|B00086U61Y|country=uk|title=Item's Title|date=2000-12-24}}
ASIN B00086U61Y, Item's Title (2000-12-24)

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:ASIN in articles based on its TemplateData.

TemplateData for ASIN

Use this template to create a link (or list of links) to Amazon.com using an item's ASIN identifier.

Template parameters

ParameterDescriptionTypeStatus
ASIN1

ASIN identifier

Example
B00086U61Y
Stringrequired
Titletitle

Title of the item

Example
Example Book Title
Stringoptional
Country codecountry

country code to change the URL from .com to (e.g.) .co.uk

Example
uk
Stringoptional
Datedate

Date

Example
2020-12-14
Stringoptional


Content Disclaimer

Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.

  1. The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
  2. There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
  3. It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
  4. Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
  5. Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.