Widget:Twitter: Unterschied zwischen den Versionen

Aus OGD Cockpit
Wechseln zu:Navigation, Suche
(Die Seite wurde neu angelegt: „{{Widget |author=Sergey Chernyshev |provider=Twitter |providerurl=http://twitter.com/goodies/widget_profile |addedon=04-08-2009 }} This widget allows you to ad…“)
 
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
{{Widget
<noinclude>__NOTOC__
|author=Sergey Chernyshev
This widget allows you to embed a '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page.
|provider=Twitter
|providerurl=http://twitter.com/goodies/widget_profile
|addedon=04-08-2009
}}
This widget allows you to add '''[http://twitter.com/about/resources/widgets/widget_profile Twitter profile widget]''' to your wiki page.


To insert this widget, use the following code:
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]


<nowiki>{{#widget:</nowiki>{{PAGENAME}}<nowiki>
== Using this widget ==
|user=perfplanet
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org].
|width=auto
|count=10
|scrollbar
|poll
|tweets.color=#000000
|tweets.background=#f2f2f2
|tweets.links=#107bb5
|shell.color=#000000
|shell.background=#b8b8b8
}}</nowiki>


== Parameters ==
== Copy to your site ==
* '''user''' - twitter user name
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.
* '''count''' - number of entries to return (defaults to 5, maximum is 30)
</noinclude><includeonly><a class="twitter-timeline" href="" data-widget-id="<!--{$id|escape:'html'}-->"></a>
* '''width''' - width in pixels or '''auto''' to fill the container (defaults to 250)
<!--{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>
* '''height''' - height in pixels (defaults to 300)
* '''scrollbar''' - if set, widget will display a scrollbar
* '''poll''' - if set, widget will load new tweets as they are posted
* Theme:
** '''shell.background''' - shell background color
** '''shell.color''' - shell text color
** '''tweets.background''' - tweet background color
** '''tweets.color''' - tweet text color
** '''tweets.links''' - links color
 
== Sample result ==
{{#widget:{{PAGENAME}}
|user=perfplanet
|width=auto
|count=10
|scrollbar
|poll
|tweets.color=#000000
|tweets.background=#f2f2f2
|tweets.links=#107bb5
|shell.color=#000000
|shell.background=#b8b8b8
}}
{{Comments}}

Aktuelle Version vom 9. September 2013, 12:14 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.