Template:ASIN
missing ASIN
Adds a link to the Amazon shop to an ASIN (Amazon Standard Identification Number). Note: ASIN is an identifier of last resort. Preferred are ISBN, LCCN, and OCLC.
Usage
{{ASIN |1= |country= |title= |date= }}
If the Amazon Standard Identification Number (ASIN) begins with a number, it is a standard International Standard Book Number (ISBN); please use ISBN xxxxxxxxxx
instead of {{ASIN|xxxxxxxxxx}}.
Template parameters
- TemplateData
TemplateData is a way to store information about template parameters (the description of those and of the whole template) for both humans and machines. It is used by VisualEditor and possibly other tools like Upload Wizard.
Existing template documentation
At Wikimedia Commons, it is recommended to use {{TemplateBox}} with either useTemplateData=1
or useTemplateData=only
on the /doc
subpage and transcluding it with {{Documentation}} into the template. <nowiki>
-tags can be wrapped around the arguments, if required, to avoid templates being expanded.
Newly created template documentation and imports
Another option, especially for imported templates, or for users with JSON experience, is placing raw <templatedata>
-tags into the Wikitext of the template, as described in various Wikipediae.
Wikipedia's help about TemplateData • Commons-specific information
Adds a link to the Amazon shop to an ASIN (Amazon Standard Identification Number). Note: ASIN is an identifier of last resort. Preferred are ISBN, LCCN, and OCLC.
Parameter | Description | Type | Status | |
---|---|---|---|---|
ASIN | 1 | The ASIN (Amazon Standard Identification Number), i.e. B00086U61Y | Number | required |
Country | country 2 | First level domain of the Amazon shop URL. 'ja', 'uk' will be replaced with 'co.XX' and 'au', 'br', 'mx', 'sg', 'tr' will be replaced with 'com.XX'
| Line | optional |
Date | date 4 | Publishing date of the product at the Amazon shop in the format YYYY-MM-DD, i.e. 1932-01-01, 2001-04 oder 2022 | Date | optional |
Title | title 3 | Name of the product at the Amazon shop, i.e. History of Dartmouth College | String | optional |
Additional information
The template is intended to be used in the following namespaces: all namespaces
The template is intended to be used by the following user groups: all users
Relies on:
Examples
{{ASIN|B00086U61Y|country=com|title=Item's Title|date=2000-12-24}}
renders as:
ASIN B00086U61Y, Item's Title (24 December 2000)
{{ASIN|B00086U61Y}}
renders as:
Localization
This template is not intended to be localized.
Category:Templates not requiring internationalizationCategory:Commons templates