「:Twitter Search」の版間の差分

提供: Celestia DB
移動: 案内検索
(Twitter SearchWidget:Twitter Searchへ移動: まちがえた)
行9: 行9:
 
== Copy to your site ==
 
== 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 '''{{FULLPAGENAME}}''' 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 '''{{FULLPAGENAME}}''' article.
</noinclude><includeonly><!--{counter name="twittercounter" assign="twitblogincluded"}--><!--{if $twitblogincluded eq 1}--><script src="http://widgets.twimg.com/j/2/widget.js"></script><!--{/if}-->
+
</noinclude><includeonly><a class="twitter-timeline" href="https://twitter.com/search?q=celestia12+OR+cele12+OR+%E3%82%BB%E3%83%AC%E3%82%B9%E3%83%86%E3%82%A3%E3%82%A212+OR+%E3%82%BB%E3%83%AC12+OR+%E3%81%9B%E3%82%8C12+OR+celestia_pj+lang%3Aja"  data-widget-id="418379084561784833">celestia12 OR cele12 OR セレスティア12 OR セレ12 OR せれ12 OR celestia_pj lang:ja に関するツイート</a>
<script>
+
    <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>
new TWTR.Widget({
+
 
  version: 2,
+
</includeonly>
  type: 'search',
+
  search: '<!--{$query|escape:'quotes'}-->',
+
  interval: 6000,
+
  title: '<!--{$title|escape:'quotes'}-->',
+
  subject: '<!--{$caption|escape:'quotes'}-->',
+
  width: <!--{$width|default:250|validate:int}-->,
+
  height: <!--{$height|default:300|validate:int}-->,
+
  theme: {
+
    shell: {
+
      background: '<!--{$shell.background|escape:'quotes'|default:'#8ec1da'}-->',
+
      color: '<!--{$shell.color|escape:'quotes'|default:'#ffffff'}-->'
+
    },
+
    tweets: {
+
      background: '<!--{$tweets.background|escape:'quotes'|default:'#ffffff'}-->',
+
      color: '<!--{$tweets.color|escape:'quotes'|default:'#444444'}-->',
+
      links: '<!--{$tweets.links|escape:'quotes'|default:'#1985b5'}-->'
+
    }
+
  },
+
  features: {
+
    scrollbar: false,
+
    loop: true,
+
    live: true,
+
    hashtags: true,
+
    timestamp: true,
+
    avatars: true,
+
    behavior: 'default'
+
  }
+
}).render().start();
+
</script></includeonly>
+

2014年1月1日 (水) 23:08時点における版

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

Created by Sergey Chernyshev

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 :Twitter Search article.