Difference between revisions of "Template:Product link"

From Atheism United
Jump to: navigation, search
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{{1}}}
+
<includeonly>{{#if:{{{2|}}}|<!--
 
+
-->[{{product url|{{{1}}}}} {{{2}}}]|<!--
{{{2}}}
+
-->[{{product url|{{{1}}}}}]}}</includeonly><noinclude>{{Documentation}}</noinclude>
[http://amazon.com/gp/product/B000CAPZBC?tag=httpwwwration-20 The God Who Wasn't There]
+
<nowiki>[{{amazon}}{{amazon product|{{{1}}}}}{{amazon ?tag}}{{#if:{{{2|}}}| {{{2}}}|}}]</nowiki><noinclude>{{Documentation}}</noinclude>
+

Latest revision as of 09:53, 5 November 2011

[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