Difference between revisions of "Widget:AmazonLink"

From SolarSailWiki
Share/Save/Bookmark
Jump to: navigation, search
 
(One intermediate revision by one user not shown)
Line 10: Line 10:
 
== Copy to your site ==
 
== Copy to your site ==
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. Change the "tracking_id" to yours.
 
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article. Change the "tracking_id" to yours.
</noinclude><includeonly><div class="floatright"><iframe width="<!--{$width|escape:html|default:120}-->" height="<!--{$height|escape:html|default:240}-->" 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=sola06-20&marketplace=amazon&region=US&placement=<!--{$placement}-->&asins=<!--{$asins}-->&linkId=<!--{$linkid}-->&show_border=true&link_opens_in_new_window=true">
+
</noinclude><includeonly><iframe style="clear: right; float: right; margin: 10px 10px;" width="<!--{$width|escape:html|default:120px}-->" height="<!--{$height|escape:html|default: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=sola06-20&marketplace=amazon&region=US&placement=<!--{$placement}-->&asins=<!--{$asins}-->&linkId=<!--{$linkid}-->&show_border=true&link_opens_in_new_window=true">
</iframe></div></includeonly>
+
</iframe></includeonly>

Latest revision as of 17:33, 22 October 2014

This widget allows you to embed Amazon Affiliate links to products.

Created by Ben

Using this widget

This widget shouldn't be used on a publicly-editable wiki.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:AmazonLink article. Change the "tracking_id" to yours.