Template:Amazonlinkimage: Difference between revisions

From WMDRock Library
m 1 revision imported: The+WMD+Library-20140908055058
fix the way html tag is used
 
(18 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{ #if:{{{isbn|}}}|
{{#if: {{{isbn|}}} |
<html><iframe src="http://rcm.amazon.com/e/cm?t=w0d44-20&o=1&p=8&l=as1&asins=</html>{{{isbn}}}<html>&fc1=000000&IS2=1&lt1=_blank&m=amazon&lc1=0000FF&bc1=FFFFFF&bg1=FFFFFF&f=ifr&nou=1" style="width:120px;height:240px;" scrolling="no" marginwidth="0" marginheight="0" frameborder="0"></iframe></html>|
 
}}<noinclude>
<html>
<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>
 
|}}
<noinclude>
==Usage==
==Usage==
Include the following text to use the template:
Include the following text to use the template:
Line 8: 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]