Widget:Twitter: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
<noinclude>This widget allows you to embed Twitter feeds and tweets. Accepted parameters: '''user''' or '''id''' (required), '''width''', '''height''', '''theme''' (may be set to 'dark').</noinclude><includeonly><!--{if isset($user)}--><a class="twitter-timeline" href="https://twitter.com/<!--{$user|escape:'url'}-->" data-width="<!--{$width|escape:'html'|default:'250'|string_format:"%d"}-->" data-height="<!--{$height|escape:'html'|default:'400'|string_format:"%d"}-->" data-theme="<!--{$theme|escape:'html'|default:'light'}-->">Tweets by <!--{$user|escape:'html'}--></a><script async src="https://platform.twitter.com/widgets.js"></script><!--{else if isset($id)}--><script type="text/javascript">
<noinclude>This widget allows you to embed Twitter feeds and tweets. Accepted parameters: '''user''' or '''id''' (required), '''width''', '''height''', '''theme''' (may be set to 'dark').</noinclude><includeonly><!--{if isset($user)}--><a class="twitter-timeline" href="https://twitter.com/<!--{$user|escape:'url'}-->?ref_src=twsrc%5Etfw" data-width="<!--{$width|escape:'html'|default:'250'|string_format:"%d"}-->" data-height="<!--{$height|escape:'html'|default:'400'|string_format:"%d"}-->" data-theme="<!--{$theme|escape:'html'|default:'light'}-->">Tweets by <!--{$user|escape:'html'}--></a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script><!--{else if isset($id)}--><script type="text/javascript">
function loadx(data) {
function loadx(data) {
document.write(data.html);
document.write(data.html);

Revision as of 10:54, August 29, 2023

This widget allows you to embed Twitter feeds and tweets. Accepted parameters: user or id (required), width, height, theme (may be set to 'dark').