Difference between revisions of "Template:Product link"

From Atheism United
Jump to: navigation, search
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
[{{amazon}}{{amazon product|{{{1}}}}}{{amazon ?tag}}{{#if:{{{2|}}}| {{{2}}}}}]<noinclude>{{Documentation}}</noinclude>
+
<includeonly>{{#if:{{{2|}}}|<!--
 +
-->[{{product url|{{{1}}}}} {{{2}}}]|<!--
 +
-->[{{product url|{{{1}}}}}]}}</includeonly><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