|
|
(28 intermediate revisions by 2 users not shown) |
Line 1: |
Line 1: |
| <noinclude>__NOTOC__ | | <nomobile> |
| This widget allows you to embed '''[//www.google.com/adsense/ AdSense ads]''' on your wiki page.
| | <div style="float:right;padding:3px;clear:both;"> |
|
| |
|
| Created by Ike Hecht for [//www.wikiworks.com WikiWorks].
| | <div id="AD-Elwiki-Widget-Main"></div> |
|
| |
|
| == Using this widget == | | <script type="text/javascript"> |
| For information on how to use this widget, see the [http://www.mediawikiwidgets.org/AdSense widget description page on MediaWikiWidgets.org].
| | window['nitroAds'].createAd('AD-Elwiki-Widget-Main', { |
| | | "refreshLimit": 10, |
| == Copy to your site ==
| | "refreshTime": 90, |
| To use this widget on your site, just install the [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{FULLPAGENAME}}''' article.
| | "renderVisibleOnly": false, |
| </noinclude><includeonly>{literal}
| | "refreshVisibleOnly": true, |
| <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
| | "sizes": [ |
| <!-- Elwiki bottom large rec -->
| | [ |
| <ins class="adsbygoogle"
| | "300", |
| style="display:inline-block;width:336px;height:280px"
| | "250" |
| data-ad-client="ca-pub-6118345385630775"
| | ] |
| data-ad-slot="4466807211"></ins>
| | ], |
| <script>
| | "report": { |
| (adsbygoogle = window.adsbygoogle || []).push({});
| | "enabled": true, |
| | | "wording": "Report Ad", |
| </script>{/literal} | | "position": "bottom-right" |
| </includeonly> | | } |
| | }); |
| | </script> |
| | </div> |
| | </nomobile> |