Difference between revisions of "Template:ASIN/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Knife-in-the-drawer
(Set categories more accurately)
blackwiki>DexDor
(more specific parent category)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
  
 
== Usage ==
 
== Usage ==
Line 45: Line 45:
  
 
<includeonly>
 
<includeonly>
<!-- CATEGORIES AND INTERWIKIS BELOW THIS LINE PLEASE -->
 
 
[[Category:Catalog lookup templates]]
 
[[Category:Catalog lookup templates]]
[[Category:International Standard Book Number]]
+
[[Category:International Standard Book Number templates]]
 
 
[[it:Template:ASIN]]
 
 
</includeonly>
 
</includeonly>

Revision as of 05:36, 7 October 2015

Usage

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

The usage structure above is written for easy reading. Note that for some reason you can't use neither linebreaks nor spaces between the parameters.

If the ASIN begins with a number, it is a standard ISBN; please use "ISBN xxxxxxxxxx" instead of ASIN xxxxxxxxxxTemplate:Only in print, as this will allow us to link to other sites as well as Amazon.

Examples

  • {{ASIN|B00086U61Y}}
ASIN B00086U61YTemplate:Only in print
(note it uses amazon.com by default)
{{ASIN|B00086U61Y|title=Item's Title}}
ASIN B00086U61Y, Item's TitleTemplate:Only in print
  • Here's an item with a supplied date:
{{ASIN|B00086U61Y|date=2000-12-24}}
ASIN B00086U61Y (2000-12-24)Template:Only in print
  • 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)Template:Only in print
  • 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)Template:Only in print