Difference between revisions of "Template:Product link"

From Atheism United
Jump to: navigation, search
Line 3: Line 3:
 
{{{2}}}
 
{{{2}}}
 
[http://amazon.com/gp/product/B000CAPZBC?tag=httpwwwration-20 The God Who Wasn't There]
 
[http://amazon.com/gp/product/B000CAPZBC?tag=httpwwwration-20 The God Who Wasn't There]
{{amazon}}{{amazon product|{{{1}}}}}{{amazon ?tag}}{{#if:{{{2|}}}| {{{2}}}|}}<noinclude>{{Documentation}}</noinclude>
+
{{amazon}}{{amazon product|{{{1}}}}}{{amazon ?tag}}{{#if:{{{2}}}|[{{amazon}}{{amazon product|{{{1}}}}}{{amazon ?tag}} {{{2}}}|[{{amazon}}{{amazon product|{{{1}}}}}{{amazon ?tag}}]}}<noinclude>{{Documentation}}</noinclude>

Revision as of 05:12, 5 November 2011

{{{1}}}

{{{2}}} The God Who Wasn't There

http://amazon.com/gp/product/{{{1}}}?tag=httpwwwration-20{{{2}}}
[[http://www.atheismunited.com/wikiedit/index.php?title=Template:Product_link/doc&action=edit edit] [purge] 50px Template documentation

Template:Product link

Note: Generally, one of the more specific versions of this template should be used, such as Template:Book link or Template:Movie link.

This template creates a link to a product, identified by the first parameter (e.g. an ISBN number), and an optional title specified by the second parameter.

Examples

  • {{product link|ABCDEFG}} produces [1]
  • {{product link|ABCDEFG|My ABC's}} produces My ABC's