Template:Twitter

From CWCki
Revision as of 10:38, 27 June 2009 by Cogsdev (talk | contribs) (just trying something out)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
<html>

    <a href="http://twitter.com/{{{username}}}" id="twitter-link" style="display:block;text-align:right;">follow me on Twitter</a>

    <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&count=5"></script></html>


    Usage

    Example

    {{twitter
    |username = cogsdev
    |border = #FFFFFF
    |bg = #000000
    |color = #FFFFFF
    }}

    Result

    <html>

      <a href="http://twitter.com/cogsdev" id="twitter-link" style="display:block;text-align:right;">follow me on Twitter</a>

      <script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script> <script type="text/javascript" src="http://twitter.com/statuses/user_timeline/cogsdev.json?callback=twitterCallback2&count=5"></script></html>


      Result

      Template loop detected: Template:Twitter