« Widget:Twitter List » : différence entre les versions

De Le Wiki du Forum-Debian.fr
Aller à la navigation Aller à la recherche
Aucun résumé des modifications
Aucun résumé des modifications
 
Ligne 8 : Ligne 8 :


== 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.
To use this widget on your site, just install [https://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.
</noinclude><includeonly>
</noinclude><includeonly>
<script src="http://widgets.twimg.com/j/2/widget.js"></script>
<script src="https://widgets.twimg.com/j/2/widget.js"></script>
<script> new TWTR.Widget({  version: 2,  type: 'list',  rpp: 30,  interval: 6000,  title: '<!--{$title|escape:'quotes'}-->',  subject: '<!--{$subject|escape:'quotes'}-->',  width: '<!--{$width|escape:'quotes'}-->',  height: <!--{$height|escape:'quotes'}-->,  theme: {    shell: {      background: '<!--{$shell.background|escape:'quotes'|default:'#ffffff'}-->',      color: '<!--{$shell.color|escape:'quotes'|default:'#267811'}-->'    },    tweets: {      background: '<!--{$tweets.background|escape:'quotes'|default:'#ffffff'}-->',      color: '<!--{$tweets.color|escape:'quotes'|default:'#050005'}-->',      links: '<!--{$tweets.links|escape:'quotes'|default:'#407fc2'}-->'    }  },  features: {    scrollbar: true,    loop: false,    live: true,    hashtags: true,    timestamp: true,    avatars: true,    behavior: 'all'  } }).render().setList('<!--{$user|escape:'quotes'}-->', '<!--{$list|escape:'quotes'}-->').start(); </script></includeonly>
<script> new TWTR.Widget({  version: 2,  type: 'list',  rpp: 30,  interval: 6000,  title: '<!--{$title|escape:'quotes'}-->',  subject: '<!--{$subject|escape:'quotes'}-->',  width: '<!--{$width|escape:'quotes'}-->',  height: <!--{$height|escape:'quotes'}-->,  theme: {    shell: {      background: '<!--{$shell.background|escape:'quotes'|default:'#ffffff'}-->',      color: '<!--{$shell.color|escape:'quotes'|default:'#267811'}-->'    },    tweets: {      background: '<!--{$tweets.background|escape:'quotes'|default:'#ffffff'}-->',      color: '<!--{$tweets.color|escape:'quotes'|default:'#050005'}-->',      links: '<!--{$tweets.links|escape:'quotes'|default:'#407fc2'}-->'    }  },  features: {    scrollbar: true,    loop: false,    live: true,    hashtags: true,    timestamp: true,    avatars: true,    behavior: 'all'  } }).render().setList('<!--{$user|escape:'quotes'}-->', '<!--{$list|escape:'quotes'}-->').start(); </script></includeonly>

Dernière version du 14 août 2012 à 11:49

This widget allows you to display Twitter list widget on your wiki page.

Created by Joshua Lerner, courtesy of @r and SmallBusiness.com

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

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:Twitter List article.