Difference between revisions of "Widget:Twitter"
Jump to navigation
Jump to search
(create page) |
m (t) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <noinclude>Syntax:<br/> | + | <noinclude>__NOTOC__ |
− | <code><nowiki>{{#widget:Twitter|user=wikispooks|id= | + | This widget allows you to embed a '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page. |
− | </noinclude><includeonly><a class="twitter-timeline" href="" data-widget-id="<!--{$id|escape:'html'}-->"></a> | + | |
− | <!--{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> | + | Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev] |
+ | |||
+ | Syntax:<br/> | ||
+ | <code><nowiki>{{#widget:Twitter|user=wikispooks|id=591165625340403712}}</nowiki></code> | ||
+ | |||
+ | Further information on widget usage at: [http://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org]. | ||
+ | </noinclude> | ||
+ | <includeonly><!--{if isset($id)}--><a class="twitter-timeline" href="" data-widget-id="<!--{$id|escape:'html'}-->"></a> | ||
+ | <!--{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}--><!--{else}--><b style="color:red">No id supplied for Twitter account!</b><!--{/if}--></includeonly> |
Latest revision as of 10:10, 24 July 2016
This widget allows you to embed a Twitter feed (HTML version) on your wiki page.
Created by Sergey Chernyshev
Syntax:
{{#widget:Twitter|user=wikispooks|id=591165625340403712}}
Further information on widget usage at: widget description page on MediaWikiWidgets.org.