ASIN {{{1}}}, {{{title}}} ({{{date}}})
![]() | This is the template sandbox page for Template:ASIN (diff). See also the companion subpage for test cases. |
![]() | This template is used on approximately 5,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
When to use
editThis 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- Category:Articles using Template:ASIN with an all-numeric value (2,730): Articles in this category are likely to have ASIN templates that can be converted to:
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
editTemplateData for ASIN
Use this template to create a link (or list of links) to Amazon.com using an item's ASIN identifier.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ASIN | 1 | ASIN identifier
| String | required |
Title | title | Title of the item
| String | optional |
Country code | country | country code to change the URL from .com to (e.g.) .co.uk
| String | optional |
Date | date | Date
| String | optional |