Difference between revisions of "Template:Product link"

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

{{{2}}}
[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