Template:Amazonlinkimage: Difference between revisions

From WMDRock Library
No edit summary
fix amazon images
Line 1: Line 1:
{{ #if:{{{isbn|}}}|
{{#if: {{{isbn|}}} |
 
<html>
<html>
<iframe style="width:120px;height:240px;" marginwidth="0" marginheight="0" scrolling="no" frameborder="0" src="//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=wmdrock04-20&marketplace=amazon&region=US&placement=</html>{{{isbn}}}<html>&asins=</html>{{{isbn}}}<html>&linkId=7442f0605183e869aa924033b6383540&show_border=false&link_opens_in_new_window=false&price_color=333333&title_color=0066C0&bg_color=FFFFFF"></iframe>
<a href="https://www.amazon.com/dp/{{{isbn}}}?tag=wmdrock04-20" target="_blank" rel="noopener noreferrer">
</html>|
<img src="https://images-na.ssl-images-amazon.com/images/P/{{{isbn}}}.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>
 
|}}
<noinclude>
<noinclude>
==Usage==
==Usage==

Revision as of 09:56, 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]