Difference between revisions of "Template:Twitter"

From CWCki
Jump to navigation Jump to search
(Added usage, recategorized as a userbox and broken template.)
(Making a Twitter nav template, hoping to slim down the Twitter article.)
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)}}}"
{{Navbox
|-
|title= [[Twitter]]
|<html><div id="twitter_div">
|name=Twitter
<h2 class="sidebar-title">Twitter Updates</h2>
 
<ul id="twitter_update_list"></ul>
|group1    = Twitter Posts
<a href="http://twitter.com/{{{username}}}" id="twitter-link" style="display:block;text-align:right;">follow me on Twitter</a>
|list1      = '''[[2009]]''': [[2009 Twitter Posts]]<br>'''[[2010]]''': [[January 2010 Twitter posts|January]] • [[February 2010 Twitter posts|February]] • [[March 2010 Twitter posts|March]] • [[July 2010 Twitter Posts|July]]  <br>'''[[2012]]''': [[April 2012 Twitter posts|April]] • [[May 2012 Twitter Posts|May]] • [[June 2012 Twitter Posts|June]] • [[July 2012 Twitter Posts|July]] • [[August 2012 Twitter Posts|August]] • [[September 2012 Twitter Posts|September]] • [[October 2012 Twitter Posts|October]] • [[November 2012 Twitter Posts|November]] • [[December 2012 Twitter Posts|December]]<br>'''[[2013]]''': [[January 2013 Twitter posts|January]] • [[February 2013 Twitter posts|February]] • [[March 2013 Twitter posts|March]] • [[April 2013 Twitter posts|April]] • [[May 2013 Twitter posts|May]] • [[June 2013 Twitter Posts|June]]  • [[August 2013 Twitter Posts|August]] <br>'''[[2016]]''': [[2016 Twitter Posts]]<br>'''[[2017]]''': [[January 2017 Twitter Posts|January]] • [[February 2017 Twitter Posts|February]] • [[March 2017 Twitter Posts|March]] • [[April 2017 Twitter posts|April]] • [[May 2017 Twitter posts|May]] • [[June 2017 Twitter posts|June]] • [[July 2017 Twitter posts|July]] • [[August 2017 Twitter posts|August]] • [[September 2017 Twitter posts|September]] • [[October 2017 Twitter posts|October]] • [[November 2017 Twitter posts|November]] • [[December 2017 Twitter posts|December]]<br>'''[[2018]]''': [[January 2018 Twitter Posts|January]] • [[February 2018 Twitter Posts|February]] • [[March 2018 Twitter Posts|March]] • [[April 2018 Twitter posts|April]] • [[May 2018 Twitter posts|May]] • [[June 2018 Twitter posts|June]] • [[July 2018 Twitter posts|July]] • [[August 2018 Twitter posts|August]] • [[September 2018 Twitter posts|September]] • [[October 2018 Twitter posts|October]] • [[November 2018 Twitter posts|November]] • [[December 2018 Twitter posts|December]]
</div>
<script type="text/javascript" src="http://twitter.com/javascripts/blogger.js"></script>
|group2    = Other Twitter Accounts
<script type="text/javascript" src="http://twitter.com/statuses/user_timeline/{{{username}}}.json?callback=twitterCallback2&amp;count=5"></script></html>
|list2      = [[NightStar]]
|}


<noinclude>{{clear}}{{usage|1=This is a sidebar userbox that provides a link to a user's Twitter account. The format for using this template is as follows:<br />


=== Example ===
<pre>{{twitter
|username = cogsdev
|border = #FFFFFF
|bg = #000000
|color = #FFFFFF
}}</pre>
=== Result ===
{{template:twitter
|username = cogsdev
|border = #FFFFFF
|bg = #000000
|color = #FFFFFF
}}
}}
{{clear}}
<noinclude>{{usage|1=This is a navigational template (navbox) for articles related to Chris's [[E-mails|e-mail]] correspondence. The format for using this template is as follows:<br />
okay, doesn't seem to work, leaving this here in case anyone wants to work on it
 
'''<nowiki>{{</nowiki>{{PAGENAME}}<nowiki>}}</nowiki>'''
 
- Displays:{{ {{PAGENAME}} }}
}}
}}


__NOTOC__
[[Category:Navigational templates|{{PAGENAME}}]]</noinclude>
[[Category:Userboxes|{{PAGENAME}}]][[Category: Broken Templates|{{PAGENAME}}]]</noinclude>

Revision as of 15:01, 3 February 2018

Usage

These usage notes will not be included in articles bearing this template.

This is a navigational template (navbox) for articles related to Chris's e-mail correspondence. The format for using this template is as follows:

{{Twitter}}

- Displays: