Widget:Twitter: Unterschied zwischen den Versionen
(Die Seite wurde neu angelegt: „<noinclude>__NOTOC__ This widget allows you to embed a '''[http://twitter.com/widgets/html_widget Twitter feed]''' (HTML version) on your wiki page. Created b…“) |
Keine Bearbeitungszusammenfassung |
||
(31 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. | ||
== Using this widget == | == Using this widget == | ||
To use this widget you can copy this short code to your page:<br /><br /> | |||
'''{{#widget:Twitter|id=353950675882885120|height=800}}'''<br /> | |||
id = data-widget-id from the twitter widget<br /> | |||
height = height of the container | |||
</noinclude> | |||
<includeonly> | |||
</noinclude><includeonly><!--{if isset($id)}--><a class="twitter-timeline" href="" data-widget-id="<!--{$id|escape:'html'}-->" | <!--{if isset($id)}--> | ||
<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}--> | |||
<b style="color:red">No widget id supplied for Twitter account!</b> | |||
<!--{/if}--> | |||
</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