Widget:Tweet: Difference between revisions
m Made width more versatile Tag: Reverted |
Tags: Undo Reverted |
||
Line 7: | Line 7: | ||
Replace <code>example</code> with the ID of the Tweet found in the URL. | Replace <code>example</code> with the ID of the Tweet found in the URL. | ||
</noinclude><includeonly><div <!--{if isset($float)}-->style="float: right; margin-bottom: 0.5em; margin-left: 1em; width: <!--{if isset($float)}--><!--{$width|escape:'html'|default:'440'}--><!--{else}--><!--{$width|escape:'html'|default:'550'}--><!--{/if}-->;"<!--{/if}-->><blockquote class="twitter-tweet" data-dnt="true"><a href="https://twitter.com/_/status/<!--{$id|escape:'urlpathinfo'}-->"></a></blockquote></div><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></includeonly> | </noinclude><includeonly><div <!--{if isset($float)}-->style="float: right; margin-bottom: 0.5em; margin-left: 1em; width: <!--{if isset($float)}--><!--{$width|escape:'html'|default:'440'}--><!--{else}--><!--{$width|escape:'html'|default:'550'}--><!--{/if}-->px;"<!--{/if}-->><blockquote class="twitter-tweet" data-dnt="true"><a href="https://twitter.com/_/status/<!--{$id|escape:'urlpathinfo'}-->"></a></blockquote></div><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></includeonly> |
Revision as of 06:35, 22 January 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.