Template:RightTOC: Difference between revisions

From OLPC
Jump to navigation Jump to search
(Started new.)
 
No edit summary
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{| cellspacing="0" cellpadding="0" style="clear:right; margin-bottom: .5em; float: right; padding: .5em 0 .8em 1.4em; background: none; width: {{{1|auto}}};"
<div style="float:right;padding:10px;"> __TOC__</div>
| __TOC__

|}
<noinclude>
<noinclude>
== Usage: ==
== Usage: ==

'''Notice:''' See [[Template:TOCright]] for another, more featured alternative.

''' <nowiki>{{RightTOC}}</nowiki> '''
''' <nowiki>{{RightTOC}}</nowiki> '''
* NAME: RightTOC
* NAME: RightTOC
* DESC: Put in the top of your page, and the table of contents will be placed on the right hand side of the page. This uses the 'dead and unused space' on most wiki pages. While at the same time, putting the first line of content at the top of the page. :)
* DESC: Put in the top of your page, and the table of contents will be placed on the right hand side of the page. This uses the 'dead and unused space' on most wiki pages. While at the same time, putting the first line of content at the top of the page. :)
* DATE: 2006-05-03. Started by [[User:IainDavidson]]
* DATE: 2006-05-03. Started by [[User:IainD]]
* Update: 2006-09-25, standardized across versions
* Update: 2006-09-25, standardized across versions
* Rev: 2008 01 16, added 'clear:both' to avoid collisions
* Latest rev: http://notes.homelinux.org/index.php?title=Template:RightTOC
* Latest rev: http://notes.homelinux.org/index.php?title=Template:RightTOC



Latest revision as of 21:17, 1 August 2010

Usage:

Notice: See Template:TOCright for another, more featured alternative.

  {{RightTOC}} 
  • NAME: RightTOC
  • DESC: Put in the top of your page, and the table of contents will be placed on the right hand side of the page. This uses the 'dead and unused space' on most wiki pages. While at the same time, putting the first line of content at the top of the page. :)
  • DATE: 2006-05-03. Started by User:IainD
  • Update: 2006-09-25, standardized across versions
  • Rev: 2008 01 16, added 'clear:both' to avoid collisions
  • Latest rev: http://notes.homelinux.org/index.php?title=Template:RightTOC