Template:Amazonlinkimage: Difference between revisions

From WMDRock Library
No edit summary
fix the way html tag is used
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ #if:{{{isbn|}}}|
{{#if: {{{isbn|}}} |
 
<html>
<html>
<p>{{{isbn}}}</p>
<a href="https://www.amazon.com/dp/</html>{{{isbn}}}<html>?tag=wmdrock04-20" target="_blank" rel="noopener noreferrer">
<img src="https://images-na.ssl-images-amazon.com/images/P/</html>{{{isbn}}}<html>.01._SL250_.jpg"
    style="width:120px; height:auto; border:0; box-shadow: 0 2px 6px rgba(0,0,0,0.15);"
    alt="Book cover" />
</a>
</html>


<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="http://ws-na.amazon-adsystem.com/widgets/q?ServiceVersion=20070822&OneJS=1&Operation=GetAdHtml&MarketPlace=US&source=ac&ref=tf_til&ad_type=product_link&tracking_id=wmdrock-20&marketplace=amazon&region=US&placement=1596985275
|}}
&asins=</html>{{{isbn}}}<html>&linkId=RM5WLFCPJLKCUIVQ&show_border=true&link_opens_in_new_window=true">
<noinclude>
</iframe></html>|
}}<noinclude>
==Usage==
==Usage==
Include the following text to use the template:
Include the following text to use the template:
Line 13: Line 17:
|isbn=
|isbn=
}}
}}
This is not included any longer:
[http://www.amazon.com/gp/product/{{{isbn}}}/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN={{{isbn}}}&linkCode=as2&tag=wmdrock-20&linkId=VZD7WDBNHQE2WCZC Amazon]
</pre>
</pre>
[[Category:Song Templates]]
[[Category:Song Templates]]
</noinclude>
</noinclude>

Latest revision as of 16:38, 27 June 2026


Usage

Include the following text to use the template:

{{Amazonlinkimage
|isbn=
}}

This is not included any longer:
[http://www.amazon.com/gp/product/{{{isbn}}}/ref=as_li_qf_sp_asin_il_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN={{{isbn}}}&linkCode=as2&tag=wmdrock-20&linkId=VZD7WDBNHQE2WCZC Amazon]