Widget:Tweet: Difference between revisions

From Citizendium
Jump to navigation Jump to search
mNo edit summary
(adding the usage details here)
Line 5: Line 5:


== Using this widget ==
== Using this widget ==
For information on how to use this widget, see [https://www.mediawikiwidgets.org/Tweet widget description page on MediaWikiWidgets.org].
For information on how to use this widget, see [https://www.mediawikiwidgets.org/Tweet widget description page on MediaWikiWidgets.org]. 
 
To insert this widget, use the following code:
 
<nowiki>{{#widget:Tweet
|id=226413520412090368
}}</nowiki>
 
You can use some parameters to customize the style of the tweet box, like:
 
<nowiki>{{#widget:Tweet
|id=226413520412090368
|linkColor=#cc0000
|theme=dark
}}</nowiki>
 
For more information about customization parameters, have a look at the Twitter documentation available at [https://dev.twitter.com/web/javascript/creating-widgets#create-tweet https://dev.twitter.com/web/javascript/creating-widgets#create-tweet].


== Copy to your site ==
== Copy to your site ==

Revision as of 11:21, 8 October 2022

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.

To insert this widget, use the following code:

{{#widget:Tweet
 |id=226413520412090368
}}

You can use some parameters to customize the style of the tweet box, like:

{{#widget:Tweet
 |id=226413520412090368
 |linkColor=#cc0000
 |theme=dark
}}

For more information about customization parameters, have a look at the Twitter documentation available at https://dev.twitter.com/web/javascript/creating-widgets#create-tweet.

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.