「:Tweet button」の版間の差分
提供: Celestia DB
行1: | 行1: | ||
+ | <noinclude>__NOTOC__ | ||
+ | This widget allows you to embed a '''[https://twitter.com/about/resources/tweetbutton Tweet button]''' on your wiki page. | ||
+ | |||
+ | Created by [http://www.mediawikiwidgets.org/User:Jeroen_De_Dauw Jeroen De Dauw] | ||
+ | |||
+ | == Using this widget == | ||
+ | For information on how to use this widget, see [http://www.mediawikiwidgets.org/Tweet_button widget description page on MediaWikiWidgets.org]. | ||
+ | |||
+ | ==Copy to your site== | ||
+ | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{PAGENAME}}''' article. | ||
+ | </noinclude><includeonly><a href="https://twitter.com/share" class="twitter-share-button" data-via="{{{tw|}}}" data-related="celestia_pj" data-hashtags="celestiaX">Tweet</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="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script></includeonly> | ||
+ | |||
+ | |||
+ | |||
+ | <!--- | ||
<noinclude>__NOTOC__ | <noinclude>__NOTOC__ | ||
This widget allows you to embed a '''[https://twitter.com/about/resources/tweetbutton Tweet button]''' on your wiki page. | This widget allows you to embed a '''[https://twitter.com/about/resources/tweetbutton Tweet button]''' on your wiki page. | ||
行10: | 行26: | ||
To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{PAGENAME}}''' article. | To use this widget on your site, just install [http://www.mediawiki.org/wiki/Extension:Widgets MediaWiki Widgets extension] and copy [{{fullurl:{{FULLPAGENAME}}|action=edit}} full source code] of this page to your wiki as '''{{PAGENAME}}''' article. | ||
</noinclude><includeonly><a href="http://twitter.com/share" class="twitter-share-button" data-hashtags="celestiaX" data-count="<!--{$data-count|default:'horizontal'|escape:'html'}-->" data-via="{{{tw|}}}" data-related="celestia_pj"><!--{$text|default:'Tweet'|escape:'html'}--></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></includeonly> | </noinclude><includeonly><a href="http://twitter.com/share" class="twitter-share-button" data-hashtags="celestiaX" data-count="<!--{$data-count|default:'horizontal'|escape:'html'}-->" data-via="{{{tw|}}}" data-related="celestia_pj"><!--{$text|default:'Tweet'|escape:'html'}--></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></includeonly> | ||
+ | ---> |
2018年12月21日 (金) 12:09時点における版
This widget allows you to embed a Tweet button on your wiki page.
Created by Jeroen De Dauw
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 full source code of this page to your wiki as Tweet button article.
" data-via="" data-related="celestia_pj"></a><script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script></includeonly>
--->