User:Hamachi/Test page for Twitter Widget

From Tekkenpedia
Jump to: navigation, search

Original code from Twitter:
<a class="twitter-timeline" href="https://twitter.com/Harada_TEKKEN" data-widget-id="415834934696087552">Твиты пользователя @Harada_TEKKEN</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>

id=415834934696087552


{{widget:Twitter|user=harada_tekken|id=415834934696087552}}

Result:

<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/Harada_TEKKEN" data-widget-id="415834934696087552">Tweets by @Harada_TEKKEN</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>


With "#".
{{#widget:Twitter|user=harada_tekken|id=415834934696087552}}

Result:


{{#widget:Twitter|id=415834934696087552}}

Result:


{{widget:Twitter|id=415834934696087552}}

Result:

<a class="twitter-timeline" data-dnt="true" href="https://twitter.com/Harada_TEKKEN" data-widget-id="415834934696087552">Tweets by @Harada_TEKKEN</a> <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>