Widget:Tweet: Difference between revisions

From SMO.wiki
separate dark and light classes from tweet class
m →‎Example: change broken example
Line 23: Line 23:


=== Example ===
=== Example ===
{{#widget:Tweet|id = 874663921289797632}}
{{#widget:Tweet|id = 20}}
</noinclude>
</noinclude>

Revision as of 08:32, 31 July 2023


This widget allows you to add a Tweet card to your wiki page.

Using this widget

To insert this widget, use the following syntax: {{#widget:Tweet|id = example}}

Replace example with the ID of the Tweet found in the URL. You can also add the following optional parameters (separated using | symbols within the brackets):

  • width = W (replace W with the desired width in pixels)
  • float (places the video along the right side of the page, also changes the default width)

Example