Widget:Adsense: Difference between revisions

From Elwiki
mNo edit summary
mNo edit summary
Line 1: Line 1:
<includeonly>
<!--{if !isset($wgAdsenseMain) || $wgAdsenseMain}-->
<!--{if !isset($wgAdsenseMain) || $wgAdsenseMain}-->
     <!--{assign var="wgAdsenseMain" value=true scope="global"}-->
     <!--{assign var="wgAdsenseMain" value=true scope="global"}-->
Line 16: Line 15:
     </style>
     </style>
<!--{/if}-->
<!--{/if}-->
</includeonly><span>1111<!--{$wgAdsenseMain|default='red'}--></span>
<div class="googleadsense main">
<div class="googleadsense main">
<!-- 2015-elwiki-front -->
<!-- 2015-elwiki-front -->
Line 22: Line 20:
     data-ad-slot="8989532814">
     data-ad-slot="8989532814">
</ins>
</ins>
</div><includeonly>
</div>
<!--{if !isset($wgAdsense) || !$wgAdsense}-->
<!--{if !isset($wgAdsense) || !$wgAdsense}-->
     <!--{assign var="wgAdsense" value=true scope="global">
     <!--{assign var="wgAdsense" value=true scope="global">
     <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
     <script>(adsbygoogle = window.adsbygoogle || []).push({});</script>
<!--{/if}--></includeonly>
<!--{/if}-->

Revision as of 23:40, 17 May 2015

   <style>

.googleadsense.main {

   float: right;
   padding: 3px;
   clear: both;

}

.googleadsense.main ins {

   display: inline-block;
   width: 336px;
   height: 280px;

}

   </style>