Difference between revisions of "Widget:Twitter"

From ENTS
Jump to: navigation, search
 
(2 intermediate revisions by one user not shown)
Line 1: Line 1:
{{#Widget:Twitter
+
<includeonly><!--{counter name="twittercounter" assign="twitblogincluded"}--><!--{if $twitblogincluded eq 1}--><script src="http://widgets.twimg.com/j/2/widget.js"></script><!--{/if}-->
|user=perfplanet
+
<script>
|width=auto
+
new TWTR.Widget({
|count=10
+
  version: 2,
|scrollbar
+
  type: 'profile',
|poll
+
  rpp: '<!--{$count|escape:'quotes'|default:5}-->',
|tweets.color=#000000
+
  interval: 6000,
|tweets.background=#f2f2f2
+
  width: <!--{if $width eq 'auto'}-->'auto'<!--{else}--><!--{$width|escape:'quotes'|default:250|validate:int}--><!--{/if}-->,
|tweets.links=#107bb5
+
  height: <!--{$height|escape:'quotes'|default:300|validate:int}-->,
|shell.color=#000000
+
  theme: {
|shell.background=#b8b8b8
+
    shell: {
}}
+
      background: '<!--{$shell.background|escape:'quotes'|default:'#333333'}-->',
 +
      color: '<!--{$shell.color|escape:'quotes'|default:'#ffffff'}-->'
 +
    },
 +
    tweets: {
 +
      background: '<!--{$tweets.background|escape:'quotes'|default:'#000000'}-->',
 +
      color: '<!--{$tweets.color|escape:'quotes'|default:'#ffffff'}-->',
 +
      links: '<!--{$tweets.links|escape:'quotes'|default:'#4aed05'}-->'
 +
    }
 +
  },
 +
  features: {
 +
    scrollbar: <!--{if isset($scrollbar)}-->true<!--{else}-->false<!--{/if}-->,
 +
    loop: false,
 +
    live: <!--{if isset($poll)}-->true<!--{else}-->false<!--{/if}-->,
 +
    hashtags: true,
 +
    timestamp: true,
 +
    avatars: false,
 +
    behavior: 'all'
 +
  }
 +
}).render().setUser('<!--{$user|escape:'quotes'}-->').start();
 +
</script></includeonly>

Latest revision as of 14:27, 2 February 2013

Personal tools
Namespaces

Variants
Actions
Navigation
Members
Toolbox