Template:Amazonlinkimage: Difference between revisions
From WMDRock Library
No edit summary |
fix the way html tag is used |
||
| Line 1: | Line 1: | ||
{{#if: {{{isbn|}}} | | {{#if: {{{isbn|}}} | | ||
<html> | <html> | ||
<a href="https://www.amazon.com/dp/{{{isbn}}}?tag=wmdrock04-20" target="_blank" rel="noopener noreferrer"> | <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/{{{isbn}}}.01._SL250_.jpg" | <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);" | style="width:120px; height:auto; border:0; box-shadow: 0 2px 6px rgba(0,0,0,0.15);" | ||
alt="Book cover" /> | alt="Book cover" /> | ||
</a> | </a> | ||
</html> | </html> | ||
|}} | |}} | ||
<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]
