Template:Amazonlinkimage: Difference between revisions
From WMDRock Library
No edit summary |
fix the way html tag is used |
||
| (6 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{ #if:{{{isbn|}}}| | {{#if: {{{isbn|}}} | | ||
<html> | |||
}}<noinclude> | <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 9: | 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]
