Difference between revisions of "Widget:Twitter"
Jump to navigation
Jump to search
m (update) |
m (t) |
||
(One intermediate revision by the same user not shown) | |||
Line 9: | Line 9: | ||
Further information on widget usage at: [http://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org]. | Further information on widget usage at: [http://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org]. | ||
</noinclude> | </noinclude> | ||
− | <includeonly><a class="twitter-timeline" href="" data-widget-id="<!--{$id|escape:'html'}-->"></a> | + | <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}--></includeonly> | + | <!--{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.