Actions

Template

Amazon: Difference between revisions

From HacDC Wiki

(Removed excess white space)
(Wrote documentation on how the template works)
 
Line 1: Line 1:
<noinclude>
<noinclude>
Generate a link to a book at Amazon, possible adding in a HacDC affiliate account if one is created.
= Generate a link to a book at Amazon =


Usage:
== Usage ==


   <nowiki>{{amazon|ASIN|Title}}</nowiki>
   <nowiki>{{amazon|ASIN|Title}}</nowiki>
Line 8: Line 8:
This will generate:
This will generate:


   <nowiki>[http://www.amazon.com/gp/product/ASIN TITLE]</nowiki>
   <nowiki>[http://www.amazon.com/dp/product/ASIN TITLE]</nowiki>


</noinclude><includeonly>[http://www.amazon.com/gp/product/{{{1|}}} {{{2|}}}]</includeonly>
== Affiliates ==
 
If HacDC gets an affiliate account, update the link below to add in ''<nowiki>?tag=HACDC-AMAZON-ID</nowiki>'' and all the links to Amazon products will generate revenue for the organization.
 
</noinclude><includeonly>[http://www.amazon.com/dp/product/{{{1|}}} {{{2|}}}]</includeonly>

Latest revision as of 22:06, 30 July 2008

Generate a link to a book at Amazon

Usage

 {{amazon|ASIN|Title}}

This will generate:

 [http://www.amazon.com/dp/product/ASIN TITLE]

Affiliates

If HacDC gets an affiliate account, update the link below to add in ?tag=HACDC-AMAZON-ID and all the links to Amazon products will generate revenue for the organization.