Widget:Tweet: Difference between revisions

From Discourse DB
Jump to navigation Jump to search
m (Yaron Koren moved page WidgetTweet to Widget:Tweet without leaving a redirect)
No edit summary
Line 31: Line 31:
             "<!--{$id}-->",
             "<!--{$id}-->",
             document.getElementById("twitter-<!--{$tweetincluded}-->-<!--{$id}-->"),
             document.getElementById("twitter-<!--{$tweetincluded}-->-<!--{$id}-->"),
             {
             {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}-->'}
                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}-->'
            }
         );
         );
     });
     });

Revision as of 21:32, December 12, 2021

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

Created by Pablo Castellano.

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.