Widget:Tweet

From Complicit.Wiki
Jump to navigation Jump to search

This widget allows you to embed a tweet on your wiki page.

Created by Pablo Castellano.

COMPLICIT ADMIN NOTE:

Had to remove the styling options, they were causing JS errors that resulted in tweets not loading. See the edit history for where to place this content:

                align: <!--{if $align}-->'<!--{$align}-->'<!--{else}-->undefined<!--{/if}-->,
                conversation: '<!--{if $conversation}--><!--{$conversation}--><!--{else}-->all<!--{/if}-->',
                cards: '<!--{if $cards}--><!--{$cards}--><!--{else}-->visible<!--{/if}-->',
                width: <!--{if $width}-->'<!--{$width}-->'<!--{else}-->undefined<!--{/if}-->,
                linkColor: '<!--{if $linkColor}--><!--{$linkColor}--><!--{else}-->blue<!--{/if}-->',
                theme: '<!--{if $theme}--><!--{$theme}--><!--{else}-->light<!--{/if}-->'

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 the full source code of this page to your wiki as page Widget:Tweet.