Widget:Tweet: Difference between revisions

Implemented float property
Testing a fix
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><span <!--{if isset($float)}-->style="float: right; margin-bottom: 0.5em; margin-left: 1em;"<!--{/if}-->><blockquote class="twitter-tweet" data-dnt="true" width="<!--{if isset($float)}--><!--{$width|escape:'html'|default:'440'}--><!--{else}--><!--{$width|escape:'html'|default:'550'}--><!--{/if}-->"><a href="https://twitter.com/_/status/<!--{$id|escape:'urlpathinfo'}-->"></a></blockquote></span><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;"<!--{/if}-->><blockquote class="twitter-tweet" data-dnt="true" width="<!--{if isset($float)}--><!--{$width|escape:'html'|default:'440'}--><!--{else}--><!--{$width|escape:'html'|default:'550'}--><!--{/if}-->"><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>