Difference between revisions of "Template:Twitter"

From CWCki
Jump to navigation Jump to search
m (Added documentation.)
("Template:Social media" would be a better name for the combined Facebook/Twitter template.)
Tag: New redirect
 
(15 intermediate revisions by 5 users not shown)
Line 1: Line 1:
{| class="wikitable" style="clear:right; float:right; width:220px; border: 1px solid {{{border|rgb(125, 106, 141)}}}; background-color: {{{bg|rgb(224, 190, 253)}}}; color: {{{color|rgb(0, 0, 0)}}}"
#REDIRECT[[Template:Social media]]
|-
|<html><div id="twitter_div">
<h2 class="sidebar-title">Twitter Updates</h2>
<ul id="twitter_update_list"></ul>
<a href="http://twitter.com/{{{username}}}" id="twitter-link" style="display:block;text-align:right;">follow me on Twitter</a>
</div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/{{{username}}}.json?callback=twitterCallback2&amp;count=5"></script></html>
|}
 
<noinclude>
== Usage ==
=== Example ===
<pre>{{twitter
|username = cogsdev
|border = #FFFFFF
|bg = #000000
|color = #FFFFFF
}}</pre>
=== Result ===
{{template:twitter
|username = cogsdev
|border = #FFFFFF
|bg = #000000
|color = #FFFFFF
}}
 
okay, doesn't seem to work, leaving this here incase anyone wants to work on it
 
__NOTOC__
</noinclude><noinclude>
{{documentation}}
</noinclude>

Latest revision as of 04:23, 4 October 2019