ผลต่างระหว่างรุ่นของ "Widget:Twitter timeline"

จาก Kancolle Wiki Thai 改三
ไปยังการนำทาง ไปยังการค้นหา
 
แถว 9: แถว 9:
 
== Copy to your site ==
 
== Copy to your site ==
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
 
To use this widget on your site, just install [https://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy the [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as page '''{{FULLPAGENAME}}'''.
</noinclude><includeonly><a class="twitter-timeline" href="https://twitter.com/<!--{$id}-->?ref_src=twsrc%5Etfw"></a>
+
</noinclude><includeonly><a class="twitter-timeline" data-lang="<!--{$lang}-->" data-width="<!--{$width}-->" data-height="<!--{$height}-->" data-theme="<!--{$theme}-->" data-link-color="<!--{$color}-->" href="https://twitter.com/<!--{$id}-->?ref_src=twsrc%5Etfw"></a>
 
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></includeonly>
 
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></includeonly>

รุ่นแก้ไขปัจจุบันเมื่อ 07:42, 1 พฤศจิกายน 2562

This widget allows you to embed a Twitter feed (HTML version) on your wiki page.

Originally created by Sergey Chernyshev. Updated code created by Emmanuel Engelhart (pulled from Phabricator: T207716)

Using this widget

For information on how to use this widget, see widget description page on MediaWikiWidgets.org.

Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy the full source code of this page to your wiki as page Widget:Twitter timeline.