Edge Rewrite
// request.cf · coarse context

A page that knows where it met you.

Only coarse request metadata is shown. This demo does not display or persist visitor IP addresses.

Country
US
Cloudflare location
CMH
Connection
HTTP/2
Language
Not provided

Ray ID: a237590cb9a84a3e

Jump to content

Template:ASIN/doc

From Wikipedia, the free encyclopedia

When to use

[edit]

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

[edit]

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

How to use

[edit]
{{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

[edit]
  • {{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

[edit]
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