Widget:Twitter: Unterschied zwischen den Versionen

Aus QED-WIKI - Ein Berliner Mathe-WIKI von und für Schülerinnen und Schüler
Wechseln zu: Navigation, Suche
K (1 Version)
K (1 Version: UploadWizard)
 
(Eine dazwischenliegende Version von einem Benutzer wird nicht angezeigt)
Zeile 9: Zeile 9:
 
== 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 [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.
</noinclude><includeonly><!--{counter name="twittercounter" assign="twitblogincluded"}--><!--{if $twitblogincluded eq 1}--><script src="http://widgets.twimg.com/j/2/widget.js"></script><!--{/if}-->
+
</noinclude><includeonly><a class="twitter-timeline" href="" data-widget-id="<!--{$id|escape:'html'}-->"></a>
<script>
+
<!--{counter name="twittercounter" assign="twitblogincluded"}--><!--{if $twitblogincluded eq 1}--><script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script><!--{/if}--></includeonly>
new TWTR.Widget({
+
  version: 2,
+
  type: 'profile',
+
  rpp: '<!--{$count|escape:'quotes'|default:5}-->',
+
  interval: 6000,
+
  width: 250,
+
  height: 300,
+
  theme: {
+
    shell: {
+
      background: '#333333',
+
      color: '#ffffff'
+
    },
+
    tweets: {
+
      background: '#000000',
+
      color: '#ffffff',
+
      links: '#4aed05'
+
    }
+
  },
+
  features: {
+
    scrollbar: false,
+
    loop: false,
+
    live: false,
+
    hashtags: true,
+
    timestamp: true,
+
    avatars: false,
+
    behavior: 'all'
+
  }
+
}).render().setUser('<!--{$user|escape:'quotes'}-->').start();
+
</script></includeonly>
+

Aktuelle Version vom 8. Januar 2014, 19:39 Uhr

This widget allows you to embed a Twitter feed (HTML version) on your wiki page.

Created by Sergey Chernyshev

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 article.