Template:ASIN

missing ASIN

Template documentation[view · edit · history · purge]
This documentation is transcluded from Template:ASIN/doc.

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= }}

Warning ASIN is an identifier of last resort. Preferred are International Standard Book Number (ISBN, use ISBN xxxxxxxxxx), Library of Congress Control Number (LCCN, use {{LCCN ID}}), and OCLC, Inc. (OCLC, use {{OCLC}}).

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>JSON</templatedata> ./. {{TemplateBox}}
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 TemplateDataCommons-specific information

Category:Templates using TemplateData

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.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
ASIN1

The ASIN (Amazon Standard Identification Number), i.e. B00086U61Y

Numberrequired
Countrycountry 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'

Suggested values
ca cn co.jp co.uk com com.au com.br com.mx com.sg com.tr de eg es fr in it nl pl se
Default
com
Lineoptional
Datedate 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

Dateoptional
Titletitle 3

Name of the product at the Amazon shop, i.e. History of Dartmouth College

Stringoptional

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
Category:Commons templates Category:Templates not requiring internationalization Category:Templates using TemplateData