Widget:Tweet button

From The Sims Wiki, a collaborative database for The Sims series
Jump to navigation Jump to search

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

Created by Jeroen De Dauw

Using this widget[edit source]

This widget allows you to add a Twitter tweet button to your wiki page.

To insert this widget, use the following code:

{{#widget:Tweet button}}

Parameters[edit source]

All parameters are required. Each parameter is separated from the others by a new line, begun with a pipe symbol "|" (don't use spaces in the code). If you want to use the default values, then the only required parameter is profile.

  • text - The text on the tweet button. Default: Tweet.
  • via - related Twitter account to suggest
  • related - related Twitter account to suggest
  • count - How to display the tweet count: vertical, horizontal or none

Copy to your site[edit source]

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Tweet button article.