literapedia bern
Das Lexikon der Berner Schriftstellerinnen
und Schriftsteller

Widget:Twitter: Unterschied zwischen den Versionen

Aus literapedia bern
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
 
(29 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 1: Zeile 1:
<noinclude>__NOTOC__
<noinclude>__NOTOC__
This widget allows you to embed a '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page.
This widget allows you to embed a '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page.
Created by [http://www.mediawikiwidgets.org/User:Sergey_Chernyshev Sergey Chernyshev]


== Using this widget ==
== Using this widget ==
For information on how to use this widget, see [http://www.mediawikiwidgets.org/Twitter widget description page on MediaWikiWidgets.org].
To use this widget you can copy this short code to your page:<br /><br />
'''&#123;&#123;#widget:Twitter|id=353950675882885120|height=800&#125;&#125;'''<br />
id = data-widget-id from the twitter widget<br />
height = height of the container


== 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}}'''.
</noinclude>
</noinclude>
<includeonly>
<includeonly>
   <!--{if isset($user)}-->
   <!--{if isset($id)}-->
     <a class="twitter-timeline" href="https://twitter.com/<!--{$user|escape:'html'}-->"></a>
     <a class="twitter-timeline" href="https://twitter.com" data-widget-id="<!--{$id|escape:'html'}-->" height="<!--{$height|default:'800'}-->"></a>
    <script async src="//platform.twitter.com/widgets.js" charset="utf-8"></script>
   <!--{else}-->
   <!--{else}-->
     <b style="color:red">No user supplied for Twitter account!</b>
     <b style="color:red">No widget id supplied for Twitter account!</b>
   <!--{/if}-->
   <!--{/if}-->
</includeonly>
</includeonly>

Aktuelle Version vom 3. Oktober 2016, 09:59 Uhr

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

Using this widget

To use this widget you can copy this short code to your page:

{{#widget:Twitter|id=353950675882885120|height=800}}
id = data-widget-id from the twitter widget
height = height of the container